Przeglądaj źródła

美化“管理相关文件”页面

vian 5 lat temu
rodzic
commit
c833da662d

+ 12 - 4
web/building_saas/pm/html/project-management.html

@@ -141,16 +141,24 @@
 
 
                         <legend>单价文件</legend>
-                        <table class="table table-bordered table-hover table-sm" id="summary-project-unit-price-table">
-                            <thead><th style="width: 25px;"></th><th style="width: 330px;">名称</th><th style="width:40px;">使用</th></thead>
+                        <table class="table table-bordered table-hover table-sm table-sc" id="summary-project-unit-price-table">
+                            <thead>
+                                <th style="width: 25px;" class="text-center"></th>
+                                <th style="width: 330px;" class="text-center">名称</th>
+                                <th style="width:40px;" class="text-center">使用</th>
+                            </thead>
                             <tbody>
                             </tbody>
                         </table>
 
 
                         <legend>费率文件</legend>
-                        <table class="table table-bordered table-hover table-sm" id="summary-project-fee-table">
-                            <thead><th style="width: 25px;"></th><th style="width: 330px;">名称</th><th style="width:40px;">使用</th></thead>
+                        <table class="table table-bordered table-hover table-sm table-sc" id="summary-project-fee-table">
+                            <thead>
+                                <th style="width: 25px;" class="text-center"></th>
+                                <th style="width: 330px;" class="text-center">名称</th>
+                                <th style="width:40px;" class="text-center">使用</th>
+                            </thead>
                             <tbody>
                             </tbody>
                         </table>

+ 1 - 1
web/building_saas/pm/js/pm_newMain.js

@@ -4538,7 +4538,7 @@ function set_file_table(target, poj_tenders, fileList, type){
             + '<span class="form-text text-danger" style="display: none">本建设项目已存在该文件名,请重新输入!' +
             '</span></td>';
         let fileTypeStr = type === fileType.unitPriceFile ? '单价文件' : '费率文件';
-        let fileHtml = '<tr><td>' + fileCounter + '</td><td id="file_' + fileId + '"><div>' + fileList[i].name + hoverHtml + renHtml + usedHtml + '</tr>';
+        let fileHtml = '<tr><td class="text-center">' + fileCounter + '</td><td id="file_' + fileId + '"><div>' + fileList[i].name + hoverHtml + renHtml + usedHtml + '</tr>';
         fileCounter++;
         let targetBody = type === fileType.unitPriceFile ? target + '-unit-price-table tbody' : target + '-fee-table tbody';
         $(targetBody).append(fileHtml);