浏览代码

事件签收Bug

qinhouyu 1 年之前
父节点
当前提交
88a9cae6cc
共有 1 个文件被更改,包括 10 次插入6 次删除
  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) {