From 5857e65f5f35a5f5c3bfeb7765e8078b6f9af7f0 Mon Sep 17 00:00:00 2001
From: shj <1790240199@qq.com>
Date: 星期四, 31 三月 2022 16:34:52 +0800
Subject: [PATCH] 自查

---
 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