xuhaoyun 1 year ago
commit 978c49467e

@ -224,7 +224,6 @@ export default {
this.visible = true;
if (num === 1) {
this.dialogTitle = "新建";
this.form = {};
} else if (num === 2) {
this.dialogTitle = "查看档案";
} else if (num === 3) {
@ -232,6 +231,7 @@ export default {
console.log("item", item);
this.imageUrl = item.picUrl;
this.form = Object.assign(this.form, item);
console.log('form123',this.form);
}
},
getCheck() {
@ -320,7 +320,6 @@ export default {
if (res.code === 200) {
this.$message.success("编辑成功");
this.visible = false;
this.form = {};
} else {
this.$message.warning("编辑失败");
}

Loading…
Cancel
Save