| | |
| | | :page.sync="form.page" |
| | | :limit.sync="form.rows" |
| | | align="right" |
| | | layout="prev, pager, next,sizes" |
| | | layout="total,prev, pager, next,sizes" |
| | | popper-class="select_bottom" |
| | | @pagination="getDeviceCheckStandArdSearch" |
| | | /> |
| | |
| | | DeleteDeviceCheckStaned({ checkstand_code: row.code }).then(res => { |
| | | if (res.code === '200') { |
| | | this.$message.success('删除成功!') |
| | | if (this.form.page > 1 && this.tableData.length === 1) { |
| | | this.form.page-- |
| | | } |
| | | this.getDeviceCheckStandArdSearch() |
| | | } |
| | | }) |
| | |
| | | this.dialogFormEqp.code = row.code |
| | | |
| | | const { data: res } = await DeviceCheckStanedAssociationEqp({ checkstand_code: row.code }) |
| | | this.dialogFormEqp.eqpAll = res |
| | | this.dialogFormEqp.eqpAll = res.filter(item => item.children.length > 0) |
| | | |
| | | if (this.dialogFormEqp.eqpAll.length > 0) { |
| | | this.dialogFormEqp.eqpAll.forEach((item, index) => { |