qinhouyu пре 1 година
родитељ
комит
1ec10a0e14
1 измењених фајлова са 10 додато и 6 уклоњено
  1. 10 6
      src/views/firespread.vue

+ 10 - 6
src/views/firespread.vue

@@ -2394,12 +2394,16 @@ export default {
           let param = {
             parentId: that.eventType
           }
-          await listSJfl(param).then(res => {
-            //事件类型
-            if (res.code == 200) {
-              that.eventTypeList = res.data
-            }
-          })
+          if (that.eventTypeXl != null) {
+            that.sendEventType = that.eventTypeXl;
+          } else {
+            await listSJfl(param).then((res) => {
+              //事件类型
+              if (res.code == 200) {
+                that.eventTypeList = res.data;
+              }
+            });
+          }
           await listYuAn().then(res => {
             //关联预案
             if (res.code == 200) {