Commit b927425a4738f3a1b0c1ccdf34d1e1feb50edd72
1 parent
0fdefb5f
update
Showing
1 changed file
with
9 additions
and
2 deletions
src/main/resources/static/pages/forms/statement/firstAndLastBus_sum.html
| ... | ... | @@ -75,6 +75,7 @@ |
| 75 | 75 | </table> |
| 76 | 76 | </div> |
| 77 | 77 | <div class="table-container" style="margin-top: 10px;overflow:auto;min-width: 906px"> |
| 78 | + <input class="btn btn-default hidden" type="button" id="exportMap" value="导出明细1" style="float: right;"/> | |
| 78 | 79 | <table class="table table-bordered table-hover table-checkable" id="map"> |
| 79 | 80 | <thead> |
| 80 | 81 | <tr class="hidden"> |
| ... | ... | @@ -110,12 +111,14 @@ |
| 110 | 111 | |
| 111 | 112 | </tbody> |
| 112 | 113 | </table> |
| 114 | + | |
| 115 | + <input class="btn btn-default hidden" type="button" id="exportSumMap" value="导出明细2" style="float: right;"/> | |
| 113 | 116 | <table class="table table-bordered table-hover table-checkable" id="sumMap"> |
| 114 | 117 | <thead> |
| 115 | 118 | <tr class="hidden"> |
| 116 | 119 | <th style="display: none;"></th> |
| 117 | - <th>日期</th> | |
| 118 | 120 | <th>序号</th> |
| 121 | + <th>日期</th> | |
| 119 | 122 | <th>分公司</th> |
| 120 | 123 | <th>线路</th> |
| 121 | 124 | <th>首末班次</th> |
| ... | ... | @@ -246,7 +249,9 @@ |
| 246 | 249 | var tbodyHtml = template('list_maps',{list:g.map}); |
| 247 | 250 | $('#map tbody').html(tbodyHtml); |
| 248 | 251 | $("#sumMap tr").addClass("hidden"); |
| 252 | +// $("#exportSumMap").addClass("hidden"); | |
| 249 | 253 | $("#map .hidden").removeClass("hidden"); |
| 254 | +// $("#exportMap").removeClass("hidden"); | |
| 250 | 255 | $("html,body").animate({scrollTop:$("#map").offset().top},1000); |
| 251 | 256 | } |
| 252 | 257 | }); |
| ... | ... | @@ -257,7 +262,9 @@ |
| 257 | 262 | var tbodyHtml = template('list_sumMaps',{list:g.map}); |
| 258 | 263 | $('#sumMap tbody').html(tbodyHtml); |
| 259 | 264 | $("#map tr").addClass("hidden"); |
| 265 | +// $("#exportMap").addClass("hidden"); | |
| 260 | 266 | $("#sumMap .hidden").removeClass("hidden"); |
| 267 | +// $("#exportSumMap").removeClass("hidden"); | |
| 261 | 268 | $("html,body").animate({scrollTop:$("#sumMap").offset().top},1000); |
| 262 | 269 | } |
| 263 | 270 | }); |
| ... | ... | @@ -409,8 +416,8 @@ |
| 409 | 416 | <script type="text/html" id="list_sumMaps"> |
| 410 | 417 | {{each list as obj i}} |
| 411 | 418 | <tr> |
| 412 | - <td>{{obj.date}}</td> | |
| 413 | 419 | <td>{{obj.no}}</td> |
| 420 | + <td>{{obj.date}}</td> | |
| 414 | 421 | <td>{{obj.subCompany}}</td> |
| 415 | 422 | <td>{{obj.line}}</td> |
| 416 | 423 | <td>{{obj.firstOrLast}}</td> | ... | ... |