qinhouyu 1 rok pred
rodič
commit
88a9cae6cc
1 zmenil súbory, kde vykonal 10 pridanie a 6 odobranie
  1. 10 6
      src/views/firespread.vue

+ 10 - 6
src/views/firespread.vue

@@ -2273,12 +2273,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) {