From 004f47fd155ebfb45d16def623c4ecb7fa0361e7 Mon Sep 17 00:00:00 2001
From: Kxc0822a <kxc000822>
Date: Thu, 31 Mar 2022 17:43:11 +0800
Subject: [PATCH] 重大
---
src/views/safetyproduction/checklist.vue | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/views/safetyproduction/checklist.vue b/src/views/safetyproduction/checklist.vue
index 6cf3e28..91e3c2b 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];
}
},
@@ -454,7 +450,7 @@
this.index = this.form.deductionList.findIndex(
(item) => item.name == val.name
);
- this.formInline = val;
+ this.formInline=JSON.parse(JSON.stringify(val));
}
},
listAdd() {
@@ -572,4 +568,4 @@
background-color: #034ea2;
border: 1px solid #034ea2;
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.9.2