Commit 607273cc2bc8a8d904dae0e2ef755da544f445b1
1 parent
ba641265
1.
Showing
1 changed file
with
98 additions
and
98 deletions
src/main/resources/static/real_control_v2/mapmonitor/fragments/map_infowindow.html
| 1 | -<div> | ||
| 2 | - <script id="map-win-gps-detail-temp" type="text/html"> | ||
| 3 | - <div class="gps_info_win" style="width: 200px;"> | ||
| 4 | - <h4>{{nbbm}}</h4> | ||
| 5 | - <h5> | ||
| 6 | - {{lineName}} | ||
| 7 | - </h5> | ||
| 8 | - <h5> | ||
| 9 | - {{if stationName!=null}} | ||
| 10 | - {{stationName}} 站 | ||
| 11 | - {{else}} | ||
| 12 | - 未知站点 | ||
| 13 | - {{/if}} | ||
| 14 | - </h5> | ||
| 15 | - <p>设备状态: | ||
| 16 | - {{if valid==1}} | ||
| 17 | - invalid(-1 | ||
| 18 | - {{else if abnormalStatus=='outBounds'}} | ||
| 19 | - 越界 | ||
| 20 | - {{else if abnormalStatus=='overspeed'}} | ||
| 21 | - 超速 | ||
| 22 | - {{else if abnormalStatus=='gps-offline'}} | ||
| 23 | - GPS掉线 | ||
| 24 | - {{else if abnormalStatus=='offline'}} | ||
| 25 | - 离线 | ||
| 26 | - {{else}} | ||
| 27 | - . | ||
| 28 | - {{/if}} | ||
| 29 | - </p> | ||
| 30 | - <p>设备号:{{deviceId}}</p> | ||
| 31 | - <p>速度:{{speed>99?'..':speed}}</p> | ||
| 32 | - <p>角度:{{direction}}</p> | ||
| 33 | - <p>经度:{{lon}}</p> | ||
| 34 | - <p>纬度:{{lat}}</p> | ||
| 35 | - | ||
| 36 | - <p class="date-str">{{dateStr}}</p> | ||
| 37 | - <hr> | ||
| 38 | - {{if expectStopTime!=null}} | ||
| 39 | - <a href="javascript:;" style="color: #07D;margin-right: 7px;">预计 {{expectStopTime}} 分钟到达终点</a> | ||
| 40 | - {{/if}} | ||
| 41 | - <a href="javascript:;" style="float: left;" onclick="javascript:window.open('http://211.95.61.66:9020/transport_server/dvr_monitor2.html?userid=4&zbh={{nbbm}}');">DVR</a> | ||
| 42 | - <a href="W9:1@139.196.29.203@?method=call&1111:{{dvrcode}}" style="margin-left: 50px;" >拨打电话</a> | ||
| 43 | - <a href="javascript:;" style="float: right;" onclick="javascript:gb_map_play_back.initParams('{{deviceId}}', '{{nbbm}}');">轨迹回放</a> | ||
| 44 | - </div> | ||
| 45 | - </script> | ||
| 46 | - | ||
| 47 | - <script id="map-win-station-detail-temp" type="text/html"> | ||
| 48 | - <div class="gps_info_win"> | ||
| 49 | - <h4>{{stationName}}</h4> | ||
| 50 | - <p>站点编码: {{stationCode}}</p> | ||
| 51 | - <p>站点类型: | ||
| 52 | - {{if stationMark=='B'}} | ||
| 53 | - 起点站 | ||
| 54 | - {{else if stationMark=='E'}} | ||
| 55 | - 终点站 | ||
| 56 | - {{else if stationMark=='Z'}} | ||
| 57 | - 中途站 | ||
| 58 | - {{/if}} | ||
| 59 | - </p> | ||
| 60 | - <p> | ||
| 61 | - 经度: {{lon}} | ||
| 62 | - </p> | ||
| 63 | - <p>纬度: {{lat}}</p> | ||
| 64 | - {{if distances > 0}} | ||
| 65 | - <p>到站距离: {{distances}} 公里</p> | ||
| 66 | - {{/if}} | ||
| 67 | - <p> | ||
| 68 | - 电子围栏类型: | ||
| 69 | - {{if shapesType=='r'}} | ||
| 70 | - 圆形 | ||
| 71 | - {{else if shapesType=='d'}} | ||
| 72 | - 多边形 | ||
| 73 | - {{/if}} | ||
| 74 | - </p> | ||
| 75 | - <p> | ||
| 76 | - {{if shapesType=='r'}} | ||
| 77 | - 半径:{{radius}} | ||
| 78 | - {{else if shapesType=='d'}} | ||
| 79 | - 面积:{{_polygonArea}} 平方米 | ||
| 80 | - {{/if}} | ||
| 81 | - </p> | ||
| 82 | - </div> | ||
| 83 | - </script> | ||
| 84 | - | ||
| 85 | - <script id="map-win-carpark-detail-temp" type="text/html"> | ||
| 86 | - <div class="gps_info_win"> | ||
| 87 | - <h4>{{parkName}}</h4> | ||
| 88 | - <p>停车场编码: {{parkCode}}</p> | ||
| 89 | - <p>面积:{{area}}</p> | ||
| 90 | - <p> | ||
| 91 | - {{if shapesType=='r'}} | ||
| 92 | - 电子围栏半径:{{radius}} | ||
| 93 | - {{else if shapesType=='d'}} | ||
| 94 | - 电子围栏面积:{{_polygonArea}} 平方米 | ||
| 95 | - {{/if}} | ||
| 96 | - </p> | ||
| 97 | - </div> | ||
| 98 | - </script> | 1 | +<div> |
| 2 | + <script id="map-win-gps-detail-temp" type="text/html"> | ||
| 3 | + <div class="gps_info_win" style="width: 200px;"> | ||
| 4 | + <h4>{{nbbm}}</h4> | ||
| 5 | + <h5> | ||
| 6 | + {{lineName}} | ||
| 7 | + </h5> | ||
| 8 | + <h5> | ||
| 9 | + {{if stationName!=null}} | ||
| 10 | + {{stationName}} 站 | ||
| 11 | + {{else}} | ||
| 12 | + 未知站点 | ||
| 13 | + {{/if}} | ||
| 14 | + </h5> | ||
| 15 | + <p>设备状态: | ||
| 16 | + {{if valid==1}} | ||
| 17 | + invalid(-1 | ||
| 18 | + {{else if abnormalStatus=='outBounds'}} | ||
| 19 | + 越界 | ||
| 20 | + {{else if abnormalStatus=='overspeed'}} | ||
| 21 | + 超速 | ||
| 22 | + {{else if abnormalStatus=='gps-offline'}} | ||
| 23 | + GPS掉线 | ||
| 24 | + {{else if abnormalStatus=='offline'}} | ||
| 25 | + 离线 | ||
| 26 | + {{else}} | ||
| 27 | + . | ||
| 28 | + {{/if}} | ||
| 29 | + </p> | ||
| 30 | + <p>设备号:{{deviceId}}</p> | ||
| 31 | + <p>速度:{{speed>99?'..':speed}}</p> | ||
| 32 | + <p>角度:{{direction}}</p> | ||
| 33 | + <p>经度:{{lon}}</p> | ||
| 34 | + <p>纬度:{{lat}}</p> | ||
| 35 | + | ||
| 36 | + <p class="date-str">{{dateStr}}</p> | ||
| 37 | + <hr> | ||
| 38 | + {{if expectStopTime!=null}} | ||
| 39 | + <a href="javascript:;" style="color: #07D;margin-right: 7px;">预计 {{expectStopTime}} 分钟到达终点</a> | ||
| 40 | + {{/if}} | ||
| 41 | + <a href="javascript:;" style="float: left;" onclick="javascript:window.open('http://211.95.61.66:9020/transport_server/dvr_monitor2.html?userid=4&zbh={{nbbm}}');">DVR</a> | ||
| 42 | + {{if dvrcode != null}}<a href="W9:1@139.196.29.203@?method=call&1111:{{dvrcode}}" style="margin-left: 50px;" >拨打电话</a>{{/if}} | ||
| 43 | + <a href="javascript:;" style="float: right;" onclick="javascript:gb_map_play_back.initParams('{{deviceId}}', '{{nbbm}}');">轨迹回放</a> | ||
| 44 | + </div> | ||
| 45 | + </script> | ||
| 46 | + | ||
| 47 | + <script id="map-win-station-detail-temp" type="text/html"> | ||
| 48 | + <div class="gps_info_win"> | ||
| 49 | + <h4>{{stationName}}</h4> | ||
| 50 | + <p>站点编码: {{stationCode}}</p> | ||
| 51 | + <p>站点类型: | ||
| 52 | + {{if stationMark=='B'}} | ||
| 53 | + 起点站 | ||
| 54 | + {{else if stationMark=='E'}} | ||
| 55 | + 终点站 | ||
| 56 | + {{else if stationMark=='Z'}} | ||
| 57 | + 中途站 | ||
| 58 | + {{/if}} | ||
| 59 | + </p> | ||
| 60 | + <p> | ||
| 61 | + 经度: {{lon}} | ||
| 62 | + </p> | ||
| 63 | + <p>纬度: {{lat}}</p> | ||
| 64 | + {{if distances > 0}} | ||
| 65 | + <p>到站距离: {{distances}} 公里</p> | ||
| 66 | + {{/if}} | ||
| 67 | + <p> | ||
| 68 | + 电子围栏类型: | ||
| 69 | + {{if shapesType=='r'}} | ||
| 70 | + 圆形 | ||
| 71 | + {{else if shapesType=='d'}} | ||
| 72 | + 多边形 | ||
| 73 | + {{/if}} | ||
| 74 | + </p> | ||
| 75 | + <p> | ||
| 76 | + {{if shapesType=='r'}} | ||
| 77 | + 半径:{{radius}} | ||
| 78 | + {{else if shapesType=='d'}} | ||
| 79 | + 面积:{{_polygonArea}} 平方米 | ||
| 80 | + {{/if}} | ||
| 81 | + </p> | ||
| 82 | + </div> | ||
| 83 | + </script> | ||
| 84 | + | ||
| 85 | + <script id="map-win-carpark-detail-temp" type="text/html"> | ||
| 86 | + <div class="gps_info_win"> | ||
| 87 | + <h4>{{parkName}}</h4> | ||
| 88 | + <p>停车场编码: {{parkCode}}</p> | ||
| 89 | + <p>面积:{{area}}</p> | ||
| 90 | + <p> | ||
| 91 | + {{if shapesType=='r'}} | ||
| 92 | + 电子围栏半径:{{radius}} | ||
| 93 | + {{else if shapesType=='d'}} | ||
| 94 | + 电子围栏面积:{{_polygonArea}} 平方米 | ||
| 95 | + {{/if}} | ||
| 96 | + </p> | ||
| 97 | + </div> | ||
| 98 | + </script> | ||
| 99 | </div> | 99 | </div> |
| 100 | \ No newline at end of file | 100 | \ No newline at end of file |