|
@@ -707,13 +707,14 @@ export default {
|
|
|
|
|
|
this.showData = true;
|
|
this.showData = true;
|
|
this.treeData = Data.AllNodes || [];
|
|
this.treeData = Data.AllNodes || [];
|
|
|
|
+
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
/* 新增完成后 处理树展开和选中 */
|
|
/* 新增完成后 处理树展开和选中 */
|
|
params && this.selectCurrentNode(params);
|
|
params && this.selectCurrentNode(params);
|
|
});
|
|
});
|
|
});
|
|
});
|
|
// 更新一下分类把 新增平衡表时要
|
|
// 更新一下分类把 新增平衡表时要
|
|
- if([3,5].includes(this.sourceMap[this.$route.path])){
|
|
|
|
|
|
+ if([2,3,5].includes(this.sourceMap[this.$route.path])){
|
|
this.getBalanceClassifyOpts()
|
|
this.getBalanceClassifyOpts()
|
|
}
|
|
}
|
|
},
|
|
},
|