Commit 70bfd6092e87f36d72a4e8bd00519b6ca49d89dd

Authored by 娄高锋
1 parent 04edcfd3

固定列

src/main/resources/static/pages/forms/statement/statisticsDaily.html
@@ -66,8 +66,16 @@ @@ -66,8 +66,16 @@
66 <th colspan="45"><label id="tjrq"></label> 线路统计日报</th> 66 <th colspan="45"><label id="tjrq"></label> 线路统计日报</th>
67 </tr> 67 </tr>
68 <tr> 68 <tr>
69 - <td rowspan="3" style="min-width: 110px;max-width: 110px;" width="110px"><span >分公司</span></td>  
70 - <td rowspan="3" style="min-width: 110px;max-width: 110px;" width="110px"><span >路线名</span></td> 69 + <td rowspan="3" style="position: sticky;z-index: 1;left:0;background-color:white;padding:0px;
  70 + min-width: 110px;max-width: 110px;" width="110px">
  71 + <div style="width: calc(100% + 2px);height: 110px;border: 1px solid;border-bottom: 0px;transform:translate(-1px, -1px);padding:8px;">
  72 + <span >分公司</span></div>
  73 + </td>
  74 + <td rowspan="3" style="position: sticky;z-index: 1;left:110px;background-color:white;padding:0px;
  75 + min-width: 110px;max-width: 110px;" width="110px">
  76 + <div style="width: calc(100% + 2px);height: 110px;border: 1px solid;border-bottom: 0px;transform:translate(-1px, -1px);padding:8px;">
  77 + <span >路线名</span></div>
  78 + </td>
71 <td colspan="21">全日营运里程(公里)(注:实际营运里程、实际空驶里程、实际总里程均已包含临加里程)</td> 79 <td colspan="21">全日营运里程(公里)(注:实际营运里程、实际空驶里程、实际总里程均已包含临加里程)</td>
72 <td colspan="15">全日营运班次</td> 80 <td colspan="15">全日营运班次</td>
73 <td colspan="9">大间隔情况</td> 81 <td colspan="9">大间隔情况</td>
@@ -399,8 +407,16 @@ @@ -399,8 +407,16 @@
399 <script type="text/html" id="statisticsDaily"> 407 <script type="text/html" id="statisticsDaily">
400 {{each list as obj i}} 408 {{each list as obj i}}
401 <tr {{if obj.zt==1}}style='color: red'{{/if}}> 409 <tr {{if obj.zt==1}}style='color: red'{{/if}}>
402 - <td style="min-width: 110px;max-width: 110px;" width="110px">{{obj.fgsName}}</td>  
403 - <td style="min-width: 110px;max-width: 110px;" width="110px">{{obj.xlName}}</td> 410 + <td style="position: sticky;position: -webkit-sticky;z-index: 1;left:0;background-color:white;padding:0px;
  411 + min-width: 110px;max-width: 110px;" width="110px">
  412 + <div style="width: calc(100% + 2px);border: 1px solid;border-bottom: 0px;transform:translate(-1px, -1px);padding:8px;">
  413 + {{obj.fgsName}}
  414 + </div></td>
  415 + <td style="position: sticky;position: -webkit-sticky;z-index: 1;left:110px;;background-color:white;padding:0px;
  416 + min-width: 110px;max-width: 110px;" width="110px">
  417 + <div style="width: calc(100% + 2px);border: 1px solid;border-bottom: 0px;transform:translate(-1px, -1px);padding:8px;">
  418 + {{obj.xlName}}</td>
  419 + </div></td>
404 <td style="min-width: 90px;max-width: 90px;" width="90px">{{obj.jhzlc}}</td> 420 <td style="min-width: 90px;max-width: 90px;" width="90px">{{obj.jhzlc}}</td>
405 <td style="min-width: 90px;max-width: 90px;" width="90px">{{obj.jhlc}}</td> 421 <td style="min-width: 90px;max-width: 90px;" width="90px">{{obj.jhlc}}</td>
406 <td style="min-width: 90px;max-width: 90px;" width="90px">{{obj.jcclc}}</td> 422 <td style="min-width: 90px;max-width: 90px;" width="90px">{{obj.jcclc}}</td>