|
|
@ -154,13 +154,13 @@ BI.AsyncTree = BI.inherit(BI.TreeView, { |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
self.service.removeNodeList(treeNode.tId); |
|
|
|
self.service.removeNodeList(treeNode.tId); |
|
|
|
} |
|
|
|
} |
|
|
|
console.log("add nodes"); |
|
|
|
// console.log("add nodes");
|
|
|
|
self.nodes.addNodes(treeNode, nodes); |
|
|
|
self.nodes.addNodes(treeNode, nodes); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function getNodes(times) { |
|
|
|
function getNodes(times) { |
|
|
|
console.log(times); |
|
|
|
// console.log(times);
|
|
|
|
var parentValues = treeNode.parentValues || self._getParentValues(treeNode); |
|
|
|
var parentValues = treeNode.parentValues || self._getParentValues(treeNode); |
|
|
|
var op = BI.extend({}, o.paras, { |
|
|
|
var op = BI.extend({}, o.paras, { |
|
|
|
id: treeNode.id, |
|
|
|
id: treeNode.id, |
|
|
|