yusheng 4 주 전
부모
커밋
ab4dd97ccf
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/views/warning/warningSetting/components/addWarningDialog.vue

+ 2 - 1
src/views/warning/warningSetting/components/addWarningDialog.vue

@@ -458,7 +458,7 @@
           deviceId: '',
           deviceName: '',
           deviceCode: '',
-
+          iotId:'',
           name: '', // 告警名称
           generateDocumentType: null, // 是否生成保修工单
           description: '', // 告警描述
@@ -504,6 +504,7 @@
         this.baseInfoForm.deviceId = data.id;
         this.baseInfoForm.deviceName = data.name;
         this.baseInfoForm.deviceCode = data.code;
+        this.iotId== data.iotId;
         this.baseInfoForm.conditions = [];
         getPhysicalModel(data.id).then((res) => {
           this.temperatureList = res.properties;