Commit fa3fc67e authored by 赵啸非's avatar 赵啸非

Merge remote-tracking branch 'origin/master'

parents 2cfe5c6a 13c22c40
...@@ -130,12 +130,11 @@ export default { ...@@ -130,12 +130,11 @@ export default {
}, },
}, },
}, },
created() { created() {},
this.getSiteBusinessList();
},
methods: { methods: {
// 获取窗口信息 // 获取窗口信息
getWindowInfo(info) { async getWindowInfo(info) {
await this.getSiteBusinessList();
this.formData = info; this.formData = info;
if (info.businessIds.length) { if (info.businessIds.length) {
let arr = extractTree(this.siteBusinessList, "children").map((v) => let arr = extractTree(this.siteBusinessList, "children").map((v) =>
...@@ -181,7 +180,9 @@ export default { ...@@ -181,7 +180,9 @@ export default {
this.getSiteBusinessList(); this.getSiteBusinessList();
}, },
handleClose() { handleClose() {
this.matterKeys = []; this.rowKeys = [];
this.businessName = "";
this.formData = {};
this.Visible = false; this.Visible = false;
}, },
// 选中 // 选中
...@@ -216,7 +217,7 @@ export default { ...@@ -216,7 +217,7 @@ export default {
if (code === 1) { if (code === 1) {
this.$message.success(msg); this.$message.success(msg);
this.$emit("addSuccess"); this.$emit("addSuccess");
this.Visible = false; this.handleWork();
} }
this.btnLoading = false; this.btnLoading = false;
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment