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/feature.vue | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/views/safetyproduction/feature.vue b/src/views/safetyproduction/feature.vue
index 6dbb6e0..86ed180 100644
--- a/src/views/safetyproduction/feature.vue
+++ b/src/views/safetyproduction/feature.vue
@@ -110,6 +110,7 @@
v-model="form.parentId"
placeholder="请选择"
style="width: 100%"
+ :disabled="title=='编辑'?true:false"
>
<el-option
v-for="item in parent"
@@ -209,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
@@ -223,7 +223,6 @@
this.$refs["form"].clearValidate();
});
getParentElement().then(res=>{
- // console.log('父类:',res)
this.parent=res.data.result
})
if (type == "新增") {
@@ -236,7 +235,7 @@
};
} else {
this.title = "编辑";
- this.form = value;
+ this.form=JSON.parse(JSON.stringify(value));
}
},
AddelementManagement() {
--
Gitblit v1.9.2