Browse Source

违规事件通知/违规处理二选一

gzb
guozhongbo 7 months ago
parent
commit
db7a333042

+ 2
- 2
src/views/schoolSection/strategy/personalStrategy.vue View File

752
         }
752
         }
753
         //违规处理选项
753
         //违规处理选项
754
         for (let item of padViolates) {
754
         for (let item of padViolates) {
755
-          if (!item.handleMethod) {
756
-            this.$Message.error("请选择违规处理!");
755
+          if (!item.handleMethod && item.noticed === 0) {
756
+            this.$Message.error("请选择通知/违规处理!");
757
             return;
757
             return;
758
           }
758
           }
759
         }
759
         }

+ 2
- 2
src/views/schoolSection/strategy/publicStrategy.vue View File

625
         }
625
         }
626
         //违规处理选项
626
         //违规处理选项
627
         for (let item of padViolates) {
627
         for (let item of padViolates) {
628
-          if (!item.handleMethod) {
629
-            this.$Message.error("请选择违规处理!");
628
+          if (!item.handleMethod && item.noticed === 0) {
629
+            this.$Message.error("请选择通知/违规处理!");
630
             return;
630
             return;
631
           }
631
           }
632
         }
632
         }

+ 2
- 2
src/views/schoolSection/strategy/strategyTemplate.vue View File

625
         }
625
         }
626
         //违规处理选项
626
         //违规处理选项
627
         for (let item of padViolates) {
627
         for (let item of padViolates) {
628
-          if (!item.handleMethod) {
629
-            this.$Message.error("请选择违规处理!");
628
+          if (!item.handleMethod && item.noticed === 0) {
629
+            this.$Message.error("请选择通知/违规处理!");
630
             return;
630
             return;
631
           }
631
           }
632
         }
632
         }

Loading…
Cancel
Save