MaiXinRong vor 4 Jahren
Ursprung
Commit
e6114840f8
2 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 1 0
      app/lib/sum_load.js
  2. 1 1
      app/public/js/shares/tenders2tree.js

+ 1 - 0
app/lib/sum_load.js

@@ -74,6 +74,7 @@ class loadGclBaseTree {
                 qtcl_qty: 0,
                 sjcl_qyt: 0,
                 quantity: 0,
+                is_leaf: source.is_leaf,
             };
             this.keyNodeId += 1;
             parent.children.push(node);

+ 1 - 1
app/public/js/shares/tenders2tree.js

@@ -12,7 +12,7 @@ const Tender2Tree = (function () {
     const treeSetting = {
         id: 'tmt_id',
         pid: 'tmt_pid',
-        order: 'order',
+        order: 'sort',
         level: 'level',
         rootId: -1,
         fullPath: 'full_path',