Browse Source

施工日志标段列表排序

laiguoran 1 year ago
parent
commit
9d363943d0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/public/js/construction_index.js

+ 2 - 2
app/public/js/construction_index.js

@@ -44,8 +44,8 @@ const tenderListSpec = (function(){
         const html = [];
         html.push('<table class="table table-hover table-bordered">');
         html.push('<thead style="position: fixed;left:56px;top: 34px;">', '<tr>');
-        html.push('<th class="text-center" style="min-width: 300px;">', '标段名称', '</th>');
-        html.push('<th class="text-center" style="width: 300px;">', '创建时间', '</th>');
+        html.push('<th class="text-center" style="min-width: 300px;">', '标段名称', tenderListOrder.getOrderButton('name'), '</th>');
+        html.push('<th class="text-center" style="width: 300px;">', '创建时间', tenderListOrder.getOrderButton('create_time'), '</th>');
         if (is_admin) {
             html.push('<th class="text-center" style="width: 200px">', '设置', '</th>');
         }