From f8cb4519363640a36cf5c5818f7f647ad13b507f Mon Sep 17 00:00:00 2001
From: lyfO_o <764716047@qq.com>
Date: 星期六, 02 四月 2022 10:29:24 +0800
Subject: [PATCH] Merge remote-tracking branch 'remotes/origin/shf' into master
---
src/views/safetyproduction/review.vue | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/src/views/safetyproduction/review.vue b/src/views/safetyproduction/review.vue
index 277f1b7..80d9bdc 100644
--- a/src/views/safetyproduction/review.vue
+++ b/src/views/safetyproduction/review.vue
@@ -132,7 +132,7 @@
</el-row>
<div
v-if="
- list.safetyInspectionItemResult == 0 ? false : true
+ list.safetyInspectionItemResult == 1
"
>
<el-row style="padding: 15px 1%">
@@ -198,7 +198,7 @@
</div>
</div>
- <el-dialog title="扣分详情" :visible.sync="dialogVisible" width="30%">
+ <el-dialog title="扣分详情" :visible.sync="dialogVisible" :close-on-click-modal="false" width="30%">
<el-form ref="form" :model="form" label-width="54px">
<el-form-item label="说明">
<el-input disabled="true" v-model="form.name"></el-input>
@@ -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({
@@ -278,7 +286,6 @@
handleClick(data) {
this.dialogVisible = true;
this.form = data;
- console.log(data);
},
lost() {
this.dialogVisible = false;
--
Gitblit v1.9.2