Browse Source

bug#3312 切换期后,保持原先模板的选择状态

TonyKang 3 years ago
parent
commit
7f1b856b2f
1 changed files with 3 additions and 0 deletions
  1. 3 0
      app/view/report/index.ejs

+ 3 - 0
app/view/report/index.ejs

@@ -578,6 +578,9 @@
                 zTreeOprObj.onClick(null, null, zTreeOprObj.currentNode);
                 zTreeOprObj.onClick(null, null, zTreeOprObj.currentNode);
                 zTreeOprObj.countChkedRptTpl();
                 zTreeOprObj.countChkedRptTpl();
                 //console.log(ARCHIVE_LIST);
                 //console.log(ARCHIVE_LIST);
+                if (zTreeOprObj.currentNode) {
+                    zTreeOprObj.treeObj.selectNode(zTreeOprObj.currentNode, false);
+                }
             }, function(err){
             }, function(err){
                 $.bootstrapLoading.end();
                 $.bootstrapLoading.end();
             }, function(ex){
             }, function(ex){