From fff6930df8783d5badba8c7e2c5d6bef6aaf1c95 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Tue, 11 Feb 2020 10:57:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=81=E6=B3=A2=E7=BA=BF=20=E9=81=93?= =?UTF-8?q?=E5=B2=94=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jmapNew/constant/deviceState.js | 6 ++++++ src/jmapNew/theme/ningbo_01/menus/menuSwitch.vue | 1 + 2 files changed, 7 insertions(+) diff --git a/src/jmapNew/constant/deviceState.js b/src/jmapNew/constant/deviceState.js index d022b5bbf..a1985fb85 100644 --- a/src/jmapNew/constant/deviceState.js +++ b/src/jmapNew/constant/deviceState.js @@ -43,6 +43,12 @@ deviceState[deviceType.Section] = { }; deviceState[deviceType.Switch] = { + singleLock:1, // 是否单锁 + blockade:0, //是否封锁 + routeLock:0, //是否进路锁闭 + overlapLock:0, //是否进路延续保护锁闭 + normalPosition:1, // 是否定位 + reversePosition:0, //是否反位 /** 定位状态*/ // locateType: { // Default: '01', /** 道岔位置类型 - 定位(缺省值)*/ diff --git a/src/jmapNew/theme/ningbo_01/menus/menuSwitch.vue b/src/jmapNew/theme/ningbo_01/menus/menuSwitch.vue index 9d34d1515..e1426223e 100644 --- a/src/jmapNew/theme/ningbo_01/menus/menuSwitch.vue +++ b/src/jmapNew/theme/ningbo_01/menus/menuSwitch.vue @@ -147,6 +147,7 @@ export default { }, initMenu() { // 编辑模式菜单列表 + debugger; this.menu = MenuContextHandler.covert(this.menuNormal); // 故障模式菜单列表 if (this.operatemode === OperateMode.FAULT) {