解决营销系统订单列表表格选择框,页码改变选择框勾选未联动

This commit is contained in:
许红梅 2022-05-24 14:01:51 +08:00
parent 5dff5d016c
commit 2bade0b186
2 changed files with 6 additions and 7 deletions

View File

@ -420,9 +420,8 @@ export default class orderlist extends React.Component {
againinvestFn(e, row) {}
//清空
clearFn() {
this.setState({ selectiondata: [] })
this.setState({ allcheck: false })
this.setState({ itemcheck: false })
this.setState({ selectiondata: [],allcheck: false,itemcheck: false })
this.refs.orderList.allChecked(false)
}
//选择时间
@ -432,16 +431,15 @@ export default class orderlist extends React.Component {
}
//page
pageChange(e) {
this.setState({ page: e })
this.setState({ selectiondata: [] })
this.setState({ page: e,selectiondata: [] })
this.refs.orderList.allChecked(false)
setTimeout(() => {
this.getOrderFn()
}, 0)
}
//limit
countChange(e) {
this.setState({ page: 1, limit: e })
this.setState({ selectiondata: [] })
this.setState({ page: 1, limit: e,selectiondata: [] })
setTimeout(() => {
this.getOrderFn()
}, 0)
@ -659,6 +657,7 @@ export default class orderlist extends React.Component {
page={this.state.page}
countbarVisible={false}
isSwitch={false}
ref="orderList"
maxheight={this.state.tableHeight}
pageChange={(e) => {
this.pageChange(e)

Binary file not shown.