魏超 5 年 前
コミット
72c5c09c45

+ 2
- 1
src/pages/customer/customerlist/components/BatchAssistConsultant.jsx ファイルの表示

@@ -90,8 +90,9 @@ class ModalAttribution extends React.Component {
90 90
    // 分页
91 91
   onChange(pageNum) {
92 92
     console.log(this.state.visibleData.buildingName,"222222222222222222222222")
93
+    this.getList({ pageNumber: pageNum, pageSize: 5, buildingId: this.state.visibleData.buildingName ||this.props.visibleData.buildingId})
93 94
 
94
-    this.getUserList({ pageNumber: pageNum, pageSize: 5, buildingId: this.state.visibleData.buildingName })
95
+    // this.getUserList({ pageNumber: pageNum, pageSize: 5, buildingId: this.state.visibleData.buildingName })
95 96
   }
96 97
 
97 98
   // 提交

+ 1
- 1
src/pages/customer/customerlist/components/assistConsultant.jsx ファイルの表示

@@ -87,7 +87,7 @@ class ModalAttribution extends React.Component {
87 87
 
88 88
    // 分页
89 89
   onChange(pageNum) {
90
-    this.getList({ pageNumber: pageNum, pageSize: 5, buildingId: this.state.visibleData.buildingName })
90
+    this.getList({ pageNumber: pageNum, pageSize: 5, customerId: this.props.visibleData.customerId, buildingId: this.state.visibleData.buildingName ||this.props.visibleData.buildingId})
91 91
   }
92 92
 
93 93
   // 提交