From ea20ca083f7e5a5d2ed7521f3a75209d4516f6c7 Mon Sep 17 00:00:00 2001
From: shj <1790240199@qq.com>
Date: Fri, 01 Apr 2022 16:09:33 +0800
Subject: [PATCH] 自查清单
---
src/views/safetyproduction/feature.vue | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/views/safetyproduction/feature.vue b/src/views/safetyproduction/feature.vue
index a435c47..eee259b 100644
--- a/src/views/safetyproduction/feature.vue
+++ b/src/views/safetyproduction/feature.vue
@@ -210,7 +210,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
@@ -224,7 +223,6 @@
this.$refs["form"].clearValidate();
});
getParentElement().then(res=>{
- // console.log('父类:',res)
this.parent=res.data.result
})
if (type == "新增") {
@@ -237,7 +235,7 @@
};
} else {
this.title = "编辑";
- this.form = value;
+ this.form=JSON.parse(JSON.stringify(value));
}
},
AddelementManagement() {
@@ -323,8 +321,7 @@
}else {
this.$message({
type: "warning",
- // message: res.data.message,
- message: "当前A级要素仍然有已绑定的B级要素,无法删除"
+ message: res.data.message,
});
}
});
--
Gitblit v1.9.2