| | |
| | | import { getCookie } from '@/utils/auth' |
| | | |
| | | export default { |
| | | name: 'SBQD', |
| | | name: 'DeviceList', |
| | | components: { |
| | | Pagination, ImportPicker, TableColumnSettings |
| | | }, |
| | |
| | | async edit(operation, row) { |
| | | this.operation = operation |
| | | this.dialogVisible = true |
| | | await this.devicetypecodeChange(row.eqptype_code) |
| | | // await this.devicetypecodeChange(row.eqptype_code) |
| | | await this.workshopcodeChange(row.wksp_code) |
| | | this.$nextTick(() => { |
| | | this.dialogForm.id = row.id |
| | |
| | | this.DeviceGroupArray.splice(index, 1) |
| | | } |
| | | }) |
| | | if (this.form.DeviceType !== '') { |
| | | this.deviceTypeChange(this.form.DeviceType) |
| | | } |
| | | // if (this.form.DeviceType !== '') { |
| | | // this.deviceTypeChange(this.form.DeviceType) |
| | | // } |
| | | }, |
| | | // 新增 |
| | | addDeviceGroup() { |