|
@@ -401,7 +401,11 @@ let executeObj = {
|
|
|
|
|
|
let treeNodeTools = {
|
|
let treeNodeTools = {
|
|
getFormulaNodes: function () {
|
|
getFormulaNodes: function () {
|
|
- return [];
|
|
|
|
|
|
+ let nodes = [];
|
|
|
|
+ for (let item of projectObj.project.mainTree.items){
|
|
|
|
+ if (item.data.calcBase && item.data.calcBase != '') nodes.push(item);
|
|
|
|
+ };
|
|
|
|
+ return nodes;
|
|
},
|
|
},
|
|
|
|
|
|
isRation: function(treeNode){
|
|
isRation: function(treeNode){
|