diff --git a/public/iscsMenuIcon.svg b/public/iscsMenuIcon.svg new file mode 100644 index 0000000..9d9762f --- /dev/null +++ b/public/iscsMenuIcon.svg @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/configs/iscsStyleConfig.ts b/src/configs/iscsStyleConfig.ts index f51f237..1ea6482 100644 --- a/src/configs/iscsStyleConfig.ts +++ b/src/configs/iscsStyleConfig.ts @@ -3,65 +3,115 @@ 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', + icon: 'svguse:../iscsMenuIcon.svg#icon-Plan', + activeIcon: 'svguse:../iscsMenuIcon.svg#icon-Plan-active', sunMenu: [{ sunMenuName: '子目录' }], }, { - menuName: '乘客信息', + menuName: 'PSCADA', + icon: 'svguse:../iscsMenuIcon.svg#icon-PSCADA', + activeIcon: 'svguse:../iscsMenuIcon.svg#icon-PSCADA-active', sunMenu: [{ sunMenuName: '子目录' }], }, { - menuName: '闭路电视', + menuName: 'BAS', + icon: 'svguse:../iscsMenuIcon.svg#icon-BAS', + activeIcon: 'svguse:../iscsMenuIcon.svg#icon-BAS-active', + sunMenu: [{ sunMenuName: '子目录' }], + }, + { + menuName: 'FAS', + icon: 'svguse:../iscsMenuIcon.svg#icon-FAS', + activeIcon: 'svguse:../iscsMenuIcon.svg#icon-FAS-active', sunMenu: [ - { sunMenuName: '车站控制' }, - { sunMenuName: '车站时序' }, - { sunMenuName: '车站时序编辑' }, - { sunMenuName: '车站设备状态' }, + { sunMenuName: '设备分区图' }, + { sunMenuName: '火灾报警平面图' }, + { sunMenuName: 'FAS气灭系统图' }, ], }, { - menuName: '屏蔽门', + menuName: 'TFDS', + icon: 'svguse:../iscsMenuIcon.svg#icon-TFDS', + activeIcon: 'svguse:../iscsMenuIcon.svg#icon-TFDS-active', + sunMenu: [{ sunMenuName: '子目录' }], + }, + { + menuName: 'AFC', + icon: 'svguse:../iscsMenuIcon.svg#icon-AFC', + activeIcon: 'svguse:../iscsMenuIcon.svg#icon-AFC-active', sunMenu: [{ sunMenuName: '屏蔽门' }], }, { - menuName: '售检票', + menuName: 'CCTV', + icon: 'svguse:../iscsMenuIcon.svg#icon-CCTV', + activeIcon: 'svguse:../iscsMenuIcon.svg#icon-CCTV-active', + sunMenu: [{ sunMenuName: '监控布局图' }, { sunMenuName: 'CCTV设备布局图' }], + }, + { + menuName: 'PIS', + icon: 'svguse:../iscsMenuIcon.svg#icon-PIS', + activeIcon: 'svguse:../iscsMenuIcon.svg#icon-PIS-active', sunMenu: [{ sunMenuName: '子目录' }], }, { - menuName: '门禁', + menuName: 'PA', + icon: 'svguse:../iscsMenuIcon.svg#icon-PA', + activeIcon: 'svguse:../iscsMenuIcon.svg#icon-PA-active', sunMenu: [{ sunMenuName: '子目录' }], }, { - menuName: '防淹门', + menuName: 'SIG/RAD', + icon: 'svguse:../iscsMenuIcon.svg#icon-SIG/RAD', + activeIcon: 'svguse:../iscsMenuIcon.svg#icon-SIG/RAD-active', sunMenu: [{ sunMenuName: '子目录' }], }, { - menuName: '网络状态', + menuName: 'ACS', + icon: 'svguse:../iscsMenuIcon.svg#icon-ACS', + activeIcon: 'svguse:../iscsMenuIcon.svg#icon-ACS-active', + sunMenu: [{ sunMenuName: '子目录' }], + }, + { + menuName: 'PSD', + icon: 'svguse:../iscsMenuIcon.svg#icon-PSD', + activeIcon: 'svguse:../iscsMenuIcon.svg#icon-PSD-active', + sunMenu: [{ sunMenuName: '子目录' }], + }, + { + menuName: 'FG', + icon: 'svguse:../iscsMenuIcon.svg#icon-FG', + activeIcon: 'svguse:../iscsMenuIcon.svg#icon-FG-active', + sunMenu: [{ sunMenuName: '子目录' }], + }, + { + menuName: 'ALM', + icon: 'svguse:../iscsMenuIcon.svg#icon-ALM', + activeIcon: 'svguse:../iscsMenuIcon.svg#icon-ALM-active', + sunMenu: [{ sunMenuName: '子目录' }], + }, + { + menuName: 'NMS', + icon: 'svguse:../iscsMenuIcon.svg#icon-NMS', + activeIcon: 'svguse:../iscsMenuIcon.svg#icon-NMS-active', + sunMenu: [{ sunMenuName: '子目录' }], + }, + { + menuName: 'OPS', + icon: 'svguse:../iscsMenuIcon.svg#icon-OPS', + activeIcon: 'svguse:../iscsMenuIcon.svg#icon-OPS-active', + sunMenu: [{ sunMenuName: '子目录' }], + }, + { + menuName: '数据', + icon: 'svguse:../iscsMenuIcon.svg#icon-Data', + activeIcon: 'svguse:../iscsMenuIcon.svg#icon-Data-active', + sunMenu: [{ sunMenuName: '子目录' }], + }, + { + menuName: '联动', + icon: 'svguse:../iscsMenuIcon.svg#icon-Linkage', + activeIcon: 'svguse:../iscsMenuIcon.svg#icon-Linkage-active', sunMenu: [{ sunMenuName: '子目录' }], }, ]; diff --git a/src/drawApp/iscsApp.ts b/src/drawApp/iscsApp.ts index 6ccccb9..bf787ff 100644 --- a/src/drawApp/iscsApp.ts +++ b/src/drawApp/iscsApp.ts @@ -161,7 +161,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 ( @@ -174,7 +174,7 @@ export async function loadDrawDatas(): Promise { } } break; - case '车站控制': + case '监控布局图': for (let i = 0; i < storage.cctvOfStationControlStorages.length; i++) { const ctvOfStationControl = storage.cctvOfStationControlStorages[i]; if ( @@ -231,7 +231,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 ( @@ -247,7 +247,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 5008850..242786e 100644 --- a/src/layouts/IscsDrawLayout.vue +++ b/src/layouts/IscsDrawLayout.vue @@ -1,34 +1,13 @@