|
@@ -60,7 +60,7 @@ let selectFBObject = {
|
|
$.bootstrapLoading.start();
|
|
$.bootstrapLoading.start();
|
|
let treeData = await ajaxPost('/complementaryRation/api/getRationTree', {userId: userID, rationRepId: rationLibID, type: 1});
|
|
let treeData = await ajaxPost('/complementaryRation/api/getRationTree', {userId: userID, rationRepId: rationLibID, type: 1});
|
|
this.rationChapterTree = idTree.createNew({id: 'ID', pid: 'ParentID', nid: 'NextSiblingID', rootId: -1, autoUpdate: false});
|
|
this.rationChapterTree = idTree.createNew({id: 'ID', pid: 'ParentID', nid: 'NextSiblingID', rootId: -1, autoUpdate: false});
|
|
- rationChapterTree.loadDatas(treeData);
|
|
|
|
|
|
+ this.rationChapterTree.loadDatas(treeData);
|
|
$.bootstrapLoading.end();
|
|
$.bootstrapLoading.end();
|
|
}
|
|
}
|
|
if(this.rationChapterTree.roots.length >0){
|
|
if(this.rationChapterTree.roots.length >0){
|