浏览代码

修改事件弹窗点击误报/重复关闭弹窗

JX.LI 2 年之前
父节点
当前提交
162227c5d5
共有 2 个文件被更改,包括 10 次插入2 次删除
  1. 5 1
      src/views/eventdetailsdialog.vue
  2. 5 1
      src/views/firespread.vue

+ 5 - 1
src/views/eventdetailsdialog.vue

@@ -2188,11 +2188,15 @@ console.log(this.dutysystemTableData)
           updateCentereventTEventcatalogueStatus(param).then(res => {
           updateCentereventTEventcatalogueStatus(param).then(res => {
             if (res.code == 200) {
             if (res.code == 200) {
               that.$message.success(`处理成功!`)
               that.$message.success(`处理成功!`)
-              that.refreshEvent(that.eventCode)
               that.cancelEventConfirm_send()
               that.cancelEventConfirm_send()
               that.showEventConfirm = false
               that.showEventConfirm = false
               that.$emit('getEventList', that.calendarDay,10,1)
               that.$emit('getEventList', that.calendarDay,10,1)
               that.$emit('getSupermap', that.calendarDay)
               that.$emit('getSupermap', that.calendarDay)
+                if (eventStatus == "cf" || eventStatus == "wb") {
+                  this.eventDialog = false;
+                  return;
+                }
+              that.refreshEvent(that.eventCode)
             }
             }
           })
           })
         }
         }

+ 5 - 1
src/views/firespread.vue

@@ -2833,11 +2833,15 @@ export default {
           updateCentereventTEventcatalogueStatus(param).then(res => {
           updateCentereventTEventcatalogueStatus(param).then(res => {
             if (res.code == 200) {
             if (res.code == 200) {
               that.$message.success(`处理成功!`)
               that.$message.success(`处理成功!`)
-              that.refreshEvent(that.eventCode)
               that.cancelEventConfirm_send()
               that.cancelEventConfirm_send()
               that.showEventConfirm = false
               that.showEventConfirm = false
               that.$emit('getEventList', that.calendarDay,10,1)
               that.$emit('getEventList', that.calendarDay,10,1)
               that.$emit('getSupermap', that.calendarDay)
               that.$emit('getSupermap', that.calendarDay)
+                if (eventStatus == "cf" || eventStatus == "wb") {
+                  this.eventDialog = false;
+                  return;
+                }
+              that.refreshEvent(that.eventCode)
             }
             }
           })
           })
         }
         }