Pārlūkot izejas kodu

表iot_device_diagnose_threshold添加thresholdId字段

humingshi-7@163.com 11 mēneši atpakaļ
vecāks
revīzija
01f39b9446

+ 2 - 0
src/views/iot/diagnoseThreshold/dialog.addThreshold.vue

@@ -100,6 +100,7 @@ export default {
     ...mapMutations([]),
     reset() {
       return {
+        thresholdId: null,
         thresholdCode: null,
         thresholdName: null,
         timeRange: ['00:00:00', '23:59:59'],
@@ -112,6 +113,7 @@ export default {
       this.isEdit=false;
       if (param.thresholdCode){
         this.formData = {
+                thresholdId: param.thresholdId,
                 thresholdCode: param.thresholdCode,
                 thresholdName: param.thresholdName,
                 timeRange: [param.beginTime,param.endTime],