| | |
| | | width="50" |
| | | label="序号" |
| | | prop="RowNum" |
| | | fixed |
| | | /> |
| | | <el-table-column |
| | | prop="code" |
| | |
| | | <el-table-column |
| | | width="50" |
| | | label="序号" |
| | | fixed |
| | | prop="RowNum" |
| | | /> |
| | | <el-table-column |
| | |
| | | import Pagination from '@/components/Pagination' |
| | | import { |
| | | AddUpdateDeviceGroup, AddUpdateDeviceManger, |
| | | AddUpdateDeviceType, DeleteDeviceManger, DeleteDeviceType, |
| | | AddUpdateDeviceType, DeleteDeviceGroup, DeleteDeviceManger, DeleteDeviceType, |
| | | DeviceGroupSearch, |
| | | DeviceMangerSearch, |
| | | DeviceTypeSearch, |
| | |
| | | DeleteDeviceManger({ devicecode: row.code }).then(res => { |
| | | if (res.code === '200') { |
| | | this.$message.success('删除成功!') |
| | | if (this.form.page > 1 && this.tableData.length === 1) { |
| | | this.form.page-- |
| | | } |
| | | this.getDeviceMangerSearch() |
| | | } |
| | | }) |
| | |
| | | DeleteDeviceType({ devicetypecode: row.code }).then(res => { |
| | | if (res.code === '200') { |
| | | this.$message.success('删除成功!') |
| | | if (this.formDeviceType.page > 1 && this.DeviceTypeArray.length === 1) { |
| | | this.formDeviceType.page-- |
| | | } |
| | | this.getDeviceTypeSearchDialog() |
| | | } |
| | | }) |
| | |
| | | DeleteDeviceGroup({ devicegroupcode: row.code }).then(res => { |
| | | if (res.code === '200') { |
| | | this.$message.success('删除成功!') |
| | | if (this.formDeviceGroup.page > 1 && this.DeviceGroupArray.length === 1) { |
| | | this.formDeviceGroup.page-- |
| | | } |
| | | this.getDeviceGroupSearchDialog() |
| | | } |
| | | }) |