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