Browse Source

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

TonyKang 3 năm trước cách đây
mục cha
commit
7f1b856b2f
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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.countChkedRptTpl();
                 //console.log(ARCHIVE_LIST);
+                if (zTreeOprObj.currentNode) {
+                    zTreeOprObj.treeObj.selectNode(zTreeOprObj.currentNode, false);
+                }
             }, function(err){
                 $.bootstrapLoading.end();
             }, function(ex){