王通 2 سال پیش
والد
کامیت
7b13aa24db
2فایلهای تغییر یافته به همراه10 افزوده شده و 10 حذف شده
  1. 5 5
      src/views/eventdetailsdialog.vue
  2. 5 5
      src/views/firespread.vue

+ 5 - 5
src/views/eventdetailsdialog.vue

@@ -2093,11 +2093,11 @@ export default {
             }
           })
         } else {
-          if (eventStatus == 'qs' || eventStatus == 'wb' || eventStatus == 'cf') {
-            // if (that.sendDeptId == '' || that.sendDeptId == null || that.sendDeptName == '' || that.sendDeptName == null) {
-            //   that.$message.error(`请选择部门!`)
-            //   return
-            // }
+          if (eventStatus == 'qs') {
+            if (that.sendDeptId == '' || that.sendDeptId == null || that.sendDeptName == '' || that.sendDeptName == null) {
+              that.$message.error(`请选择部门!`)
+              return
+            }
             if (eventStatus == 'qs') {
               if (that.sendEventType == '' || that.sendEventType == null) {
                 that.$message.error(`请选择事件类型!`)

+ 5 - 5
src/views/firespread.vue

@@ -1937,11 +1937,11 @@ export default {
             }
           })
         } else {
-          if (eventStatus == 'qs' || eventStatus == 'wb' || eventStatus == 'cf') {
-            // if (that.sendDeptId == '' || that.sendDeptId == null || that.sendDeptName == '' || that.sendDeptName == null) {
-            //   that.$message.error(`请选择部门!`)
-            //   return
-            // }
+          if (eventStatus == 'qs') {
+            if (that.sendDeptId == '' || that.sendDeptId == null || that.sendDeptName == '' || that.sendDeptName == null) {
+              that.$message.error(`请选择部门!`)
+              return
+            }
             if (eventStatus == 'qs') {
               if (that.sendEventType == '' || that.sendEventType == null) {
                 that.$message.error(`请选择事件类型!`)