Commit 14e3d1470a45c8879cf3852311e622250294e6ce

Authored by 潘钊
1 parent c0262429

屏蔽页面的异常速度

src/main/resources/static/real_control_v2/fragments/home/line_panel.html
... ... @@ -29,7 +29,7 @@
29 29 <dl id="home_gps_{{deviceId}}" data-device-id="{{deviceId}}" {{if abnormalStatus=='offline'}}class="offline"{{/if}}>
30 30 <dd title="{{nbbm}}"><a>{{nbbm}}</a></dd>
31 31 <dd></dd>
32   - <dd>{{speed}}</dd>
  32 + <dd>{{speed>99?'..':speed}}</dd>
33 33 <dd>{{expectStopTime}}</dd>
34 34 <dd>
35 35 {{if abnormalStatus != null}}
... ...
src/main/resources/static/real_control_v2/fragments/home/tooltip.html
... ... @@ -34,7 +34,7 @@
34 34 <span class="field">坐标:</span>{{lon}} {{lat}}
35 35 </div>
36 36 <div>
37   - <span class="field">速度:</span>{{speed}}</div>
  37 + <span class="field">速度:</span>{{speed>99?'..':speed}}</div>
38 38 <div>
39 39 <span class="field">时间:</span>{{dateStr}}</div>
40 40 {{if expectStopTime!=null}}
... ...
src/main/resources/static/real_control_v2/mapmonitor/fragments/map_infowindow.html
... ... @@ -28,7 +28,7 @@
28 28 {{/if}}
29 29 </p>
30 30 <p>设备号:{{deviceId}}</p>
31   - <p>速度:{{speed}}</p>
  31 + <p>速度:{{speed>99?'..':speed}}</p>
32 32 <p>角度:{{direction}}</p>
33 33 <p>经度:{{lon}}</p>
34 34 <p>纬度:{{lat}}</p>
... ...