|
@@ -181,7 +181,7 @@ import api from '@api/icss.js';
|
|
|
})
|
|
|
},
|
|
|
IteraNodeList(nodeList, nodeListResult, type, level = 1) {
|
|
|
- this.level= this.level + 1
|
|
|
+ this.level= level + 1
|
|
|
for(let i = 0; i <nodeList.length; i++) {
|
|
|
let newChild;
|
|
|
if(type == '0') { //添加的时候保存所有的id列表
|
|
@@ -192,7 +192,7 @@ import api from '@api/icss.js';
|
|
|
} else if(type == '2') { //移除节点的时候同时移除节点(搜索时排除的id列表)
|
|
|
newChild = nodeList[i].conceptId
|
|
|
}
|
|
|
- if(this.level === 3) {
|
|
|
+ if(this.level === 4) {
|
|
|
return
|
|
|
}
|
|
|
if(nodeList[i].nodeList &&nodeList[i].nodeList.length > 0) {
|