Browse Source

修改应急预案的必填信息标注

wang_xy 2 years ago
parent
commit
7692bfceea
1 changed files with 10 additions and 0 deletions
  1. 10 0
      src/views/eventdetailsdialog.vue

+ 10 - 0
src/views/eventdetailsdialog.vue

@@ -1694,6 +1694,16 @@ export default {
               that.$message.error(`请选择部门!`)
               return
             }
+            if (eventStatus == 'qs') {
+              if (that.sendHuoZaiBanJing == '' || that.sendHuoZaiBanJing == null) {
+                that.$message.error(`请输入火灾半径!`)
+                return
+              }
+              if (that.sendEventType == '' || that.sendEventType == null) {
+                that.$message.error(`请选择事件类型!`)
+                return
+              }
+            }
           } else {
             that.sendDeptId = that.deptId
           }