From 1bf2d719f6682616a909e062b33c6df18da8b293 Mon Sep 17 00:00:00 2001
From: shj <1790240199@qq.com>
Date: 星期三, 06 四月 2022 09:35:32 +0800
Subject: [PATCH] 背景色

---
 src/views/safetyproduction/checklist.vue |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/views/safetyproduction/checklist.vue b/src/views/safetyproduction/checklist.vue
index 91e3c2b..ac82020 100644
--- a/src/views/safetyproduction/checklist.vue
+++ b/src/views/safetyproduction/checklist.vue
@@ -435,9 +435,6 @@
       }
     },
     coAdd(val, type) {
-       this.$nextTick(() => {
-        this.$refs["form"].clearValidate();
-      });
       this.titleN = type;
       if (type == "新增") {
         this.dialogVisible = true;
@@ -452,6 +449,9 @@
         );
           this.formInline=JSON.parse(JSON.stringify(val));
       }
+        this.$nextTick(() => {
+            this.$refs["form"].clearValidate();
+        });
     },
     listAdd() {
         this.$refs["form"].validate((valid) => {
@@ -509,7 +509,7 @@
 }
 .box-left {
   width: 20%;
-  min-height: 800px;
+  min-height: 850px;
   background-color: white;
   border-radius: 5px;
 }
@@ -520,11 +520,15 @@
   width: 79%;
   background-color: rgb(223, 229, 235);
   border-radius: 5px;
+  height: 850px;
+  overflow-y:overlay;
 }
 .box-rights {
   width: 79%;
   background-color: #fff;
   border-radius: 5px;
+   height: 850px;
+  overflow-y:overlay;
 }
 .box-rightXQ {
   margin-bottom: 10px;

--
Gitblit v1.9.2