From c6f7a23452a0e2b2d930e7aeea7c263832b23c3b Mon Sep 17 00:00:00 2001
From: shj <1790240199@qq.com>
Date: Thu, 07 Apr 2022 16:07:20 +0800
Subject: [PATCH] 自查
---
src/views/safetyproduction/review.vue | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/views/safetyproduction/review.vue b/src/views/safetyproduction/review.vue
index 307f748..d6517a6 100644
--- a/src/views/safetyproduction/review.vue
+++ b/src/views/safetyproduction/review.vue
@@ -290,12 +290,16 @@
this.form=JSON.parse(JSON.stringify(data));
},
addC(){
+ if(this.form.point<=50){
for(let i = 0;i<this.list.selfDeductionList.length;i++){
if (this.form.id=this.list.selfDeductionList[i].id){
this.list.selfDeductionList[i].point = this.form.point
this.list.selfDeductionList[i].remark = this.form.remark
}
}
+ }else{
+ alert("扣分不得超过总分50")
+ }
this.dialogVisible = false;
},
lost() {
@@ -328,6 +332,8 @@
width: 100%;
background-color: white;
border-radius: 5px;
+ height: 850px;
+ overflow-y:overlay;
}
.box-right-content {
padding: 15px 0;
--
Gitblit v1.9.2