From af4fcb7aad76ec88a33ffb57a18356db441535d7 Mon Sep 17 00:00:00 2001
From: shj <1790240199@qq.com>
Date: 星期四, 31 三月 2022 17:07:40 +0800
Subject: [PATCH] 自查清单

---
 src/views/safetyproduction/gojudging.vue     |    3 ---
 src/views/safetyproduction/checklistself.vue |    2 --
 src/views/safetyproduction/feature.vue       |    2 --
 src/views/safetyproduction/reviewXG.vue      |    1 -
 src/views/safetyproduction/review.vue        |    1 -
 src/views/safetyproduction/new.vue           |    5 +----
 src/views/safetyproduction/checklist.vue     |    4 ----
 7 files changed, 1 insertions(+), 17 deletions(-)

diff --git a/src/views/safetyproduction/checklist.vue b/src/views/safetyproduction/checklist.vue
index 6cf3e28..64deeee 100644
--- a/src/views/safetyproduction/checklist.vue
+++ b/src/views/safetyproduction/checklist.vue
@@ -357,15 +357,12 @@
       },
     beforTree() {
       safetyInspectionItemTree().then((res) => {
-        console.log(res);
         this.tree = res.data.result;
       });
     },
     safetyInspectionItemL(data) {
-      // console.log(data)
       this.listQuery.filter.elementB = data.value;
       safetyInspectionItemList(this.listQuery).then((res) => {
-        // console.log(res.data.result.records);
         this.list = res.data.result.records;
       });
     },
@@ -386,7 +383,6 @@
       } else {
         this.disabled = true;
         var i = this.list.findIndex((item) => item.id == id);
-        console.log(id);
         this.form = this.list[i];
       }
     },
diff --git a/src/views/safetyproduction/checklistself.vue b/src/views/safetyproduction/checklistself.vue
index ecde465..dc7b8f3 100644
--- a/src/views/safetyproduction/checklistself.vue
+++ b/src/views/safetyproduction/checklistself.vue
@@ -120,7 +120,6 @@
     async safetySelfInspectionL() {
       var res = await safetySelfInspectionList(this.listQuery).then((res) => {
         if (res.data.code == 200) {
-          console.log(res.data);
           this.list = res.data.result.records;
           this.recordTotal = res.data.result.total;
           this.pageSize = res.data.result.size;
@@ -129,7 +128,6 @@
       });
     },
     handleClick(val) {
-      console.log(val)
      if(val.status==-1){
         this.$router.push({
         path:"/new",
diff --git a/src/views/safetyproduction/feature.vue b/src/views/safetyproduction/feature.vue
index 6dbb6e0..8d8acf4 100644
--- a/src/views/safetyproduction/feature.vue
+++ b/src/views/safetyproduction/feature.vue
@@ -209,7 +209,6 @@
   methods: {
     async elementManagementL() {
       var res = await elementManagementList(this.listQuery);
-      console.log(res);
       if (res.data.code == 200) {
         this.list = res.data.result.records;
          this.recordTotal = res.data.result.total
@@ -223,7 +222,6 @@
         this.$refs["form"].clearValidate();
       });
        getParentElement().then(res=>{
-          // console.log('父类:',res)
           this.parent=res.data.result
         })
       if (type == "新增") {
diff --git a/src/views/safetyproduction/gojudging.vue b/src/views/safetyproduction/gojudging.vue
index ef0c5e1..1f376a2 100644
--- a/src/views/safetyproduction/gojudging.vue
+++ b/src/views/safetyproduction/gojudging.vue
@@ -124,14 +124,12 @@
   methods: {
     safeInitem(id) {
       safetySelfInspectionInfo({ id: id }).then((res) => {
-        // console.log("数据", res);
         if (res.data.code == 200) this.list = res.data.result;
         var arr = this.checkSameDataA(this.list.itemList);
         for (var i = 0; i < arr.length; i++) {
           arr[i].child = this.checkSameData(arr[i].child);
         }
         this.lists = arr;
-        console.log(this.lists)
       });
     },
     checkSameDataA(resData) {
@@ -165,7 +163,6 @@
       return list;
     },
     handleClick(data) {
-      console.log(data.id);
       this.$router.push({
         path: "/review",
         query: {
diff --git a/src/views/safetyproduction/new.vue b/src/views/safetyproduction/new.vue
index 91e648f..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
@@ -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);
         }
       });
     },
diff --git a/src/views/safetyproduction/review.vue b/src/views/safetyproduction/review.vue
index 7d1c1d7..80d9bdc 100644
--- a/src/views/safetyproduction/review.vue
+++ b/src/views/safetyproduction/review.vue
@@ -286,7 +286,6 @@
     handleClick(data) {
       this.dialogVisible = true;
       this.form = data;
-      console.log(data);
     },
     lost() {
       this.dialogVisible = false;
diff --git a/src/views/safetyproduction/reviewXG.vue b/src/views/safetyproduction/reviewXG.vue
index 7fa0f75..572ea86 100644
--- a/src/views/safetyproduction/reviewXG.vue
+++ b/src/views/safetyproduction/reviewXG.vue
@@ -251,7 +251,6 @@
     },
        safetyInspectionItemA() {
         safetyInspectionItemMod(this.form).then((res) => {
-          console.log(res)
           if (res.data.code == 200) {
             this.$notify({
               type: "success",

--
Gitblit v1.9.2