소스 검색

Merge branch 'dev' of http://git.ycjcjy.com/zhiyuxing/estateagents-admin-manager into dev

# Conflicts:
#	src/pages/activity/liveActivity/list/index.jsx
weichaochao 5 년 전
부모
커밋
5069af9a96
2개의 변경된 파일24개의 추가작업 그리고 3개의 파일을 삭제
  1. 13
    2
      src/pages/activity/liveActivity/list/index.jsx
  2. 11
    1
      src/pages/house/list/index.jsx

+ 13
- 2
src/pages/activity/liveActivity/list/index.jsx 파일 보기

@@ -155,6 +155,17 @@ const header = props => {
155 155
       align: 'center',
156 156
       render: (x, row) => <><span>{`${moment(row.updateDate).format('YYYY-MM-DD HH:mm:ss')}`}</span></>,
157 157
     },
158
+    {
159
+      title: '操作',
160
+      dataIndex: '',
161
+      key: '',
162
+      align: 'center',
163
+      render: (text, record) => (
164
+        <AuthButton name="admin.live.detail.get" noRight={null}>
165
+          <a style={{ color: '#66B3FF' }} onClick={toAddLive(record)} >查看详情</a>
166
+        </AuthButton>
167
+      ),
168
+    },
158 169
   ];
159 170
   const getSignList = dynamicId => {
160 171
     router.push({
@@ -251,10 +262,10 @@ const header = props => {
251 262
             </Button>
252 263
         </Form.Item>
253 264
       </Form>
254
-      <AuthButton name="admin.liveActivity.add.post" noRight={null}>
265
+      <AuthButton name="admin.live.add.post" noRight={null}>
255 266
         <Button type="danger" className={styles.addBtn} onClick={toAddLive()}>新增</Button>
256 267
       </AuthButton>
257
-      <AuthButton name="admin.liveActivity.del" noRight={null}>
268
+      <AuthButton name="admin.live.del" noRight={null}>
258 269
         <Button type="primary" className={styles.addBtn} onClick={toDelBatch()} style={{marginLeft:'30px'}}>删除</Button>
259 270
       </AuthButton>
260 271
       <Table rowSelection={rowSelection}

+ 11
- 1
src/pages/house/list/index.jsx 파일 보기

@@ -104,7 +104,6 @@ const header = props => {
104 104
       dataIndex: 'salesBatchName',
105 105
       key: 'salesBatchName',
106 106
       align: 'center',
107
-      render:  (x, row) => <><span style={{color: 'blue',cursor: 'pointer'}} onClick={toAddHouse(row)}>{row.salesBatchName}</span></>,
108 107
     },
109 108
     {
110 109
       title: '楼盘名称',
@@ -139,6 +138,17 @@ const header = props => {
139 138
       align: 'center',
140 139
       render: status => <><span>{status == 0 ? '否' : '是'}</span></>,
141 140
     },
141
+    {
142
+      title: '操作',
143
+      dataIndex: '',
144
+      key: '',
145
+      align: 'center',
146
+      render: (text, record) => (
147
+        <AuthButton name="admin.salesBatch.detail.get" noRight={null}>
148
+          <a style={{ color: '#66B3FF' }} onClick={toAddHouse(record)} >查看详情</a>
149
+        </AuthButton>
150
+      ),
151
+    },
142 152
   ];
143 153
   const getSignList = dynamicId => {
144 154
     router.push({