فهرست منبع

选择汇总标段,样式调整

MaiXinRong 3 سال پیش
والد
کامیت
a4ca15843c
2فایلهای تغییر یافته به همراه8 افزوده شده و 8 حذف شده
  1. 3 3
      app/public/report/js/rpt_custom.js
  2. 5 5
      app/view/report/rpt_all_popup.ejs

+ 3 - 3
app/public/report/js/rpt_custom.js

@@ -29,7 +29,7 @@ const rptCustomObj = (function () {
     const sStageSelect = 'stage_select';
     const grSpreadSetting = {
         baseCols: [
-            {title: '名称', colSpan: '1', rowSpan: '1', field: 'name', hAlign: 0, width: 180, formatter: '@', readOnly: true},
+            {title: '名称', colSpan: '1', rowSpan: '1', field: 'name', hAlign: 0, width: 240, formatter: '@', readOnly: true},
         ],
         extraCols: [
             {title: '%s', colSpan: '1', rowSpan: '1', field: '%s', hAlign: 1, vAlign: '1', width: 60, cellType: 'checkbox', readOnly: true},
@@ -273,7 +273,7 @@ const rptCustomObj = (function () {
         grSpreadSetting.cols = [];
         for (const bc of grSpreadSetting.baseCols) {
             grSpreadSetting.cols.push(bc);
-            if (bc.field === 'name') bc.width = gsSetting.nameColWidth ? gsSetting.nameColWidth : 180;
+            if (bc.field === 'name') bc.width = gsSetting.nameColWidth ? gsSetting.nameColWidth : 240;
         }
         if (gsSetting.special) {
             for (const s of gsSetting.special) {
@@ -838,7 +838,7 @@ const rptCustomObj = (function () {
         const spreadSetting = {
             cols: [
                 {title: '选择', field: 'selected', hAlign: 1, width: 40, formatter: '@', cellType: 'checkbox', readOnly: true},
-                {title: '名称', field: 'name', hAlign: 0, width: 180, formatter: '@', readOnly: true, cellType: 'tree'},
+                {title: '名称', field: 'name', hAlign: 0, width: 300, formatter: '@', readOnly: true, cellType: 'tree'},
                 {title: '期数', field: 'phase', hAlign: 1, width: 60, formatter: '@', readOnly: true},
                 {title: '审批状态', field: 'status', hAlign: 1, width: 60, formatter: '@', readOnly: true}
             ],

+ 5 - 5
app/view/report/rpt_all_popup.ejs

@@ -342,7 +342,7 @@
 </div>
 <!--选择标段-->
 <div class="modal fade" id="gather-select" data-backdrop="static">
-    <div class="modal-dialog modal-lg" role="document">
+    <div class="modal-dialog modal-lgx" role="document">
         <div class="modal-content">
             <div class="modal-header">
                 <h5 class="modal-title" id="gather-select-title">选择标段</h5>
@@ -352,14 +352,14 @@
             </div>
             <div class="modal-body">
                 <div class="row">
-                    <div class="col-6">
+                    <div class="col-7">
                         <h5>可选标段 </h5>
-                        <div class="modal-height-300" id="gather-source-spread" style="height: 330px">
+                        <div class="modal-height-500" id="gather-source-spread">
                         </div>
                     </div>
-                    <div class="col-6">
+                    <div class="col-5">
                         <h5>已选标段 </h5>
-                        <div class="modal-height-300" id="gather-result-spread">
+                        <div class="modal-height-500" id="gather-result-spread">
                         </div>
                         <div class="mt-1" id="gather-by-month" style="width: 60%" name="gather-type">
                             <div class="input-group input-group-sm">