heyang 2 년 전
부모
커밋
9736a192db
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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)