From ea138e7f3cf274f36f79927b16552feca51bc7ee Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Thu, 7 May 2020 09:42:26 +0800 Subject: [PATCH 1/3] =?UTF-8?q?iscs=E7=B3=BB=E7=BB=9F=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=9C=BA=E7=94=B5=E4=B8=8B=E7=9A=84=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/iscs/iscsSystem/groupNav.vue | 54 +++++++++++++++++++++++++- src/views/iscs/iscsSystem/menuBar.vue | 10 +++-- src/views/iscs/iscsSystem/nav.vue | 54 +++++++++++++++++++++++++- 3 files changed, 111 insertions(+), 7 deletions(-) diff --git a/src/views/iscs/iscsSystem/groupNav.vue b/src/views/iscs/iscsSystem/groupNav.vue index 5c73571b6..f4815f08d 100644 --- a/src/views/iscs/iscsSystem/groupNav.vue +++ b/src/views/iscs/iscsSystem/groupNav.vue @@ -74,14 +74,64 @@ export default { name: '机电', // 未知子菜单 children: [ { - name: '控制模式', + name: '大系统', + type: 'bigSystem', + showType: ['center', 'local'] + }, + { + name: '小系统', + type: 'smallSystem', + showType: ['center', 'local'] + }, + { + name: '水系统', + type: 'waterSystem', + showType: ['center', 'local'] + }, + { + name: '照明', + type: 'lighting', + showType: ['center', 'local'] + }, + { + name: '电-扶梯', + type: 'electricEscalator', + showType: ['center', 'local'] + }, + { + name: '给排水', + type: 'waterSupply', + showType: ['center', 'local'] + }, + { + name: '模式', type: 'controlBAS', showType: ['center', 'local'] }, { - name: '控制权限', + name: '隧道通风', + type: 'tunnelVentilation', + showType: ['center', 'local'] + }, + { + name: '时刻表', + type: 'schedules', + showType: ['center', 'local'] + }, + { + name: '权限交接', type: 'controlPermissionBAS', showType: ['center', 'local'] + }, + { + name: '传感器', + type: 'sensor', + showType: ['center', 'local'] + }, + { + name: '车站网络', + type: 'stationNetwork', + showType: ['center', 'local'] } ] }, { diff --git a/src/views/iscs/iscsSystem/menuBar.vue b/src/views/iscs/iscsSystem/menuBar.vue index 51a2028fe..f017a23af 100644 --- a/src/views/iscs/iscsSystem/menuBar.vue +++ b/src/views/iscs/iscsSystem/menuBar.vue @@ -23,8 +23,7 @@ :id="getDomId(child)" :key="j" class="menu-li" - @mouseenter="selectedClassB(child, j)" - @mouseleave="tempClassB = -1" + @click.stop="selectedClassB(child, j)" > @@ -52,6 +53,7 @@ import AFC from './afc/afc'; import stationHallACS from './acs/stationHallACS'; import standACS from './acs/standACS'; import doorFG from './fg/doorFG'; +import Sensor from './bas/sensor'; export default { components: { @@ -78,7 +80,8 @@ export default { AFC, stationHallACS, standACS, - doorFG + doorFG, + Sensor }, data() { return { diff --git a/src/views/iscsSystem/index.vue b/src/views/iscsSystem/index.vue index 7f37633fa..89242aacf 100644 --- a/src/views/iscsSystem/index.vue +++ b/src/views/iscsSystem/index.vue @@ -167,8 +167,6 @@ export default { }, reSize() { this.$nextTick(() => { - this.width = this.$store.state.config.width; - this.height = this.$store.state.config.height; this.$iscs && this.$iscs.resize({ width: this.width, height: this.height }); }); },