Commit 263fb4ef487e94d19261ee124c70281ef24d4697

Authored by ljq
1 parent b8feebe3

一件报警修改url,功能对应标书文档

src/main/java/com/bsth/data/pilot80/PilotReport.java
@@ -13,6 +13,7 @@ import com.bsth.entity.realcontrol.LineConfig; @@ -13,6 +13,7 @@ import com.bsth.entity.realcontrol.LineConfig;
13 import com.bsth.entity.realcontrol.ScheduleRealInfo; 13 import com.bsth.entity.realcontrol.ScheduleRealInfo;
14 import com.bsth.repository.directive.D80Repository; 14 import com.bsth.repository.directive.D80Repository;
15 import com.bsth.repository.directive.DC0A4Repository; 15 import com.bsth.repository.directive.DC0A4Repository;
  16 +import com.bsth.service.SystemParamService;
16 import com.bsth.service.directive.DirectiveService; 17 import com.bsth.service.directive.DirectiveService;
17 import com.bsth.util.HttpClientUtils; 18 import com.bsth.util.HttpClientUtils;
18 import com.bsth.websocket.handler.SendUtils; 19 import com.bsth.websocket.handler.SendUtils;
@@ -53,6 +54,8 @@ public class PilotReport { @@ -53,6 +54,8 @@ public class PilotReport {
53 @Autowired 54 @Autowired
54 GpsStatusManager gpsStatusManager; 55 GpsStatusManager gpsStatusManager;
55 56
  57 + @Autowired
  58 + private SystemParamService systemParamService;
56 private static ConcurrentHashMap<Integer, D80> d80Maps; 59 private static ConcurrentHashMap<Integer, D80> d80Maps;
57 60
58 /** 61 /**
@@ -101,7 +104,7 @@ public class PilotReport { @@ -101,7 +104,7 @@ public class PilotReport {
101 //报警请求 104 //报警请求
102 case 0x10: 105 case 0x10:
103 try { 106 try {
104 - String url = "http://58.34.52.130:9103/dataDockingApi/accident/saveAccident?"; 107 + String url = systemParamService.getValue("url.yjbj")+"dataDockingApi/accident/saveAccident?";
105 url = url + "accidentTime=" + new Date().getTime() + "&nbbm=" + nbbm; 108 url = url + "accidentTime=" + new Date().getTime() + "&nbbm=" + nbbm;
106 logger.info("url===="+url); 109 logger.info("url===="+url);
107 String res = HttpClientUtils.get(url).toString(); 110 String res = HttpClientUtils.get(url).toString();
src/main/resources/static/pages/base/timesmodel/add.html
@@ -38,7 +38,7 @@ @@ -38,7 +38,7 @@
38 38
39 <div class="actions"> 39 <div class="actions">
40 <div class="btn-group btn-group-devided" data-toggle="buttons"> 40 <div class="btn-group btn-group-devided" data-toggle="buttons">
41 - <a class="btn btn-circle blue openHaveSkb" href="javascript:;" data-pjax><i class="fa fa-check"></i> 打开现有时刻表明细</a> 41 + <a class="btn btn-circle blue openHaveSkb" href="javascript:;" data-pjax><i class="fa fa-check"></i> 排班诊断</a>
42 </div> 42 </div>
43 <div class="btn-group btn-group-devided" data-toggle="buttons"> 43 <div class="btn-group btn-group-devided" data-toggle="buttons">
44 <a class="btn btn-circle default" href="/pages/base/timesmodel/index.html" style="float: right;padding: 4px 23px;" data-pjax=""><i class="fa fa-reply"></i> 退出</a> 44 <a class="btn btn-circle default" href="/pages/base/timesmodel/index.html" style="float: right;padding: 4px 23px;" data-pjax=""><i class="fa fa-reply"></i> 退出</a>
src/main/resources/static/pages/base/timesmodel/gantt.html
@@ -50,7 +50,7 @@ @@ -50,7 +50,7 @@
50 <!-- actions 组件START --> 50 <!-- actions 组件START -->
51 <div class="actions"> 51 <div class="actions">
52 <div class="btn-group btn-group-devided countbtn" data-toggle="buttons"> 52 <div class="btn-group btn-group-devided countbtn" data-toggle="buttons">
53 - <a class="btn btn-circle blue countAdd" href="javascript:;" data-pjax><i class="fa fa-database"></i> 统计数据</a> 53 + <a class="btn btn-circle blue countAdd" href="javascript:;" data-pjax><i class="fa fa-database"></i> 排班统计</a>
54 </div> 54 </div>
55 <div class="btn-group btn-group-devided parambtn" data-toggle="buttons"> 55 <div class="btn-group btn-group-devided parambtn" data-toggle="buttons">
56 <a class="btn btn-circle blue paramAdd" href="javascript:;" data-pjax><i class="fa fa-list-ol" aria-hidden="true"></i> 重新生成</a> 56 <a class="btn btn-circle blue paramAdd" href="javascript:;" data-pjax><i class="fa fa-list-ol" aria-hidden="true"></i> 重新生成</a>
src/main/resources/static/pages/base/timesmodel/js/systemTools.js
@@ -42,7 +42,7 @@ $(&#39;.addBc&#39;).on(&#39;click&#39;,function() { @@ -42,7 +42,7 @@ $(&#39;.addBc&#39;).on(&#39;click&#39;,function() {
42 var lpData = echartsDrawGTT.getLpData(); 42 var lpData = echartsDrawGTT.getLpData();
43 var lpDataCount = echartsDrawGTT.getLpDataCount(); 43 var lpDataCount = echartsDrawGTT.getLpDataCount();
44 // 弹出层mobal页面 44 // 弹出层mobal页面
45 - $.get('/pages/base/timesmodel/fragments/addBc.html', function(m){ 45 + $.get('/pages/base/timesmodel/fragments/addbc.html', function(m){
46 $(pjaxContainer).append(m); 46 $(pjaxContainer).append(m);
47 // 规定被选元素要触发的事件。可以使自定义事件(使用 bind() 函数来附加),或者任何标准事件。 47 // 规定被选元素要触发的事件。可以使自定义事件(使用 bind() 函数来附加),或者任何标准事件。
48 $('#addBc_mobal').trigger('addBcMobal.show',[lpData,lpDataCount,echartsDrawGTT]); 48 $('#addBc_mobal').trigger('addBcMobal.show',[lpData,lpDataCount,echartsDrawGTT]);
src/main/resources/static/pages/scheduleApp/module/core/ttInfoManage/list.html
@@ -192,7 +192,7 @@ @@ -192,7 +192,7 @@
192 <a ui-sref="ttInfoDetailManage_edit3({xlid: info.xl.id, ttid : info.id, xlname: info.xl.name, ttname : info.name, rflag : true, lineversion : info.lineVersion})" 192 <a ui-sref="ttInfoDetailManage_edit3({xlid: info.xl.id, ttid : info.id, xlname: info.xl.name, ttname : info.name, rflag : true, lineversion : info.lineVersion})"
193 class="btn btn-info btn-sm" ng-if="info.isCancel == '0'"> 编辑 </a> 193 class="btn btn-info btn-sm" ng-if="info.isCancel == '0'"> 编辑 </a>
194 <a ng-click="ctrl.toTtInfoDetailAuto(info.id)" 194 <a ng-click="ctrl.toTtInfoDetailAuto(info.id)"
195 - class="btn btn-info btn-sm" ng-if="info.isCancel == '0'"> 生成 </a> 195 + class="btn btn-info btn-sm" ng-if="info.isCancel == '0'"> 排班优化 </a>
196 <a ui-sref="ttInfoDetailManage_form({xlid: info.xl.id, ttid : info.id, xlname: info.xl.name, ttname : info.name})" 196 <a ui-sref="ttInfoDetailManage_form({xlid: info.xl.id, ttid : info.id, xlname: info.xl.name, ttname : info.name})"
197 class="btn btn-info btn-sm" ng-if="info.isCancel == '0'"> 导入 </a> 197 class="btn btn-info btn-sm" ng-if="info.isCancel == '0'"> 导入 </a>
198 <a href="javascript:" class="btn btn-info btn-sm" ng-click="ctrl.exportData(info.id)"> 导出 </a> 198 <a href="javascript:" class="btn btn-info btn-sm" ng-click="ctrl.exportData(info.id)"> 导出 </a>
src/main/resources/static/pages/zndd_yuan/DKL.html
@@ -182,8 +182,8 @@ @@ -182,8 +182,8 @@
182 id: 'card4', 182 id: 'card4',
183 x: 100, 183 x: 100,
184 y: 400, 184 y: 400,
185 - label: '待发调整',  
186 - type: "待发调整", 185 + label: '待发调整工具',
  186 + type: "待发调整工具",
187 nodes: [{ 187 nodes: [{
188 type: "in", 188 type: "in",
189 level: 0, 189 level: 0,
@@ -199,13 +199,35 @@ @@ -199,13 +199,35 @@
199 } 199 }
200 ], 200 ],
201 titleBarColor: ['#3950e8', '#25f6d0'] 201 titleBarColor: ['#3950e8', '#25f6d0']
202 - }, 202 + },
203 { 203 {
204 id: 'card5', 204 id: 'card5',
205 x: 100, 205 x: 100,
206 y: 400, 206 y: 400,
207 - label: '班次取消(烂班)',  
208 - type: "班次取消(烂班)", 207 + label: '班次取消(烂班)工具',
  208 + type: "班次取消(烂班)工具",
  209 + nodes: [{
  210 + type: "in",
  211 + level: 0,
  212 + enumType: 'call',
  213 + color: '#fff',
  214 +
  215 + },
  216 + {
  217 + type: "out",
  218 + level: 0,
  219 + enumType: 'call',
  220 + color: '#3C8CE7',
  221 + }
  222 + ],
  223 + titleBarColor: ['#3950e8', '#25f6d0']
  224 + },
  225 + {
  226 + id: 'card51',
  227 + x: 100,
  228 + y: 400,
  229 + label: '撤销班次取消(烂班)工具',
  230 + type: "撤销班次取消(烂班)工具",
209 nodes: [{ 231 nodes: [{
210 type: "in", 232 type: "in",
211 level: 0, 233 level: 0,
@@ -226,8 +248,30 @@ @@ -226,8 +248,30 @@
226 id: 'card6', 248 id: 'card6',
227 x: 100, 249 x: 100,
228 y: 400, 250 y: 400,
229 - label: '实发调整',  
230 - type: "实发调整", 251 + label: '实发调整工具',
  252 + type: "实发调整工具",
  253 + nodes: [{
  254 + type: "in",
  255 + level: 0,
  256 + enumType: 'call',
  257 + color: '#fff',
  258 +
  259 + },
  260 + {
  261 + type: "out",
  262 + level: 0,
  263 + enumType: 'call',
  264 + color: '#3C8CE7',
  265 + }
  266 + ],
  267 + titleBarColor: ['#3950e8', '#25f6d0']
  268 + },
  269 + {
  270 + id: 'card7',
  271 + x: 100,
  272 + y: 400,
  273 + label: '实发撤销工具',
  274 + type: "实发撤销工具",
231 nodes: [{ 275 nodes: [{
232 type: "in", 276 type: "in",
233 level: 0, 277 level: 0,
@@ -248,8 +292,8 @@ @@ -248,8 +292,8 @@
248 id: 'card7', 292 id: 'card7',
249 x: 100, 293 x: 100,
250 y: 400, 294 y: 400,
251 - label: '实发撤销',  
252 - type: "实发撤销", 295 + label: '发车信息微调工具',
  296 + type: "发车信息微调工具",
253 nodes: [{ 297 nodes: [{
254 type: "in", 298 type: "in",
255 level: 0, 299 level: 0,
@@ -270,8 +314,8 @@ @@ -270,8 +314,8 @@
270 id: 'card8', 314 id: 'card8',
271 x: 100, 315 x: 100,
272 y: 400, 316 y: 400,
273 - label: '新增临加班次',  
274 - type: "新增临加班次", 317 + label: '新增临加班次工具',
  318 + type: "新增临加班次工具",
275 nodes: [{ 319 nodes: [{
276 type: "in", 320 type: "in",
277 level: 0, 321 level: 0,
@@ -292,8 +336,8 @@ @@ -292,8 +336,8 @@
292 id: 'card9', 336 id: 'card9',
293 x: 100, 337 x: 100,
294 y: 400, 338 y: 400,
295 - label: '调整人车',  
296 - type: "调整人车", 339 + label: '调整人车工具',
  340 + type: "调整人车工具",
297 nodes: [{ 341 nodes: [{
298 type: "in", 342 type: "in",
299 level: 0, 343 level: 0,
@@ -314,8 +358,8 @@ @@ -314,8 +358,8 @@
314 id: 'card10', 358 id: 'card10',
315 x: 100, 359 x: 100,
316 y: 400, 360 y: 400,
317 - label: '指令重发',  
318 - type: "指令重发", 361 + label: '指令重发工具',
  362 + type: "指令重发工具",
319 nodes: [{ 363 nodes: [{
320 type: "in", 364 type: "in",
321 level: 0, 365 level: 0,
@@ -336,8 +380,8 @@ @@ -336,8 +380,8 @@
336 id: 'card11', 380 id: 'card11',
337 x: 100, 381 x: 100,
338 y: 400, 382 y: 400,
339 - label: '路牌对调',  
340 - type: "路牌对调", 383 + label: '路牌对调工具',
  384 + type: "路牌对调工具",
341 nodes: [{ 385 nodes: [{
342 type: "in", 386 type: "in",
343 level: 0, 387 level: 0,
@@ -358,8 +402,8 @@ @@ -358,8 +402,8 @@
358 id: 'card12', 402 id: 'card12',
359 x: 100, 403 x: 100,
360 y: 400, 404 y: 400,
361 - label: '误点调整',  
362 - type: "误点调整", 405 + label: '误点调整工具',
  406 + type: "误点调整工具",
363 nodes: [{ 407 nodes: [{
364 type: "in", 408 type: "in",
365 level: 0, 409 level: 0,
src/main/resources/static/real_control_v2/js/north/toolbar.js
@@ -37,7 +37,7 @@ var gb_northToolbar = (function () { @@ -37,7 +37,7 @@ var gb_northToolbar = (function () {
37 $('.north .north-toolbar .exit-system').on('click', function () { 37 $('.north .north-toolbar .exit-system').on('click', function () {
38 //调度员退出时提示未全部完成班次的线路 38 //调度员退出时提示未全部完成班次的线路
39 //默认只取一个角色 39 //默认只取一个角色
40 - if(user.roles[0].codeName == "LG_DDY" || user.roles[0].codeName == "LG_GLY" || user.roles[0].codeName == "BSTH_A"){ 40 + if(user.roles[0].codeName == "LG_DDY" || user.roles[0].codeName == "LG_GLY"){
41 //提示未完成线路 搜索该用户下所有的线路 判断是否完成 41 //提示未完成线路 搜索该用户下所有的线路 判断是否完成
42 $.get('/logZndd/LineUserAll', {userId: user.id}, function (rs) { 42 $.get('/logZndd/LineUserAll', {userId: user.id}, function (rs) {
43 if(rs.length > 0){ 43 if(rs.length > 0){
src/main/resources/static/real_control_v2/zndd/type/dkl.html
@@ -432,9 +432,9 @@ @@ -432,9 +432,9 @@
432 gb_common.$post('/realSchedule', data, function (rs) { 432 gb_common.$post('/realSchedule', data, function (rs) {
433 notify_succ('新增临加班次成功'); 433 notify_succ('新增临加班次成功');
434 cb && cb(rs); 434 cb && cb(rs);
435 - var folder = '/real_control_v2/zndd/yanshi'; 435 + /*var folder = '/real_control_v2/zndd/yanshi';
436 open_modal(folder + '/yanshi.html', { 436 open_modal(folder + '/yanshi.html', {
437 - }, {center: true, bgclose: false, modal: true}); 437 + }, {center: true, bgclose: false, modal: true});*/
438 }, err); 438 }, err);
439 } 439 }
440 440
src/main/resources/static/real_control_v2/zndd/type/fcjg.html
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 <div class="uk-modal-dialog" style="width: 920px;"> 2 <div class="uk-modal-dialog" style="width: 920px;">
3 <a href="" class="uk-modal-close uk-close"></a> 3 <a href="" class="uk-modal-close uk-close"></a>
4 <div class="uk-modal-header"> 4 <div class="uk-modal-header">
5 - <h2>新增临加班次</h2></div> 5 + <h2>发车间隔</h2></div>
6 <div class="uk-grid uk-width-3-5" style="float: left"> 6 <div class="uk-grid uk-width-3-5" style="float: left">
7 <div class="uk-width-5-5"> 7 <div class="uk-width-5-5">
8 <form class="uk-form uk-form-horizontal"> </form> 8 <form class="uk-form uk-form-horizontal"> </form>
src/main/resources/static/real_control_v2/zndd/type/mz.html
@@ -448,7 +448,7 @@ @@ -448,7 +448,7 @@
448 448
449 <div class="uk-width-1-1"> 449 <div class="uk-width-1-1">
450 <div class="uk-form-row"> 450 <div class="uk-form-row">
451 - <label class="uk-form-label">车内视频:</label> 451 + <label class="uk-form-label">车内情况:</label>
452 </div> 452 </div>
453 </div> 453 </div>
454 </div> 454 </div>