From e15c608b99fd18196496eb98f39c19da7f09a588 Mon Sep 17 00:00:00 2001
From: Kxc0822a <kxc000822>
Date: 星期五, 01 四月 2022 09:31:09 +0800
Subject: [PATCH] 重大

---
 src/views/safetyproduction/new.vue |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/views/safetyproduction/new.vue b/src/views/safetyproduction/new.vue
index d10d19c..0ab20d8 100644
--- a/src/views/safetyproduction/new.vue
+++ b/src/views/safetyproduction/new.vue
@@ -15,7 +15,7 @@
           ></el-tree>
         </div>
       </div>
-      <div class="box-right" v-if="list == '' ? false : true">
+      <div class="box-right" v-if="lists == '' ? false : true">
         <div class="btns">
           <el-button type="primary" class="btn" @click="open(0)"
             >添加</el-button
@@ -112,7 +112,7 @@
         </div>
       </div>
     </div>
-    <el-dialog title="添加" :visible.sync="dialogVisible" :close-on-click-modal="false" width="30%">
+    <el-dialog :title="id" :visible.sync="dialogVisible" :close-on-click-modal="false" width="30%">
       <el-form ref="form"  :rules="rules" :model="form" label-width="110px">
         <el-form-item label="自查清单名称" prop="name">
           <el-input v-model="form.inspectionName"></el-input>
@@ -224,7 +224,6 @@
       safetySelfInspectionInfo({ id: id }).then((res) => {
         if (res.data.code == 200) {
           this.form = res.data.result;
-          console.log(res.data.result);
           this.list = res.data.result;
           var trees = [];
           for (var i = 0; i < this.list.itemList.length; i++) {
@@ -244,11 +243,9 @@
               cser.push(capB)
               }
               arr[i].id=cser
-            console.log('tag', capB)
             arr[i].child = this.checkSameData(arr[i].child);
           }
           this.lists = arr;
-          console.log(this.lists);
         }
       });
     },

--
Gitblit v1.9.2