Browse Source

资料归集,树结构显示调整

MaiXinRong 2 weeks ago
parent
commit
7f47ef0ad7
1 changed files with 0 additions and 3 deletions
  1. 0 3
      app/public/js/file_detail.js

+ 0 - 3
app/public/js/file_detail.js

@@ -74,7 +74,6 @@ $(document).ready(function() {
                     spid: x.spid,
                     tips: x.tips || '',
                 };
-                if (x.is_fixed) result.isParent = true;
                 if (x.is_folder || x.is_fixed) result.open = self.expandCache.indexOf(result.id) >= 0;
                 return result;
             });
@@ -200,7 +199,6 @@ $(document).ready(function() {
                     const path = parent.getPath();
                     for (const p of path) {
                         p.name = p.source_node.name + (p.source_node.total_file_count > 0 ? `(${p.source_node.total_file_count})` : '');
-                        if (p.source_node.is_fixed) p.isParent = true;
                         filingObj.filingTree.updateNode(p);
                     }
                 }
@@ -851,7 +849,6 @@ $(document).ready(function() {
                     spid: x.spid,
                     tips: x.tips || '',
                 };
-                if (x.is_fixed) result.isParent = true;
                 return result;
             });
             this.moveTree = $.fn.zTree.init($('#moveFile'), this.setting, sortNodes);