小小儁爺
2024-08-08 d20654ba067e5c0621d4d7d95915cbe47a10fe87
src/views/deviceManager/deviceList.vue
@@ -681,7 +681,7 @@
import { getCookie } from '@/utils/auth'
export default {
  name: 'SBQD',
  name: 'DeviceList',
  components: {
    Pagination, ImportPicker, TableColumnSettings
  },
@@ -1016,7 +1016,7 @@
    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
@@ -1247,9 +1247,9 @@
          this.DeviceGroupArray.splice(index, 1)
        }
      })
      if (this.form.DeviceType !== '') {
        this.deviceTypeChange(this.form.DeviceType)
      }
      // if (this.form.DeviceType !== '') {
      //   this.deviceTypeChange(this.form.DeviceType)
      // }
    },
    // 新增
    addDeviceGroup() {