Commit d60383a875813285972dadad5ffe8a106158a945

Authored by ljq
1 parent d8960560

页面调整

src/main/resources/static/pages/forms/statement/daily.html
@@ -20,11 +20,42 @@ @@ -20,11 +20,42 @@
20 .table-container{ 20 .table-container{
21 overflow-y:scroll;height: 540px; width: 100%; 21 overflow-y:scroll;height: 540px; width: 100%;
22 } 22 }
23 - td{  
24 - width: 15%; 23 + #analy_body tr> td >span{
  24 + word-break: keep-all;white-space:nowrap;
25 } 25 }
26 - .kw{  
27 - width: 97%; 26 +
  27 + #analy_body td{
  28 + min-width: 80px;
  29 + max-width: 80px;
  30 + width: 80px;
  31 + }
  32 + #analy_body{
  33 + margin-top: 20px;
  34 + height: 1200px;
  35 + width: 100%
  36 + }
  37 +
  38 +
  39 + .table_head::-webkit-scrollbar {
  40 + display:none
  41 + }
  42 +
  43 + .table_head{
  44 + min-width: 906px;
  45 + width: 100%;
  46 + overflow: hidden;
  47 + }
  48 +
  49 + .table_body{
  50 + width:101%;
  51 + height:500px;
  52 + overflow: auto;
  53 + margin-top: -20px;
  54 + }
  55 + .kty th{
  56 + min-width: 80px;
  57 + max-width: 80px;
  58 + width: 80px;
28 } 59 }
29 </style> 60 </style>
30 61
@@ -62,10 +93,11 @@ @@ -62,10 +93,11 @@
62 </div> 93 </div>
63 </form> 94 </form>
64 </div> 95 </div>
65 - <div class="portlet-body">  
66 - <div class="kw">  
67 - <table class="table table-bordered table-hover table-checkable">  
68 - <thead > 96 +
  97 + <div id="analy_body">
  98 + <div class="table_head" id="table_head">
  99 + <table class="table table-bordered table-hover table-checkable " >
  100 + <thead>
69 <tr> 101 <tr>
70 <th colspan="7">调度班次日报</th> 102 <th colspan="7">调度班次日报</th>
71 </tr> 103 </tr>
@@ -87,7 +119,9 @@ @@ -87,7 +119,9 @@
87 </thead> 119 </thead>
88 </table> 120 </table>
89 </div> 121 </div>
90 - <div class="table-container" style="margin-top:-20px; overflow:auto;min-width: 906px ;width: 97%" > 122 +
  123 +
  124 + <div class="table_body">
91 <table class="table table-bordered table-hover table-checkable" id="forms"> 125 <table class="table table-bordered table-hover table-checkable" id="forms">
92 <tbody id="tbody"> 126 <tbody id="tbody">
93 </tbody> 127 </tbody>
src/main/resources/static/pages/forms/statement/lbStatuAnaly.html
@@ -573,7 +573,7 @@ @@ -573,7 +573,7 @@
573 }); 573 });
574 function opencalcSheetList2(linecode,type){ 574 function opencalcSheetList2(linecode,type){
575 var sfqr = 0; 575 var sfqr = 0;
576 - var sfyy = 1 576 + var sfyy = 1;
577 var startDate = $("#startDate").val(); 577 var startDate = $("#startDate").val();
578 var endDate = $("#endDate").val(); 578 var endDate = $("#endDate").val();
579 var times = $("#times1").val() + "-" + $("#times2").val(); 579 var times = $("#times1").val() + "-" + $("#times2").val();
@@ -651,7 +651,7 @@ @@ -651,7 +651,7 @@
651 {{if reason[11].checked==true}}<th>烂班班次</th><th>烂班公里</th><th>百分比</th>{{/if}} 651 {{if reason[11].checked==true}}<th>烂班班次</th><th>烂班公里</th><th>百分比</th>{{/if}}
652 </tr> 652 </tr>
653 </thead> 653 </thead>
654 - 654 +</script>
655 <script type="text/html" id="list_lbAnaly2"> 655 <script type="text/html" id="list_lbAnaly2">
656 <tbody> 656 <tbody>
657 {{each list as obj i}} 657 {{each list as obj i}}