北京一调整

This commit is contained in:
fan 2022-12-08 16:07:58 +08:00
parent 7029394ea8
commit f96368b2ec
3 changed files with 170 additions and 92 deletions

View File

@ -1,6 +1,6 @@
<template>
<div class="menus" :style="{width: width + 'px'}">
<menu-bar v-show="isShowBar" ref="menuBar" :selected="selected" />
<menu-bar ref="menuBar" :selected="selected" />
<menu-station-stand ref="menuStationStand" :selected="selected" :work="'dispatchWork'" />
<menu-switch ref="menuSwitch" :selected="selected" :work="'dispatchWork'" />
<menu-signal ref="menuSignal" :selected="selected" :work="'dispatchWork'" />
@ -54,16 +54,9 @@ export default {
computed: {
...mapGetters('config', [
'width'
]),
isShowBar() {
return this.$store.state.training.prdType && this.$store.state.training.prdType !== '07';
}
},
watch: {
isShowBar(val) {
val && this.$store.dispatch('config/updateMenuBar');
}
])
},
watch: {},
mounted() {
this.$nextTick(() => {
this.$store.dispatch('config/updateMenuBar');

View File

@ -147,11 +147,13 @@ export default {
children: [
{
title: '登录',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '注销',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
type: 'separator'
@ -159,29 +161,34 @@ export default {
{
title: '站遥控',
operate: OperationEvent.MixinCommand.remoteControl.mbar,
click: this.stationRemoteControl
click: this.stationRemoteControl,
show: true
},
{
title: '区域选择',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
type: 'separator'
},
{
title: '连接主用中心',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '连接备用中心',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
type: 'separator'
},
{
title: '退出',
click: this.undeveloped
click: this.undeveloped,
show: true
}
]
},
@ -191,11 +198,13 @@ export default {
children: [
{
title: '运行图',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '报告分析',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
type: 'separator'
@ -206,89 +215,108 @@ export default {
operate: '',
children: [{
title: '报警',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '列车运行信息',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '设备状态',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '列车详细信息',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '站台详细信息',
click: this.undeveloped
click: this.undeveloped,
show: true
}]
},
{
title: '终端站发车列表',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '详细设备状态',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '查找列车',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
type: 'separator'
},
{
title: '显示目的地号',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '显示轨道名',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '显示道岔名',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '显示信号机名',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '显示车次窗位置',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
type: 'separator'
},
{
title: '显示车次号',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '显示车组号',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
type: 'separator'
},
{
title: '全屏',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '放大',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '缩小',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '恢复',
click: this.undeveloped
click: this.undeveloped,
show: true
}
]
},
@ -304,11 +332,13 @@ export default {
children: [
{
title: '当天运行车计划',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '出入库预告',
click: this.undeveloped
click: this.undeveloped,
show: true
}
]
},
@ -318,15 +348,18 @@ export default {
children: [
{
title: '添加计划车',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '平移计划车',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '删除计划车',
click: this.undeveloped
click: this.undeveloped,
show: true
}
]
},
@ -337,22 +370,26 @@ export default {
{
title: '全线扣车',
operate: OperationEvent.StationStand.setDetainTrainAll.mbar,
click: this.setDetainTrainAll
click: this.setDetainTrainAll,
show: true
},
{
title: '取消全线扣车',
operate: OperationEvent.StationStand.cancelDetainTrainAll.mbar,
click: this.cancelDetainTrainAll
click: this.cancelDetainTrainAll,
show: true
},
{
title: '取消上行全线扣车',
operate: OperationEvent.StationStand.cancelUpDetainTrainAll.mbar,
click: this.cancelUpDetainTrainAll
click: this.cancelUpDetainTrainAll,
show: true
},
{
title: '取消下行全线扣车',
operate: OperationEvent.StationStand.cancelDownDetainTrainAll.mbar,
click: this.cancelDownDetainTrainAll
click: this.cancelDownDetainTrainAll,
show: true
}
]
},
@ -362,15 +399,18 @@ export default {
children: [
{
title: '调度日志',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '调度留言提醒',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '报警设置',
click: this.undeveloped
click: this.undeveloped,
show: true
}
]
},
@ -380,7 +420,8 @@ export default {
{
title: '关于ITS GPC 工作站',
click: this.about,
operate: OperationEvent.Command.help.about
operate: OperationEvent.Command.help.about,
show: true
}
]
}
@ -497,6 +538,9 @@ export default {
} else if (this.steps[order] && this.steps[order].type == 'bar') { //
this.popupMenuA(item, index);
}
},
selectedClassB(item, index) {
},
//
popupMenuA(item, index) {

View File

@ -147,11 +147,13 @@ export default {
children: [
{
title: '登录',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '注销',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
type: 'separator'
@ -159,29 +161,34 @@ export default {
{
title: '站遥控',
operate: OperationEvent.MixinCommand.remoteControl.mbar,
click: this.stationRemoteControl
click: this.stationRemoteControl,
show: true
},
{
title: '区域选择',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
type: 'separator'
},
{
title: '连接主用中心',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '连接备用中心',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
type: 'separator'
},
{
title: '退出',
click: this.undeveloped
click: this.undeveloped,
show: true
}
]
},
@ -191,11 +198,13 @@ export default {
children: [
{
title: '运行图',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '报告分析',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
type: 'separator'
@ -206,89 +215,108 @@ export default {
operate: '',
children: [{
title: '报警',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '列车运行信息',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '设备状态',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '列车详细信息',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '站台详细信息',
click: this.undeveloped
click: this.undeveloped,
show: true
}]
},
{
title: '终端站发车列表',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '详细设备状态',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '查找列车',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
type: 'separator'
},
{
title: '显示目的地号',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '显示轨道名',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '显示道岔名',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '显示信号机名',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '显示车次窗位置',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
type: 'separator'
},
{
title: '显示车次号',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '显示车组号',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
type: 'separator'
},
{
title: '全屏',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '放大',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '缩小',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '恢复',
click: this.undeveloped
click: this.undeveloped,
show: true
}
]
},
@ -304,11 +332,13 @@ export default {
children: [
{
title: '当天运行车计划',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '出入库预告',
click: this.undeveloped
click: this.undeveloped,
show: true
}
]
},
@ -318,15 +348,18 @@ export default {
children: [
{
title: '添加计划车',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '平移计划车',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '删除计划车',
click: this.undeveloped
click: this.undeveloped,
show: true
}
]
},
@ -337,22 +370,26 @@ export default {
{
title: '全线扣车',
operate: OperationEvent.StationStand.setDetainTrainAll.mbar,
click: this.setDetainTrainAll
click: this.setDetainTrainAll,
show: true
},
{
title: '取消全线扣车',
operate: OperationEvent.StationStand.cancelDetainTrainAll.mbar,
click: this.cancelDetainTrainAll
click: this.cancelDetainTrainAll,
show: true
},
{
title: '取消上行全线扣车',
operate: OperationEvent.StationStand.cancelUpDetainTrainAll.mbar,
click: this.cancelUpDetainTrainAll
click: this.cancelUpDetainTrainAll,
show: true
},
{
title: '取消下行全线扣车',
operate: OperationEvent.StationStand.cancelDownDetainTrainAll.mbar,
click: this.cancelDownDetainTrainAll
click: this.cancelDownDetainTrainAll,
show: true
}
]
},
@ -362,15 +399,18 @@ export default {
children: [
{
title: '调度日志',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '调度留言提醒',
click: this.undeveloped
click: this.undeveloped,
show: true
},
{
title: '报警设置',
click: this.undeveloped
click: this.undeveloped,
show: true
}
]
},
@ -380,7 +420,8 @@ export default {
{
title: '关于ITS GPC 工作站',
click: this.about,
operate: OperationEvent.Command.help.about
operate: OperationEvent.Command.help.about,
show: true
}
]
}