Browse Source

排序js更新

laiguoran 4 năm trước cách đây
mục cha
commit
bf5ebf1531

+ 1 - 0
app/public/js/shenpi.js

@@ -42,6 +42,7 @@ function initTenderTree () {
                 children: [],
                 level: i ? i : category.level,
                 sort_id: ++parentId,
+                sort: cateValue.sort,
             };
             array.push(cate);
         }

+ 1 - 0
app/public/js/tender_list_info.js

@@ -237,6 +237,7 @@ function initTenderTree () {
                 children: [],
                 level: i ? i : category.level,
                 sort_id: ++parentId,
+                sort: cateValue.sort,
             };
             array.push(cate);
         }

+ 1 - 0
app/public/js/tender_list_manage.js

@@ -215,6 +215,7 @@ function initTenderTree () {
                 children: [],
                 level: i ? i : category.level,
                 sort_id: ++parentId,
+                sort: cateValue.sort,
             };
             array.push(cate);
         }

+ 1 - 0
app/public/js/tender_list_progress.js

@@ -234,6 +234,7 @@ function initTenderTree () {
                 children: [],
                 level: i ? i : category.level,
                 sort_id: ++parentId,
+                sort: cateValue.sort,
             };
             array.push(cate);
         }

+ 1 - 0
app/public/js/wap/list.js

@@ -84,6 +84,7 @@ function initTenderTree () {
                 children: [],
                 level: i ? i : category.level,
                 sort_id: ++parentId,
+                sort: cateValue.sort,
             };
             array.push(cate);
         }

+ 1 - 1
app/view/tender/shenpi.ejs

@@ -153,7 +153,7 @@
     const category = JSON.parse('<%- JSON.stringify(categoryData) %>');
 </script>
 <script src="/public/js/shenpi.js"></script>
-<!--<script src="/public/js/tender_showhide.js"></script>-->
+<script src="/public/js/tender_showhide.js"></script>
 <script>
     $.subMenu({
         menu: '#sub-menu', miniMenu: '#sub-mini-menu', miniMenuList: '#mini-menu-list',