diff --git a/src/scripts/ConstDic.js b/src/scripts/ConstDic.js index 19eb00178..9794cd7c4 100644 --- a/src/scripts/ConstDic.js +++ b/src/scripts/ConstDic.js @@ -405,7 +405,8 @@ export const ClientList = [ { label: '应急调度', value: 'emergency' }, { label: '运行图加载', value: 'diagramLoad' }, { label: '运行图预览', value: 'diagramPreview' }, - { label: '运行图编制', value: 'diagramEdit' } + { label: '运行图编制', value: 'diagramEdit' }, + { label: '乘客信息发布系统', value: 'pisScreen' } ]; /** 实训类型list */ export const TrainingTypeList = [ diff --git a/src/views/newMap/display/terminals/index.vue b/src/views/newMap/display/terminals/index.vue index 695fc4ee4..1aab1d513 100644 --- a/src/views/newMap/display/terminals/index.vue +++ b/src/views/newMap/display/terminals/index.vue @@ -37,6 +37,7 @@ + +
+
+
+
+
+
+
+
+
+
+
+
{{ item.name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
控制中心
+
停车场
+
车辆段
+
+
+
+
+
+
+
+
+
主所1
+
主所2
+
+
+
+
+ +
+ + + + + diff --git a/src/views/newMap/display/terminals/terminalMenu.vue b/src/views/newMap/display/terminals/terminalMenu.vue index 1e83dee6c..7d8ecd3ff 100644 --- a/src/views/newMap/display/terminals/terminalMenu.vue +++ b/src/views/newMap/display/terminals/terminalMenu.vue @@ -121,7 +121,7 @@ export default { troDetailWork: ['DISPATCHER'], maintainerSelect: ['MAINTAINER'] }; - if (client && client.type) { + if (client && client.type && map[client.type]) { const role = this.$store.state.training.roles; const roleDevice = this.$store.state.training.roleDeviceCode; if (client.deviceCode) { diff --git a/src/views/newMap/newMapdraft/clientConfig.vue b/src/views/newMap/newMapdraft/clientConfig.vue index 94525c5df..dcf4a9156 100644 --- a/src/views/newMap/newMapdraft/clientConfig.vue +++ b/src/views/newMap/newMapdraft/clientConfig.vue @@ -63,7 +63,8 @@ export default { { label: 'BaSiDi', key: 'baSiDi' }, { label: '轨道总览', key: 'troWork' }, { label: '轨道详览', key: 'troDetailWork' }, - { label: '通号端', key: 'maintainerSelect' } + { label: '通号端', key: 'maintainerSelect' }, + { label: '乘客信息发布系统', key: 'pisScreen' } ] }; }, diff --git a/src/views/newMap/newMapdraft/mapoperate/terminals/terminals.vue b/src/views/newMap/newMapdraft/mapoperate/terminals/terminals.vue index 3d1395be2..9c21ec3de 100644 --- a/src/views/newMap/newMapdraft/mapoperate/terminals/terminals.vue +++ b/src/views/newMap/newMapdraft/mapoperate/terminals/terminals.vue @@ -282,6 +282,11 @@ export default { isShow: () => type === 'METRO' }, + { + name: '乘客信息发布系统', + code: 'pisScreen', + isShow: () => type === 'METRO' + }, { name: '大屏', code: 'bigScreen',