Commit a54badccf3432b5d01a67d39816c221c74f71fe0
1 parent
d9ea8cf2
班次大间隔详细修改
Showing
4 changed files
with
35 additions
and
18 deletions
src/main/java/com/bsth/controller/report/ReportController.java
| ... | ... | @@ -297,6 +297,8 @@ public class ReportController { |
| 297 | 297 | m_.put("qSj", jsonObject.getString("qSj")); |
| 298 | 298 | m_.put("hJh", jsonObject.getString("hJh")); |
| 299 | 299 | m_.put("hSj", jsonObject.getString("hSj")); |
| 300 | + m_.put("djgsj", jsonObject.getString("djgsj")); | |
| 301 | + m_.put("bcjgsj", jsonObject.getString("bcjgsj")); | |
| 300 | 302 | lMap.add(m_); |
| 301 | 303 | } |
| 302 | 304 | List<Iterator<?>> listI = new ArrayList<Iterator<?>>(); | ... | ... |
src/main/java/com/bsth/service/report/impl/ReportServiceImpl.java
| ... | ... | @@ -2402,6 +2402,8 @@ public class ReportServiceImpl implements ReportService{ |
| 2402 | 2402 | m.put("qSj", time); |
| 2403 | 2403 | m.put("hJh", listInfo.get(i+1).getFcsj()); |
| 2404 | 2404 | m.put("hSj", listInfo.get(i+1).getFcsjActual()); |
| 2405 | + m.put("djgsj", peak); | |
| 2406 | + m.put("bcjgsj", (fscjNext-fcsjTime)/60000); | |
| 2405 | 2407 | mapList.add(m); |
| 2406 | 2408 | } |
| 2407 | 2409 | }else{ |
| ... | ... | @@ -2416,6 +2418,8 @@ public class ReportServiceImpl implements ReportService{ |
| 2416 | 2418 | m.put("qSj", time); |
| 2417 | 2419 | m.put("hJh", listInfo.get(i+1).getFcsj()); |
| 2418 | 2420 | m.put("hSj", listInfo.get(i+1).getFcsjActual()); |
| 2421 | + m.put("djgsj", trough); | |
| 2422 | + m.put("bcjgsj", (fscjNext-fcsjTime)/60000); | |
| 2419 | 2423 | mapList.add(m); |
| 2420 | 2424 | } |
| 2421 | 2425 | } |
| ... | ... | @@ -2443,6 +2447,8 @@ public class ReportServiceImpl implements ReportService{ |
| 2443 | 2447 | m.put("qSj", time); |
| 2444 | 2448 | m.put("hJh", listInfo.get(i+1).getFcsj()); |
| 2445 | 2449 | m.put("hSj", listInfo.get(i+1).getFcsjActual()); |
| 2450 | + m.put("djgsj", peak); | |
| 2451 | + m.put("bcjgsj", (fscjNext-fcsjTime)/60000); | |
| 2446 | 2452 | mapList.add(m); |
| 2447 | 2453 | } |
| 2448 | 2454 | }else{ |
| ... | ... | @@ -2457,6 +2463,8 @@ public class ReportServiceImpl implements ReportService{ |
| 2457 | 2463 | m.put("qSj", time); |
| 2458 | 2464 | m.put("hJh", listInfo.get(i+1).getFcsj()); |
| 2459 | 2465 | m.put("hSj", listInfo.get(i+1).getFcsjActual()); |
| 2466 | + m.put("djgsj", trough); | |
| 2467 | + m.put("bcjgsj", (fscjNext-fcsjTime)/60000); | |
| 2460 | 2468 | mapList.add(m); |
| 2461 | 2469 | } |
| 2462 | 2470 | } | ... | ... |
src/main/resources/static/pages/forms/mould/countIntervalXx.xls
No preview for this file type
src/main/resources/static/pages/report/countInterval/countInterval.html
| ... | ... | @@ -52,7 +52,7 @@ |
| 52 | 52 | <div class="portlet-body"> |
| 53 | 53 | <div class="row" class="col-md-12"> |
| 54 | 54 | <div class="col-md-5"> |
| 55 | - <div id="left_table" style="margin-top: 10px;overflow:auto;height: 860px"> | |
| 55 | + <div id="left_table" style="margin-top: 10px;overflow:auto;"> | |
| 56 | 56 | <input class="btn btn-default hidden" type="button" id="export" value="导出"/> |
| 57 | 57 | <table class="table table-bordered table-hover table-checkable pre-scrollable" id="info_inter"> |
| 58 | 58 | <thead> |
| ... | ... | @@ -61,7 +61,7 @@ |
| 61 | 61 | <th>线路</th> |
| 62 | 62 | <th>等级</th> |
| 63 | 63 | <th>班次数</th> |
| 64 | - <th>发生次数</th> | |
| 64 | + <th>次数</th> | |
| 65 | 65 | <th>发生率</th> |
| 66 | 66 | </tr> |
| 67 | 67 | </thead> |
| ... | ... | @@ -77,16 +77,21 @@ |
| 77 | 77 | <table class="table table-bordered table-hover table-checkable" id="forms"> |
| 78 | 78 | <thead class="hidden"> |
| 79 | 79 | <tr > |
| 80 | - <th rowspan="2">分公司</th> | |
| 81 | - <th rowspan="2">线路</th> | |
| 82 | - <th rowspan="2">大间隔等级</th> | |
| 83 | - <th colspan="4">发生大间隔班次</th> | |
| 80 | + <th rowspan="3">分公司</th> | |
| 81 | + <th rowspan="3">线路</th> | |
| 82 | + <th rowspan="3">等级</th> | |
| 83 | + <th colspan="6">发生大间隔班次</th> | |
| 84 | 84 | </tr> |
| 85 | 85 | <tr> |
| 86 | - <th>计发</th> | |
| 87 | - <th>实发</th> | |
| 88 | - <th>计发</th> | |
| 89 | - <th>实发</th> | |
| 86 | + <th rowspan="2">计发</th> | |
| 87 | + <th rowspan="2">实发</th> | |
| 88 | + <th rowspan="2">计发</th> | |
| 89 | + <th rowspan="2">实发</th> | |
| 90 | + <th colspan="2">间隔时间(分)</th> | |
| 91 | + </tr> | |
| 92 | + <tr> | |
| 93 | + <th>班次</th> | |
| 94 | + <th>大间隔</th> | |
| 90 | 95 | </tr> |
| 91 | 96 | </thead> |
| 92 | 97 | <tbody> |
| ... | ... | @@ -208,7 +213,7 @@ |
| 208 | 213 | layer.msg("请选择时间!"); |
| 209 | 214 | return; |
| 210 | 215 | } |
| 211 | -// $("#left_table").height($(window).height()-100); | |
| 216 | + $("#left_table").height($(window).height()-200); | |
| 212 | 217 | line = $("#line").val(); |
| 213 | 218 | date = $("#date").val(); |
| 214 | 219 | gsbm =$("#gsdm").val(); |
| ... | ... | @@ -296,13 +301,15 @@ |
| 296 | 301 | <script type="text/html" id="list_inter_info_xx"> |
| 297 | 302 | {{each list as obj i}} |
| 298 | 303 | <tr> |
| 299 | - <td width="20%">{{obj.fgsname}}</td> | |
| 300 | - <td width="20%">{{obj.xlName}}</td> | |
| 301 | - <td width="10%">{{obj.djgde}}</td> | |
| 302 | - <td width="10%">{{obj.qJh}}</td> | |
| 303 | - <td width="10%">{{obj.qSj}}</td> | |
| 304 | - <td width="10%">{{obj.hJh}}</td> | |
| 305 | - <td width="10%">{{obj.hSj}}</td> | |
| 304 | + <td width="14%">{{obj.fgsname}}</td> | |
| 305 | + <td width="16%">{{obj.xlName}}</td> | |
| 306 | + <td width="8%">{{obj.djgde}}</td> | |
| 307 | + <td width="8%">{{obj.qJh}}</td> | |
| 308 | + <td width="8%">{{obj.qSj}}</td> | |
| 309 | + <td width="8%">{{obj.hJh}}</td> | |
| 310 | + <td width="8%">{{obj.hSj}}</td> | |
| 311 | + <td width="10%">{{obj.bcjgsj}}</td> | |
| 312 | + <td width="10%">{{obj.djgsj}}</td> | |
| 306 | 313 | </tr> |
| 307 | 314 | {{/each}} |
| 308 | 315 | {{if list.length == 0}} | ... | ... |