From d2d854b0c0d7d539026302e35a2f7acdb8243dba Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Fri, 22 Jan 2021 17:46:51 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=A2=84=E5=A4=8D=E4=BD=8D=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jmapNew/config/skinCode/foshan_01.js | 4 ++++ src/jmapNew/config/skinCode/fuzhou_01.js | 6 ++++- .../theme/components/utils/menuOperate.js | 2 +- .../theme/foshan_01/menus/menuButton.vue | 3 ++- .../theme/foshan_01/menus/menuSection.vue | 24 +++++++++++++++++++ .../menus/dialog/switchCmdControl.vue | 2 +- .../theme/fuzhou_01/menus/menuSwitch.vue | 2 +- .../theme/fuzhou_01/operationConfig.js | 2 +- .../theme/fuzhou_01/operationConfigGlobal.js | 2 +- .../menus/dialog/switchCmdControl.vue | 2 +- .../menus/dialog/switchCmdControl.vue | 2 +- .../theme/nanjing_02/menus/menuButton.vue | 2 +- .../xian_01/menus/dialog/switchCmdControl.vue | 2 +- .../theme/xian_01/menus/menuSwitch.vue | 2 +- src/jmapNew/theme/xian_01/operationConfig.js | 2 +- src/scripts/cmdPlugin/CommandEnum.js | 2 +- src/utils/baseUrl.js | 4 ++-- 17 files changed, 49 insertions(+), 16 deletions(-) diff --git a/src/jmapNew/config/skinCode/foshan_01.js b/src/jmapNew/config/skinCode/foshan_01.js index ae5e1df6e..3616fb85c 100644 --- a/src/jmapNew/config/skinCode/foshan_01.js +++ b/src/jmapNew/config/skinCode/foshan_01.js @@ -98,6 +98,10 @@ class SkinCode extends defaultStyle { logicalTextColor: '#FFFFFF', // 逻辑区段名称颜色 (未用) invalidColor: '#A25100' // 区段ARB故障颜色 }, + sectionMiddle: { + preResetColor: '#4169E1', // 区段计轴预复位 + z: 2 + }, speedLimit: { // 限速元素 z: 2, width: 1, // 限速线的宽短 diff --git a/src/jmapNew/config/skinCode/fuzhou_01.js b/src/jmapNew/config/skinCode/fuzhou_01.js index 36288a20e..d2eadb400 100644 --- a/src/jmapNew/config/skinCode/fuzhou_01.js +++ b/src/jmapNew/config/skinCode/fuzhou_01.js @@ -6,7 +6,7 @@ class SkinCode extends defaultStyle { super(); this.fontFamily = '宋体'; this[deviceType.Section] = { - elemnetType:['name', 'logicText', 'standTrackText', 'reentryTrackText', 'transferTrackText', 'destinationText', 'line', 'separator', 'speedLimit'], + elemnetType:['name', 'logicText', 'standTrackText', 'reentryTrackText', 'transferTrackText', 'destinationText', 'line', 'separator', 'speedLimit', 'sectionMiddle'], active: { routeColor: false // 进路触发颜色 }, @@ -98,6 +98,10 @@ class SkinCode extends defaultStyle { logicalTextColor: '#FFFFFF', // 逻辑区段名称颜色 (未用) invalidColor: '#A25100' // 区段ARB故障颜色 }, + sectionMiddle: { + preResetColor: '#00FFFF', // 区段计轴预复位 + z: 2 + }, speedLimit: { // 限速元素 z: 2, width: 1, // 限速线的宽短 diff --git a/src/jmapNew/theme/components/utils/menuOperate.js b/src/jmapNew/theme/components/utils/menuOperate.js index b64ae8c53..f5f4f386b 100644 --- a/src/jmapNew/theme/components/utils/menuOperate.js +++ b/src/jmapNew/theme/components/utils/menuOperate.js @@ -224,7 +224,7 @@ export const menuOperate = { axlePreReset:{ // 计轴预复位 operation: OperationEvent.Switch.axlePreReset.menu.operation, - cmdType: CMD.Switch.CMD_SWITCH_AXIS_PRE_RESET + cmdType: CMD.Switch.CMD_SWITCH_AXLE_PRE_RESET }, hookLock:{ // 道岔钩锁 diff --git a/src/jmapNew/theme/foshan_01/menus/menuButton.vue b/src/jmapNew/theme/foshan_01/menus/menuButton.vue index 62cc07233..8125c30c0 100644 --- a/src/jmapNew/theme/foshan_01/menus/menuButton.vue +++ b/src/jmapNew/theme/foshan_01/menus/menuButton.vue @@ -144,7 +144,7 @@