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]; } },