Bläddra i källkod

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

JX.LI 2 år sedan
förälder
incheckning
bbacc839c8
2 ändrade filer med 10 tillägg och 2 borttagningar
  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)
             }
           })
         }