| | |
| | | :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="getDeviceRepairStandArdSearch" |
| | | /> |
| | |
| | | item.isVisible = 0 |
| | | item.repairitem_code = item.code |
| | | item.repairitem_name = item.name |
| | | item.repairitem_descr = item.chkdesc |
| | | item.repairitem_descr = item.chk_desc |
| | | }) |
| | | |
| | | this.repairItemSelectArr = [...this.repairItemSelectArr].filter(x => [...this.tableDataDialog].every(y => y.repairitem_code !== x.code)) |
| | |
| | | DeleteDeviceRepairStaned({ repairstand_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.getDeviceRepairStandArdSearch() |
| | | } |
| | | }) |
| | |
| | | this.dialogFormEqp.code = row.code |
| | | |
| | | const { data: res } = await DeviceRepairStanedAssociationEqp({ repairstand_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) => { |