yusheng hai 3 semanas
pai
achega
ab4dd97ccf

+ 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;