Browse Source

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

wang_xy 2 năm trước cách đây
mục cha
commit
7692bfceea
1 tập tin đã thay đổi với 10 bổ sung0 xóa
  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
           }