diff --git a/src/jmapNew/config/skinCode/chengdu_03.js b/src/jmapNew/config/skinCode/chengdu_03.js index dfd3ca0b6..e6c1843bd 100644 --- a/src/jmapNew/config/skinCode/chengdu_03.js +++ b/src/jmapNew/config/skinCode/chengdu_03.js @@ -451,7 +451,8 @@ class SkinCode extends defaultStyle { stroke: '#FFFFFF', // 框的颜色 fill: 'rgba(0,0,0,0)', // 填充色 radiusR: 6, // 控制灯大小 - controlColor: '#b5b3b3' // 控制灯颜色 (灰色) + controlColor: '#b5b3b3', // 控制灯颜色 (灰色) + lightColor: '#FFFF00' // 控制灯亮颜色 } }; this[deviceType.AutomaticRoute] = { @@ -465,7 +466,8 @@ class SkinCode extends defaultStyle { lamp: { fill: 'rgba(0,0,0,0)', // 填充色 radiusR: 6, // 控制灯大小 - controlColor: '#b5b3b3' // 控制灯颜色 (灰色) + controlColor: '#b5b3b3', // 控制灯颜色 (灰色) + lightColor: '#FFFF00' // 控制灯亮颜色 } }; this[deviceType.AutoTurnBack] = { diff --git a/src/jmapNew/map.js b/src/jmapNew/map.js index b8036bf9b..2c215efd5 100644 --- a/src/jmapNew/map.js +++ b/src/jmapNew/map.js @@ -331,6 +331,13 @@ class Jlmap { if (elem.deviceType === 'ROUTE') { // 处理进路数据状态 store.dispatch('map/updateRouteState', elem); const route = this.routeData[code]; + if (route.automaticRouteCode) { + const automaticRoute = this.mapDevice[route.automaticRouteCode]; + const automaticRouteStatus = {fleetMode: elem.fleetMode}; + if (this.hookHandle(automaticRoute, automaticRouteStatus)) { + this.$painter.update(automaticRoute); + } + } const signalDevice = this.mapDevice[route.startSignalCode]; const signalStatus = {atsControl: elem.atsControl, fleetMode: elem.fleetMode}; if (this.hookHandle(signalDevice, signalStatus)) { @@ -346,7 +353,6 @@ class Jlmap { // } } } - }); // 状态后处理 diff --git a/src/jmapNew/shape/AutomacticRoute/index.js b/src/jmapNew/shape/AutomacticRoute/index.js index 64138eaff..17979cb80 100644 --- a/src/jmapNew/shape/AutomacticRoute/index.js +++ b/src/jmapNew/shape/AutomacticRoute/index.js @@ -90,6 +90,11 @@ export default class AutomacticRoute extends Group { // 设置状态 setState(model) { if (!this.isShowShape) return; + if (this.model.fleetMode) { + this.control && this.control.setStyle('fill', this.style.AutomaticRoute.lamp.lightColor); + } else { + this.control && this.control.setStyle('fill', this.style.AutomaticRoute.lamp.controlColor); + } } createMouseEvent() { diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/childDialog/confirmControl.vue b/src/jmapNew/theme/beijing_01/menus/dialog/childDialog/confirmControl.vue index c88b22dad..f9170b199 100644 --- a/src/jmapNew/theme/beijing_01/menus/dialog/childDialog/confirmControl.vue +++ b/src/jmapNew/theme/beijing_01/menus/dialog/childDialog/confirmControl.vue @@ -13,7 +13,7 @@ >
@@ -29,7 +29,7 @@ diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/routeControl.vue b/src/jmapNew/theme/beijing_01/menus/dialog/routeControl.vue index 8c5d0e597..97c59122f 100644 --- a/src/jmapNew/theme/beijing_01/menus/dialog/routeControl.vue +++ b/src/jmapNew/theme/beijing_01/menus/dialog/routeControl.vue @@ -36,7 +36,9 @@ diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/standRunLevel.vue b/src/jmapNew/theme/beijing_01/menus/dialog/standRunLevel.vue index f313760e7..701682405 100644 --- a/src/jmapNew/theme/beijing_01/menus/dialog/standRunLevel.vue +++ b/src/jmapNew/theme/beijing_01/menus/dialog/standRunLevel.vue @@ -1,80 +1,101 @@ \ No newline at end of file +}; + diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/standStopTime.vue b/src/jmapNew/theme/beijing_01/menus/dialog/standStopTime.vue index 2c8c95504..ccbfff692 100644 --- a/src/jmapNew/theme/beijing_01/menus/dialog/standStopTime.vue +++ b/src/jmapNew/theme/beijing_01/menus/dialog/standStopTime.vue @@ -61,14 +61,12 @@ 取 消 - diff --git a/src/jmapNew/theme/beijing_01/menus/menuSection.vue b/src/jmapNew/theme/beijing_01/menus/menuSection.vue index 28e1338fb..5ceeaab81 100644 --- a/src/jmapNew/theme/beijing_01/menus/menuSection.vue +++ b/src/jmapNew/theme/beijing_01/menus/menuSection.vue @@ -3,8 +3,6 @@ - - @@ -13,9 +11,7 @@