|
|
@ -269,7 +269,7 @@ export default { |
|
|
|
|
|
|
|
await this.loadOrgData() |
|
|
|
await this.loadTree() |
|
|
|
await this.loadOpenNode() |
|
|
|
// await this.loadOpenNode() |
|
|
|
|
|
|
|
await this.$refs['ref_communityTable'].loadTable(true, this.selTreeObj) |
|
|
|
if (this.treeData.length > 0) { |
|
|
@ -347,6 +347,8 @@ export default { |
|
|
|
const { data, code, msg } = await requestPost(url, params) |
|
|
|
|
|
|
|
if (code === 0) { |
|
|
|
this.openNodes = [] |
|
|
|
this.openNodes.push(data[0].id) |
|
|
|
|
|
|
|
this.treeData = data |
|
|
|
if (!isRefresh && data.length > 0) { |
|
|
|