Ver código fonte

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

# Conflicts:
#	src/pages/activity/liveActivity/list/index.jsx
weichaochao 5 anos atrás
pai
commit
5069af9a96

+ 13
- 2
src/pages/activity/liveActivity/list/index.jsx Ver arquivo

155
       align: 'center',
155
       align: 'center',
156
       render: (x, row) => <><span>{`${moment(row.updateDate).format('YYYY-MM-DD HH:mm:ss')}`}</span></>,
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
   const getSignList = dynamicId => {
170
   const getSignList = dynamicId => {
160
     router.push({
171
     router.push({
251
             </Button>
262
             </Button>
252
         </Form.Item>
263
         </Form.Item>
253
       </Form>
264
       </Form>
254
-      <AuthButton name="admin.liveActivity.add.post" noRight={null}>
265
+      <AuthButton name="admin.live.add.post" noRight={null}>
255
         <Button type="danger" className={styles.addBtn} onClick={toAddLive()}>新增</Button>
266
         <Button type="danger" className={styles.addBtn} onClick={toAddLive()}>新增</Button>
256
       </AuthButton>
267
       </AuthButton>
257
-      <AuthButton name="admin.liveActivity.del" noRight={null}>
268
+      <AuthButton name="admin.live.del" noRight={null}>
258
         <Button type="primary" className={styles.addBtn} onClick={toDelBatch()} style={{marginLeft:'30px'}}>删除</Button>
269
         <Button type="primary" className={styles.addBtn} onClick={toDelBatch()} style={{marginLeft:'30px'}}>删除</Button>
259
       </AuthButton>
270
       </AuthButton>
260
       <Table rowSelection={rowSelection}
271
       <Table rowSelection={rowSelection}

+ 11
- 1
src/pages/house/list/index.jsx Ver arquivo

104
       dataIndex: 'salesBatchName',
104
       dataIndex: 'salesBatchName',
105
       key: 'salesBatchName',
105
       key: 'salesBatchName',
106
       align: 'center',
106
       align: 'center',
107
-      render:  (x, row) => <><span style={{color: 'blue',cursor: 'pointer'}} onClick={toAddHouse(row)}>{row.salesBatchName}</span></>,
108
     },
107
     },
109
     {
108
     {
110
       title: '楼盘名称',
109
       title: '楼盘名称',
139
       align: 'center',
138
       align: 'center',
140
       render: status => <><span>{status == 0 ? '否' : '是'}</span></>,
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
   const getSignList = dynamicId => {
153
   const getSignList = dynamicId => {
144
     router.push({
154
     router.push({