Pārlūkot izejas kodu

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

魏超 5 gadus atpakaļ
vecāks
revīzija
163827cf29

+ 7
- 6
src/global.less Parādīt failu

@@ -10,12 +10,6 @@ body,
10 10
   filter: invert(80%);
11 11
 }
12 12
 
13
-.ant-layout {
14
-  min-height: 100vh;
15
-  background-color: #f8f8f8;
16
-  height: fit-content;
17
-}
18
-
19 13
 canvas {
20 14
   display: block;
21 15
 }
@@ -191,3 +185,10 @@ ol {
191 185
     border-top:none;
192 186
   }
193 187
 }
188
+:global {
189
+  .ant-layout {
190
+    min-height: 100vh;
191
+    background-color: #f8f8f8;
192
+    height: fit-content;
193
+  }  
194
+}

+ 1
- 1
src/pages/customer/customerlist/components/BatchAssistConsultant.jsx Parādīt failu

@@ -96,7 +96,7 @@ class ModalAttribution extends React.Component {
96 96
   // 提交
97 97
   submitGm(record) {
98 98
     // 网路请求
99
-    request({ ...apis.customer.batchConsultantAssist, data: { userId: record.userId, personIds: this.state.visibleData.customerId } }).then(res => {
99
+    request({ ...apis.customer.batchConsultantAssist, data: { userId: record.userId, customerIds: this.state.visibleData.customerId } }).then(res => {
100 100
       // eslint-disable-next-line no-unused-expressions
101 101
       this.openNotificationWithIcon('success', '操作成功')
102 102
       this.handleCancel()

+ 2
- 1
src/pages/statistical/consultant/index.jsx Parādīt failu

@@ -400,6 +400,7 @@ function record(props) {
400 400
     ]
401 401
     const list = data.records
402 402
     const _list = list && list.length > 0 ? [totalRow, ...list] : [];
403
+    let row = 0
403 404
     return (
404 405
 
405 406
         <>
@@ -454,7 +455,7 @@ function record(props) {
454 455
                     导出
455 456
                 </Button>
456 457
             </AuthButton>
457
-            <Table rowKey={(index => { index })}
458
+            <Table rowKey={record => data.current * data.size + (row++)}
458 459
                 style={{ marginTop: '30px' }}
459 460
                 dataSource={_list}
460 461
                 // dataSource={data.records}