王通 2 éve
szülő
commit
181394ea98
1 módosított fájl, 3 hozzáadás és 3 törlés
  1. 3 3
      src/views/eventdetailsdialog.vue

+ 3 - 3
src/views/eventdetailsdialog.vue

@@ -1516,7 +1516,7 @@ export default {
       this.sendDeptName = null
       this.sendUserFegin = []
       this.sendEventType = null
-      this.sendHuoZaiBanJing = null
+      this.sendHuoZaiBanJing = 0
       this.sendGuanLianYuAn = null
       this.longitude = null
       this.latitude = null
@@ -1539,7 +1539,7 @@ export default {
       this.sendDeptName = null
       this.sendUserFegin = []
       this.sendEventType = null
-      this.sendHuoZaiBanJing = null
+      this.sendHuoZaiBanJing = 0
       this.sendGuanLianYuAn = null
       this.sendTaskTitle = null
       this.sendTaskSource = null
@@ -1838,7 +1838,7 @@ export default {
               return
             }
             if (eventStatus == 'qs') {
-              if (that.sendHuoZaiBanJing == '' || that.sendHuoZaiBanJing == null) {
+              if (that.sendHuoZaiBanJing == '' || that.sendHuoZaiBanJing == 0) {
                 that.$message.error(`请输入火灾半径!`)
                 return
               }