| | |
| | | * @description 按钮操作完成后(成功或失败),页面刷新,重置页码及选择项 |
| | | */ |
| | | refreshbyaction = (btn, type) => { |
| | | const { Tab } = this.props |
| | | |
| | | if (btn.execSuccess === 'grid' && type === 'success') { |
| | | this.reloadtable() |
| | | } else if (btn.execError === 'grid' && type === 'error') { |
| | |
| | | this.reloadtable() |
| | | this.props.handleMainTable('equaltab') |
| | | } else if (btn.execSuccess === 'maingrid' && type === 'success') { |
| | | if (Tab.isTreeNode) { |
| | | this.reloadtable() |
| | | } |
| | | this.props.handleMainTable('maingrid') |
| | | } else if (btn.execSuccess === 'equaltab' && type === 'success') { |
| | | this.reloadtable() |