Преглед на файлове

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

JX.LI преди 2 години
родител
ревизия
bbacc839c8
променени са 2 файла, в които са добавени 10 реда и са изтрити 2 реда
  1. 5 1
      src/views/eventdetailsdialog.vue
  2. 5 1
      src/views/firespread.vue

+ 5 - 1
src/views/eventdetailsdialog.vue

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

+ 5 - 1
src/views/firespread.vue

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