From 06bc1fdbe81da9a723ad9ee1d3d6dd74025b9e18 Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: 星期五, 08 四月 2022 10:57:36 +0800
Subject: [PATCH] 'lct'

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

diff --git a/src/views/safetyproduction/review.vue b/src/views/safetyproduction/review.vue
index 1ff27b8..0af1751 100644
--- a/src/views/safetyproduction/review.vue
+++ b/src/views/safetyproduction/review.vue
@@ -290,6 +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() {

--
Gitblit v1.9.2