zhangherong
2025-07-31 7b40ccf7afca3382a84fc2905078cec44aa5de7d
src/views/system/modules/SelectDeviceModal.vue
@@ -95,11 +95,11 @@
        visible: false,
        dataSource: [],
        //系统是否实施设备管理模块
        eamModuleFlag: true,
        eamModuleFlag: false,
      }
    },
    created() {
      this.loadEamSystemConfigValue();
      // this.loadEamSystemConfigValue();
      this.closeAll()
    },
    methods: {
@@ -190,14 +190,14 @@
        this.$emit('selectFinished', this.deviceNodes)
        this.visible = false
      },
      loadEamSystemConfigValue() {
        let params = {settingKey: 'has_eam_module'};
        getSystemConfigValue(params).then(res => {
          if (res.success) {
            this.eamModuleFlag = res.result.settingValue === '1'
          }
        })
      },
      // loadEamSystemConfigValue() {
      //   let params = {settingKey: 'has_eam_module'};
      //   getSystemConfigValue(params).then(res => {
      //     if (res.success) {
      //       this.eamModuleFlag = res.result.settingValue === '1'
      //     }
      //   })
      // },
    }
  }