diff --git a/src/api/jmap/mapdraft.js b/src/api/jmap/mapdraft.js index 6a391e915..810320343 100644 --- a/src/api/jmap/mapdraft.js +++ b/src/api/jmap/mapdraft.js @@ -660,3 +660,17 @@ export function checkConfig(mapId, data) { }); } // { check: true/false } (body体) +// 进路数据处理删除扣车 +export function deleteDetain(mapId) { + return request({ + url: `/api/draftMap/${mapId}/route/handle/standHoldList/delete`, + method: 'put' + }); +} +// 进路数据处理不办延续保护 +export function noOverlap(mapId) { + return request({ + url: `/api/draftMap/${mapId}/route/handle/setOverlapInCtc/false`, + method: 'put' + }); +} diff --git a/src/jmapNew/shape/graph/Psd/ESafeDoor.js b/src/jmapNew/shape/graph/Psd/ESafeDoor.js index 4d282040d..ec41ba0d1 100644 --- a/src/jmapNew/shape/graph/Psd/ESafeDoor.js +++ b/src/jmapNew/shape/graph/Psd/ESafeDoor.js @@ -44,8 +44,8 @@ class ESafeDoor extends Group { }, style: { lineWidth: 0, - stroke:style.backgroundColor, - fill:style.backgroundColor + stroke: style.backgroundColor, + fill: style.backgroundColor // stroke: style.Psd.safetyDoorNormal.defaultColor, // fill: style.Psd.safetyDoorNormal.defaultColor } @@ -72,11 +72,12 @@ class ESafeDoor extends Group { } else if (model.fault == 'PSD_CANNOT_BE_CLOSED') { this.safeC.show(); } + } else { + model.screenDoorOpenStatus == 0 ? this.safeC.show() : this.safeC.hide(); + } + if (model.interlockRelease) { const style = this.model.style; this.setColor(style.Psd.safetyDoorNormal.splitDoorColor); - } else { - // model.screenDoorOpenStatus == 0 ? this.safeC.hide() : this.safeC.show(); - model.screenDoorOpenStatus == 0 ? this.safeC.show() : this.safeC.hide(); } } diff --git a/src/jmapNew/shape/graph/Signal/index.js b/src/jmapNew/shape/graph/Signal/index.js index cac40d689..24f23586e 100644 --- a/src/jmapNew/shape/graph/Signal/index.js +++ b/src/jmapNew/shape/graph/Signal/index.js @@ -612,8 +612,8 @@ class Signal extends Group { } } else { this.cbtcStatus = ''; - this.lamps[0] && this.lamps[0].setColor(this.style.Signal.lamp.greenColor); - this.lamps[1] && this.lamps[1].setColor(this.style.backgroundColor); // 设置黑色 + this.lamps[1] && this.lamps[1].setColor(this.style.Signal.lamp.greenColor); + this.lamps[0] && this.lamps[0].setColor(this.style.backgroundColor); // 设置黑色 this.virtualSignal && this.virtualSignal.setColor(this.style.Signal.lamp.blueColor); if (this.style.Signal.lamp.guidName === 'doubleAndBase') { // 设置底座颜色 this.sigPost.setColor('#00FF00'); @@ -636,8 +636,8 @@ class Signal extends Group { } } else { this.cbtcStatus = ''; - this.lamps[0] && this.lamps[0].setColor(this.style.Signal.lamp.yellowColor); - this.lamps[1] && this.lamps[1].setColor(this.style.backgroundColor); + this.lamps[1] && this.lamps[1].setColor(this.style.Signal.lamp.yellowColor); + this.lamps[0] && this.lamps[0].setColor(this.style.backgroundColor); if (this.style.Signal.lamp.guidName === 'doubleAndBase') { // 设置底座颜色 this.sigPost.setColor('#00FF00'); if (this.model.logicLight) { // 设置哈尔滨逻辑点灯 颜色 diff --git a/src/jmapNew/shape/graph/StationStand/EReentry.js b/src/jmapNew/shape/graph/StationStand/EReentry.js index 4ebcbc31f..1d3fa74e5 100644 --- a/src/jmapNew/shape/graph/StationStand/EReentry.js +++ b/src/jmapNew/shape/graph/StationStand/EReentry.js @@ -38,7 +38,7 @@ class EReentry extends Group { setColor(color) { this.create(); - this.reentry.setStyle('textFill', color); + this.reentry.setStyle('fill', color); } hideMode() { @@ -56,16 +56,16 @@ class EReentry extends Group { setState(model) { const style = this.model.style; - let reentryStrategy = ''; - if (model.reentryStrategy !== '04') { - reentryStrategy = model.reentryStrategy; + let typeStrategy = ''; + if (model.typeStrategy !== '04') { + typeStrategy = model.typeStrategy; } else { - reentryStrategy = model.defaultReentryStrategy; + typeStrategy = model.defaultReentryStrategy; } - switch (reentryStrategy) { + switch (typeStrategy) { case 'DEFAULT': /** 默认*/ case 'NONE': { - this.reentry && this.reentry.hideMode(); /** 无折返策略*/ + this.reentry && this.hideMode(); /** 无折返策略*/ break; } case 'UNMANNED': { diff --git a/src/jmapNew/theme/xian_01/menus/menuSignal.vue b/src/jmapNew/theme/xian_01/menus/menuSignal.vue index 1d03576ea..b08e86539 100644 --- a/src/jmapNew/theme/xian_01/menus/menuSignal.vue +++ b/src/jmapNew/theme/xian_01/menus/menuSignal.vue @@ -245,6 +245,14 @@ export default { initMenu() { this.menu = MenuContextHandler.covert(this.menuNormal); // 故障模式菜单列表 + const menuItem = this.menu.find( item => item.cmdType === CMD.Signal.CMD_SIGNAL_SET_CI_AUTO); + const menuItemDisabled = menuItem.disabled; + menuItem.disabled = true; + this.routeList.forEach(route => { + if (route.startSignalCode === this.selected.code && route.flt) { + menuItem.disabled = menuItemDisabled; + } + }); if (this.operatemode === OperateMode.FAULT) { this.menu = this.menuForce; } diff --git a/src/scripts/cmdPlugin/Config.js b/src/scripts/cmdPlugin/Config.js index c5c815e81..f5dffe8d6 100644 --- a/src/scripts/cmdPlugin/Config.js +++ b/src/scripts/cmdPlugin/Config.js @@ -49,7 +49,8 @@ export const deviceFaultType = { ], StationStand: [ {label: '屏蔽门无法关闭', value: 'PSD_CANNOT_BE_CLOSED'}, - {label: '屏蔽门无法开启', value: 'PSD_CANNOT_BE_OPENED'} + {label: '屏蔽门无法开启', value: 'PSD_CANNOT_BE_OPENED'}, + {label: '无关闭锁紧信号', value: 'NO_CLOSE_AND_LOCK'} ], ZcControl:[ {label: 'zc故障', value: 'FAULT'} @@ -87,7 +88,8 @@ export const deviceFaultMap = { }, StationStand: { PSD_CANNOT_BE_CLOSED: '屏蔽门无法关闭', - PSD_CANNOT_BE_OPENED: '屏蔽门无法开启' + PSD_CANNOT_BE_OPENED: '屏蔽门无法开启', + NO_CLOSE_AND_LOCK: '无关闭锁紧信号' }, ZcControl: { FAULT: 'zc故障' diff --git a/src/views/newMap/chatView/chatBox.vue b/src/views/newMap/chatView/chatBox.vue index 5d7c5f91c..bb79141f6 100644 --- a/src/views/newMap/chatView/chatBox.vue +++ b/src/views/newMap/chatView/chatBox.vue @@ -1434,5 +1434,6 @@ export default { .teleNameIn{ width: 16px; white-space: pre-wrap; + font-size:16px; } diff --git a/src/views/newMap/displayCity/menuSystemTime.vue b/src/views/newMap/displayCity/menuSystemTime.vue index c237cc3d2..82bd57c7d 100644 --- a/src/views/newMap/displayCity/menuSystemTime.vue +++ b/src/views/newMap/displayCity/menuSystemTime.vue @@ -149,6 +149,7 @@ export default { background: #404040; color: #1DEA1E; text-align: center; + font-size: 16px; } diff --git a/src/views/newMap/displayNew/menuSystemTime.vue b/src/views/newMap/displayNew/menuSystemTime.vue index df2cb90d8..ad59c8301 100644 --- a/src/views/newMap/displayNew/menuSystemTime.vue +++ b/src/views/newMap/displayNew/menuSystemTime.vue @@ -149,6 +149,7 @@ export default { background: #404040; color: #1DEA1E; text-align: center; + font-size: 16px; } diff --git a/src/views/newMap/newMapdraft/ciConfig.vue b/src/views/newMap/newMapdraft/ciConfig.vue index 979d94761..cb784771c 100644 --- a/src/views/newMap/newMapdraft/ciConfig.vue +++ b/src/views/newMap/newMapdraft/ciConfig.vue @@ -93,7 +93,7 @@ export default { 'routeNameUseEndOppositeSignalName', 'generateTbRoute', 'tbRouteNameUseEndOppositeSignalName', 'routeSignalAlwaysGreen', 'routeApartByOverlap', 'overlapOnlySwitch', 'overlapSwitchNpOnly', 'overlapSignalOppositeSwitchNpOnly', 'generateCycle', 'routeButton', 'likeHa1', 'getNearlySignal', 'overlapSettingByTrigger', 'generateFls', 'signalApproachNotPassPreSignal', - 'generateDestination', 'ctcOverlapOnlyTurnBackStationLock' + 'generateDestination', 'ctcOverlapOnlyTurnBackStationLock', 'routeInterlockDoNotIncludeStandHoldTrain' ], multipleList: ['sharingECStations'], selectList: [], @@ -127,7 +127,8 @@ export default { signalApproachNotPassPreSignal:'信号机接近区段不跨过前方同向信号机', generateDestination: '是否生成目的地码定义(泰雷兹)', sharingECStations: '共享紧急关闭效果的车站', - ctcOverlapOnlyTurnBackStationLock: 'CTC列车进路延续保护仅折返站处锁闭' + ctcOverlapOnlyTurnBackStationLock: 'CTC列车进路延续保护仅折返站处锁闭', + routeInterlockDoNotIncludeStandHoldTrain: '进路联锁不包含站台扣车' } }; }, diff --git a/src/views/newMap/newMapdraft/dataRelation/routeoperate/detail.vue b/src/views/newMap/newMapdraft/dataRelation/routeoperate/detail.vue index c12f4ef4d..648320f07 100644 --- a/src/views/newMap/newMapdraft/dataRelation/routeoperate/detail.vue +++ b/src/views/newMap/newMapdraft/dataRelation/routeoperate/detail.vue @@ -1,6 +1,6 @@