From 8afe793ea5ab39fef471c8538493978c5e98999a Mon Sep 17 00:00:00 2001 From: joylink_zhaoerwei Date: Sun, 29 Sep 2024 18:43:11 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=98=E5=88=B6=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/configs/iscsStyleConfig.ts | 88 ++++--- src/drawApp/iscsApp.ts | 8 +- src/layouts/IscsDrawLayout.vue | 430 ++++++++++++++++++++++++++++++--- src/stores/draw-store.ts | 8 +- 4 files changed, 449 insertions(+), 85 deletions(-) diff --git a/src/configs/iscsStyleConfig.ts b/src/configs/iscsStyleConfig.ts index f51f237..a1ed1f2 100644 --- a/src/configs/iscsStyleConfig.ts +++ b/src/configs/iscsStyleConfig.ts @@ -3,65 +3,79 @@ import { IscsStyle } from 'src/api/DraftApi'; //达实智能(福州一号线) const DA_SHI_ZHI_NENG = [ { - menuName: '火灾报警', - sunMenu: [ - { sunMenuName: '站台报警' }, - { sunMenuName: '站厅报警' }, - { sunMenuName: '系统状态' }, - ], - }, - { - menuName: '机电', - sunMenu: [ - { sunMenuName: '大系统' }, - { sunMenuName: '小系统' }, - { sunMenuName: '水系统' }, - { sunMenuName: '照明' }, - { sunMenuName: '电、扶梯' }, - { sunMenuName: '给排水' }, - { sunMenuName: '模式' }, - { sunMenuName: '隧道通风' }, - { sunMenuName: '时间表' }, - { sunMenuName: '权限交接' }, - { sunMenuName: '传感器' }, - { sunMenuName: '车站网络' }, - ], - }, - { - menuName: '广播', + menuName: 'Plan', sunMenu: [{ sunMenuName: '子目录' }], }, { - menuName: '乘客信息', + menuName: 'PSCADA', sunMenu: [{ sunMenuName: '子目录' }], }, { - menuName: '闭路电视', + menuName: 'BAS', + sunMenu: [{ sunMenuName: '子目录' }], + }, + { + menuName: 'FAS', sunMenu: [ - { sunMenuName: '车站控制' }, - { sunMenuName: '车站时序' }, - { sunMenuName: '车站时序编辑' }, - { sunMenuName: '车站设备状态' }, + { sunMenuName: '设备分区图' }, + { sunMenuName: '火灾报警平面图' }, + { sunMenuName: 'FAS气灭系统图' }, ], }, { - menuName: '屏蔽门', + menuName: 'TFDS', + sunMenu: [{ sunMenuName: '子目录' }], + }, + { + menuName: 'AFC', sunMenu: [{ sunMenuName: '屏蔽门' }], }, { - menuName: '售检票', + menuName: 'CCTV', + sunMenu: [{ sunMenuName: '监控布局图' }, { sunMenuName: 'CCTV设备布局图' }], + }, + { + menuName: 'PIS', sunMenu: [{ sunMenuName: '子目录' }], }, { - menuName: '门禁', + menuName: 'PA', sunMenu: [{ sunMenuName: '子目录' }], }, { - menuName: '防淹门', + menuName: 'SIG/RAD', sunMenu: [{ sunMenuName: '子目录' }], }, { - menuName: '网络状态', + menuName: 'ACS', + sunMenu: [{ sunMenuName: '子目录' }], + }, + { + menuName: 'PSD', + sunMenu: [{ sunMenuName: '子目录' }], + }, + { + menuName: 'FG', + sunMenu: [{ sunMenuName: '子目录' }], + }, + { + menuName: 'ALM', + sunMenu: [{ sunMenuName: '子目录' }], + }, + { + menuName: 'NMS', + sunMenu: [{ sunMenuName: '子目录' }], + }, + { + menuName: 'OPS', + sunMenu: [{ sunMenuName: '子目录' }], + }, + { + menuName: '数据', + sunMenu: [{ sunMenuName: '子目录' }], + }, + { + menuName: '联动', sunMenu: [{ sunMenuName: '子目录' }], }, ]; diff --git a/src/drawApp/iscsApp.ts b/src/drawApp/iscsApp.ts index e08731b..869a90b 100644 --- a/src/drawApp/iscsApp.ts +++ b/src/drawApp/iscsApp.ts @@ -85,7 +85,7 @@ export async function loadDrawDatas(): Promise { let canvasProperty; switch (drawStore.selectSubmenuAndStation.submenu) { - case '站台报警': + case '火灾报警平面图': for (let i = 0; i < storage.fasPlatformAlarmStorages.length; i++) { const fasPlatformAlarm = storage.fasPlatformAlarmStorages[i]; if ( @@ -98,7 +98,7 @@ export async function loadDrawDatas(): Promise { } } break; - case '车站控制': + case '监控布局图': for (let i = 0; i < storage.cctvOfStationControlStorages.length; i++) { const ctvOfStationControl = storage.cctvOfStationControlStorages[i]; if ( @@ -155,7 +155,7 @@ export function saveDrawDatas(app: IDrawApp) { ); } switch (drawStore.selectSubmenuAndStation.submenu) { - case '站台报警': + case '火灾报警平面图': for (let i = 0; i < storage.fasPlatformAlarmStorages.length; i++) { const asPlatformAlarm = storage.fasPlatformAlarmStorages[i]; if ( @@ -171,7 +171,7 @@ export function saveDrawDatas(app: IDrawApp) { } } break; - case '车站控制': + case '监控布局图': for (let i = 0; i < storage.cctvOfStationControlStorages.length; i++) { const cctvOfStationControl = storage.cctvOfStationControlStorages[i]; if ( diff --git a/src/layouts/IscsDrawLayout.vue b/src/layouts/IscsDrawLayout.vue index 644ec0a..77ccb88 100644 --- a/src/layouts/IscsDrawLayout.vue +++ b/src/layouts/IscsDrawLayout.vue @@ -1,34 +1,13 @@