From 1b3b9e0bb02144949c49702d27884ad0d6b3e7e2 Mon Sep 17 00:00:00 2001
From: songhuangfeng123 <shf18767906695@163.com>
Date: 星期四, 31 三月 2022 16:46:10 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/shf' into shf

---
 src/views/safetyproduction/review.vue |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/views/safetyproduction/review.vue b/src/views/safetyproduction/review.vue
index 9539081..7d1c1d7 100644
--- a/src/views/safetyproduction/review.vue
+++ b/src/views/safetyproduction/review.vue
@@ -250,6 +250,7 @@
       });
     },
     modItem() {
+      if(this.list.safetyInspectionItemResult!=null){
       safetySelfInspectionModItemInfo(this.list).then((res) => {
         if (res.data.code == 200) {
           this.$notify({
@@ -266,6 +267,13 @@
           });
         }
       });
+      }else{
+          this.$confirm('是否否决项未选择','提示', {
+            confirmButtonText: '确认',
+            cancelButtonText: '取消',
+            type: 'warning'
+        })
+      }
     },
     back() {
       this.$router.push({

--
Gitblit v1.9.2