heyang %!s(int64=2) %!d(string=hai) anos
pai
achega
9736a192db
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/views/emergencyManagement/plan/newAddPlan.vue

+ 2 - 0
src/views/emergencyManagement/plan/newAddPlan.vue

@@ -577,6 +577,8 @@
               text = text.replace(",","+")
               console.log(text);
               let obj = JSON.parse(JSON.stringify(this.dialogForm))
+              obj.riskAutoOff =Number(obj.riskAutoOff);
+              obj.alarmType =obj.alarmType.toString();
               obj.startCondition = text+'';
               planLevelPut(obj).then((response) => {
                 this.msgSuccess(response.msg)