From 2e7a2cab70da46849d7c3b413f6236993930e946 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Mon, 22 Aug 2022 17:24:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E9=93=81=E9=A1=B9=E7=9B=AE=20?= =?UTF-8?q?=E8=BD=A6=E5=8A=A1=E7=AE=A1=E7=90=86=E7=BB=88=E7=AB=AF=20?= =?UTF-8?q?=E5=87=BA=E5=85=A5=E5=8F=A3=E5=8F=91=E5=B8=83=E7=94=9F=E6=95=88?= =?UTF-8?q?=E5=8C=BA=20=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 --- .../theme/components/utils/menuOperate.js | 5 + src/scripts/cmdPlugin/CommandEnum.js | 1 + src/scripts/cmdPlugin/OperationHandler.js | 7 ++ src/views/bigTrainRunplanManage/index.vue | 5 +- .../stationDirection.vue | 110 ++++++++++++++++++ 5 files changed, 126 insertions(+), 2 deletions(-) create mode 100644 src/views/bigTrainRunplanManage/stationDirection.vue diff --git a/src/jmapNew/theme/components/utils/menuOperate.js b/src/jmapNew/theme/components/utils/menuOperate.js index 925cbdd18..2a91b5e1e 100644 --- a/src/jmapNew/theme/components/utils/menuOperate.js +++ b/src/jmapNew/theme/components/utils/menuOperate.js @@ -796,6 +796,11 @@ export const menuOperate = { operation: OperationEvent.CTCCommand.getTrainFixedPath.menu.operation, cmdType: CMD.CTC.CTC_REGULAR_TRAIN_LINE_LIST }, + // 出入口发布生效区 + releaseStationDirection:{ + operation: OperationEvent.CTCCommand.releaseStationDirection.menu.operation, + cmdType: CMD.CTC.CTC_STATION_IO_GATE_PUBLISH + }, setRoute: { operation: OperationEvent.CTCCommand.setRoute.menu.operation, cmdType: CMD.CTC.CTC_SET_ROUTE diff --git a/src/scripts/cmdPlugin/CommandEnum.js b/src/scripts/cmdPlugin/CommandEnum.js index 5b470cbbd..2e7506999 100644 --- a/src/scripts/cmdPlugin/CommandEnum.js +++ b/src/scripts/cmdPlugin/CommandEnum.js @@ -452,6 +452,7 @@ export default { CTC_STATION_DETAIL_LIST:{value: 'STATION_DETAIL_LIST', label: ' 获取股道列表'}, CTC_REGULAR_TRAIN_LINE_LIST:{value: 'REGULAR_TRAIN_LINE_LIST', label: ' 获取固定列车径路'}, CTC_STATION_DETAIL_EDIT:{value: 'STATION_DETAIL_EDIT', label: '修改股道信息'}, + CTC_STATION_IO_GATE_PUBLISH:{value: 'STATION_IO_GATE_PUBLISH', label: '出入口发布生效区'}, CTC_SET_ROUTE:{value: 'CTC_SET_ROUTE', label: 'CTC办理进路'}, diff --git a/src/scripts/cmdPlugin/OperationHandler.js b/src/scripts/cmdPlugin/OperationHandler.js index 93daf0dd6..9ad1c1bf6 100644 --- a/src/scripts/cmdPlugin/OperationHandler.js +++ b/src/scripts/cmdPlugin/OperationHandler.js @@ -3993,6 +3993,13 @@ export const OperationEvent = { operation: '1154', domId: '_Tips-CTC-modifyStationTrack-Menu{TOP}' } + }, + // 出入口发布生效区 + releaseStationDirection:{ + menu: { + operation: '1155', + domId: '_Tips-CTC-releaseStationDirection-Menu{TOP}' + } } // CTC_ZONE_SAVE_TRIP_NUMBER // CTC_ZONE_SAVE_STATION diff --git a/src/views/bigTrainRunplanManage/index.vue b/src/views/bigTrainRunplanManage/index.vue index cdf6d8d35..b4cc585f1 100644 --- a/src/views/bigTrainRunplanManage/index.vue +++ b/src/views/bigTrainRunplanManage/index.vue @@ -3,7 +3,7 @@
车站股道
-
车站出入口
+
车站出入口
列车固定路径
车站用户管理
备份区名称
@@ -37,6 +37,7 @@ import { getToken } from '@/utils/auth'; import StationTrack from './stationTrack'; import TrainFixedPath from './trainFixedPath'; +import StationDirection from './stationDirection'; import { loadMapDataById } from '@/utils/loaddata'; import { creatSubscribe, clearSubscribe, getTopic, displayTopic } from '@/utils/stomp'; import NoticeInfo from '@/jmapNew/theme/components/menus/childDialog/noticeInfo'; @@ -97,7 +98,7 @@ export default { this.currentTabs = tabs.filter(tab => tab.name !== targetName); }, addTab(name) { - const nameMap = {'StationTrack':{title:'车站股道', component:StationTrack }, 'TrainFixedPath':{title:'列车固定路径', component:TrainFixedPath}}; + const nameMap = {'StationTrack':{title:'车站股道', component:StationTrack }, 'TrainFixedPath':{title:'列车固定路径', component:TrainFixedPath}, 'StationDirection':{title:'出入口', component:StationDirection}}; const findTab = this.currentTabs.find(tab=>{ return tab.name == name; }); diff --git a/src/views/bigTrainRunplanManage/stationDirection.vue b/src/views/bigTrainRunplanManage/stationDirection.vue new file mode 100644 index 000000000..b0a280052 --- /dev/null +++ b/src/views/bigTrainRunplanManage/stationDirection.vue @@ -0,0 +1,110 @@ + + +