# Conflicts:
#	src/i18n/langs/en/menu.js
#	src/i18n/langs/zh/menu.js
This commit is contained in:
fan 2019-09-16 09:05:33 +08:00
commit 6e44740fe2
7 changed files with 312 additions and 258 deletions

View File

@ -46,21 +46,77 @@ export default {
cancelFault: 'Cancel Fault'
},
menuSignal: {
routeSelect: 'Route Select',
routeCancel: 'Route Cancel',
signalBlock: 'Signal Block',
signalDeblock: 'Signal Deblock',
signalReopen: 'Signal Reopen',
guideRouteHandle: 'Guide Route Handle',
setInterlockAutoRoute: 'Set Interlock Auto Route',
cancelInterlockAutoRoute: 'Cancel Interlock Auto Route',
setInterlockAutoTrigger: 'Set Interlock Auto Trigger',
cancelInterlockAutoTrigger: 'Cancel Interlock Auto Trigger',
signalOff: 'Signal Off',
routeGuide: 'Route Guide',
humanControl: 'Human Control',
atsAutoControl: 'ATS Auto Control',
queryRouteControlMode: 'Query Route Control Mode',
setFault: 'Set Fault',
cancelFault: 'Cancel Fault'
},
menuStation: {
fullSiteSetInterlockAutoTrigger: 'Full Site Set Interlock Auto Trigger',
fullSiteCancelInterlockAutoTrigger: 'Full Site Cancel Interlock Auto Trigger',
powerUnLock: 'Power UnLock',
execKeyOperationTest: 'Execute Key Operation Test',
allHumanControl: 'All Human Control',
allATSAutoControl: 'All ATS Auto Control',
setStoppage: 'set ZC Fault',
cancelStoppage: 'Cancel ZC Fault'
},
menuStationControl: {
},
menuStationStand: {
detainTrain: 'Detain Train',
cancelDetainTrain: 'Cancel Detain Train',
cancelDetainTrainForce: 'Cancel Detain Train Force',
jumpStop: 'Jump Stop',
cancelJumpStop: 'Cancel Jump Stop',
setRunLevel: 'Set Run Level',
setEarlyDeparture: 'Set Early Departure',
setBackStrategy: 'Set Back Strategy',
getStationStandStatus: 'Get Station Stand Status',
setStopTime: 'Set Stop Time',
setFault: 'Set Fault',
cancelFault: 'Cancel Fault',
cancelDetainTrainAll: 'All Cancel Detain Train'
},
menuSwitch: {
switchLock: 'Switch Lock',
switchUnlock: 'Switch Unlock',
switchSectionBlockade: 'Switch Section Blockade',
switchSectionUnblock: 'Switch Section Unblock',
switchTurnout: 'Switch Turnout',
switchSectionFaultUnlock: 'Switch Section Fault Unlock',
switchSectionAxisPreReset: 'Switch Section Axis Pre Reset',
sectionResection: 'Section Resection',
sectionActive: 'Section Active',
switchSectionSetSpeedLimit: 'Switch Section Set Speed Limit',
switchSectionCancelSpeedLimit: 'Switch Section Cancel Speed Limit',
setFault: 'Set Fault',
cancelFault: 'Cancel Fault'
},
menuTrain: {
addTrainId: 'Add Train Identifier',
deleteTrainId: 'Delete Train Identifier',
editTrainId: 'Edit Train Identifier',
editTrainNo: 'Edit Train Number',
moveTrainId: 'Move Train Identifier',
switchTrainId: 'Switch Train Identifier',
setCommunicationFault: 'Set Communication Fault',
cancelCommunicationFault: 'Cancel Communication Fault',
confirmRunToFrontStation: 'Confirm Run To Front Station',
addTrainIdentificationNumber: 'Add train identification number',
modifyTrainIdentificationNumber: 'Modify train identification number',
deleteTrainIdentificationNumber: 'Delete train identification number',

View File

@ -46,83 +46,80 @@ export default {
cancelFault: '取消故障'
},
menuSignal: {
// 进路选排
// 进路取消
// 信号封闭
// 信号解封
// 信号重开
// 引导进路办理
// 设置联锁自动进路
// 取消联锁自动进路
// 设置联锁自动触发
// 取消联锁自动触发
// 信号关灯
// 进路选排
// 进路引导
// 自排关
// 自排开
// 查询进路控制模式
// 设置故障
// 取消故障
routeSelect: '进路选排',
routeCancel: '进路取消',
signalBlock: '信号封闭',
signalDeblock: '信号解封',
signalReopen: '信号重开',
guideRouteHandle: '引导进路办理',
setInterlockAutoRoute: '设置联锁自动进路',
cancelInterlockAutoRoute: '取消联锁自动进路',
setInterlockAutoTrigger: '设置联锁自动触发',
cancelInterlockAutoTrigger: '取消联锁自动触发',
signalOff: '信号关灯',
routeGuide: '进路引导',
humanControl: '自排关',
atsAutoControl: '自排开',
queryRouteControlMode: '查询进路控制模式',
setFault: '设置故障',
cancelFault: '取消故障'
},
menuStation: {
// 全站设置联锁自动触发
// 全站取消联锁自动触发
// 上电解锁
// 执行关键操作测试
// 所有进路自排关
// 所有进路自排开
// 执行关键操作测试
// 设置ZC故障
// 取消ZC故障
fullSiteSetInterlockAutoTrigger: '全站设置联锁自动触发',
fullSiteCancelInterlockAutoTrigger: '全站取消联锁自动触发',
powerUnLock: '上电解锁',
execKeyOperationTest: '执行关键操作测试',
allHumanControl: '所有进路自排关',
allATSAutoControl: '所有进路自排开',
setStoppage: '设置ZC故障',
cancelStoppage: '取消ZC故障'
},
menuStationStand: {
// 全站设置联锁自动触发
// 全站取消联锁自动触发
// 上电解锁
// 执行关键操作测试
// 所有进路自排关
// 所有进路自排开
// 执行关键操作测试
// 设置ZC故障
// 取消ZC故障
detainTrain: '扣车',
cancelDetainTrain: '取消扣车',
cancelDetainTrainForce: '强制取消扣车',
jumpStop: '跳停',
cancelJumpStop: '取消跳停',
setRunLevel: '设置运行等级',
setEarlyDeparture: '设置提前发车',
setBackStrategy: '人工折返策略设置',
getStationStandStatus: '查询站台状态',
setStopTime: '设置停站时间',
setFault: '设置故障',
cancelFault: '取消故障',
cancelDetainTrainAll: '全线取消扣车'
},
menuSwitch: {
// 道岔单锁
// 道岔单解
// 道岔区段封闭
// 道岔区段解封
// 道岔转动
// 道岔区段故障解锁
// 道岔区段计轴预复位
// 区段切除
// 区段激活
// 道岔区段设置限速
// 道岔区段取消限速
// 道岔单锁
// 道岔单解
// 道岔区段封闭
// 道岔区段解封
// 道岔转动
// 道岔区段故障解锁
// 区段切除
// 区段激活
// 道岔区段设置限速
// 道岔区段取消限速
// 设置故障
// 取消故障
switchLock: '道岔单锁',
switchUnlock: '道岔单解',
switchSectionBlockade: '道岔区段封闭',
switchSectionUnblock: '道岔区段解封',
switchTurnout: '道岔转动',
switchSectionFaultUnlock: '道岔区段故障解锁',
switchSectionAxisPreReset: '道岔区段计轴预复位',
sectionResection: '区段切除',
sectionActive: '区段激活',
switchSectionSetSpeedLimit: '道岔区段设置限速',
switchSectionCancelSpeedLimit: '道岔区段取消限速',
setFault: '设置故障',
cancelFault: '取消故障'
},
menuTrain: {
addTrainId: '添加列车识别号',
deleteTrainId: '删除列车识别号',
editTrainId: '修改列车识别号',
editTrainNo: '修改车组号',
moveTrainId: '移动列车识别号',
switchTrainId: '交换列车识别号',
setCommunicationFault: '设置通信故障',
cancelCommunicationFault: '取消通信故障',
confirmRunToFrontStation: '确认运行至前方站',
addTrainIdentificationNumber: '添加列车识别号',
modifyTrainIdentificationNumber: '修改列车识别号',
deleteTrainIdentificationNumber: '删除列车识别号',
moveTrainIdentificationNumber: '移动列车识别号',
exchangeTrainIdentificationNumber: '交换列车识别号',
modifyTrainGroupNumber: '修改车组号'
// 修改车组号
// 设置通信故障
// 取消通信故障
// 确认运行至前方站
},
platform: '站台',
arrivalTime: '到点',
@ -203,4 +200,5 @@ export default {
in: '在',
signalConfirmed: '信号机,信号解锁,确认下达吗?',
commandInformation: '命令信息'
};

View File

@ -48,67 +48,67 @@ export default {
menuNormal: {
local: [
{
label: '进路选排',
label: this.$t('menu.menuSignal.routeSelect'),
handler: this.arrangementRoute,
disabledCallback: MenuDisabledState.Signal.arrangementRoute,
auth: { station: true, center: false }
},
{
label: '进路取消',
label: this.$t('menu.menuSignal.routeCancel'),
handler: this.cancelTrainRoute,
disabledCallback: MenuDisabledState.Signal.cancelTrainRoute,
auth: { station: true, center: false }
},
{
label: '信号封闭',
label: this.$t('menu.menuSignal.signalBlock'),
handler: this.lock,
disabledCallback: MenuDisabledState.Signal.lock,
auth: { station: true, center: false }
},
{
label: '信号解封',
label: this.$t('menu.menuSignal.signalDeblock'),
handler: this.unlock,
disabledCallback: MenuDisabledState.Signal.unlock,
auth: { station: true, center: false }
},
{
label: '信号重开',
label: this.$t('menu.menuSignal.signalReopen'),
handler: this.reopenSignal,
disabledCallback: MenuDisabledState.Signal.reopenSignal,
auth: { station: true, center: false }
},
{
label: '引导进路办理',
label: this.$t('menu.menuSignal.guideRouteHandle'),
handler: this.guide,
disabledCallback: MenuDisabledState.Signal.guide,
auth: { station: true, center: false }
},
{
label: '设置联锁自动进路',
label: this.$t('menu.menuSignal.setInterlockAutoRoute'),
handler: this.setAutoInterlock,
disabledCallback: MenuDisabledState.Signal.setAutoInterlock,
auth: { station: true, center: false }
},
{
label: '取消联锁自动进路',
label: this.$t('menu.menuSignal.cancelInterlockAutoRoute'),
handler: this.cancelAutoInterlock,
disabledCallback: MenuDisabledState.Signal.cancelAutoInterlock,
auth: { station: true, center: false }
},
{
label: '设置联锁自动触发',
label: this.$t('menu.menuSignal.setInterlockAutoTrigger'),
handler: this.setAutoTrigger,
disabledCallback: MenuDisabledState.Signal.setAutoTrigger,
auth: { station: true, center: false }
},
{
label: '取消联锁自动触发',
label: this.$t('menu.menuSignal.cancelInterlockAutoTrigger'),
handler: this.cancelAutoTrigger,
disabledCallback: MenuDisabledState.Signal.cancelAutoTrigger,
auth: { station: true, center: false }
},
{
label: '信号关灯',
label: this.$t('menu.menuSignal.signalOff'),
handler: this.signalClose,
disabledCallback: MenuDisabledState.Signal.signalClose,
auth: { station: true, center: false }
@ -116,61 +116,61 @@ export default {
],
central: [
{
label: '进路选排',
label: this.$t('menu.menuSignal.routeSelect'),
handler: this.arrangementRoute,
disabledCallback: MenuDisabledState.Signal.arrangementRoute,
auth: { station: false, center: true }
},
{
label: '进路取消',
label: this.$t('menu.menuSignal.routeCancel'),
handler: this.cancelTrainRoute,
disabledCallback: MenuDisabledState.Signal.cancelTrainRoute,
auth: { station: false, center: true }
},
{
label: '信号封闭',
label: this.$t('menu.menuSignal.signalBlock'),
handler: this.lock,
disabledCallback: MenuDisabledState.Signal.lock,
auth: { station: false, center: true }
},
{
label: '信号解封',
label: this.$t('menu.menuSignal.signalDeblock'),
handler: this.unlock,
disabledCallback: MenuDisabledState.Signal.unlock,
auth: { station: false, center: true }
},
{
label: '信号关灯',
label: this.$t('menu.menuSignal.signalOff'),
handler: this.signalClose,
disabledCallback: MenuDisabledState.Signal.signalClose,
auth: { station: false, center: true }
},
{
label: '信号重开',
label: this.$t('menu.menuSignal.signalReopen'),
handler: this.reopenSignal,
disabledCallback: MenuDisabledState.Signal.reopenSignal,
auth: { station: false, center: true }
},
{
label: '进路引导',
label: this.$t('menu.menuSignal.routeGuide'),
handler: this.guide,
disabledCallback: MenuDisabledState.Signal.guide,
auth: { station: false, center: false }
},
{
label: '自排关',
label: this.$t('menu.menuSignal.humanControl'),
handler: this.humanControl,
disabledCallback: MenuDisabledState.Signal.humanControl,
auth: { station: false, center: true }
},
{
label: '自排开',
label: this.$t('menu.menuSignal.atsAutoControl'),
handler: this.atsAutoControl,
disabledCallback: MenuDisabledState.Signal.atsAutoControl,
auth: { station: false, center: true }
},
{
label: '查询进路控制模式',
label: this.$t('menu.menuSignal.queryRouteControlMode'),
handler: this.detail,
disabledCallback: MenuDisabledState.Signal.detail,
auth: { station: true, center: true }
@ -179,12 +179,12 @@ export default {
},
menuForce: [
{
label: '设置故障',
label: this.$t('menu.menuSignal.setFault'),
handler: this.setStoppage,
disabledCallback: MenuDisabledState.Signal.setStoppage
},
{
label: '取消故障',
label: this.$t('menu.menuSignal.cancelFault'),
handler: this.cancelStoppage,
disabledCallback: MenuDisabledState.Signal.cancelStoppage
}

View File

@ -39,25 +39,25 @@
menuNormal: {
local: [
{
label: '全站设置联锁自动触发',
label: this.$t('menu.menuStation.fullSiteSetInterlockAutoTrigger'),
handler: this.setAutoTrigger,
disabledCallback: MenuDisabledState.Station.setAutoTrigger,
auth: { station: true, center: false },
},
{
label: '全站取消联锁自动触发',
label: this.$t('menu.menuStation.fullSiteCancelInterlockAutoTrigger'),
handler: this.cancelAutoTrigger,
disabledCallback: MenuDisabledState.Station.cancelAutoTrigger,
auth: { station: true, center: false },
},
{
label: '上电解锁',
label: this.$t('menu.menuStation.powerUnLock'),
handler: this.powerUnLock,
disabledCallback: MenuDisabledState.Station.powerUnLock,
auth: { station: true, center: false },
},
{
label: '执行关键操作测试',
label: this.$t('menu.menuStation.execKeyOperationTest'),
handler: this.execKeyOperationTest,
disabledCallback: MenuDisabledState.Station.execKeyOperationTest,
auth: { station: true, center: false },
@ -65,19 +65,19 @@
],
central: [
{
label: '所有进路自排关',
label: this.$t('menu.menuStation.allHumanControl'),
handler: this.humanControlALL,
disabledCallback: MenuDisabledState.Station.humanControlALL,
auth: { station: false, center: true },
},
{
label: '所有进路自排开',
label: this.$t('menu.menuStation.allATSAutoControl'),
handler: this.atsAutoControlALL,
disabledCallback: MenuDisabledState.Station.atsAutoControlALL,
auth: { station: false, center: true },
},
{
label: '执行关键操作测试',
label: this.$t('menu.menuStation.execKeyOperationTest'),
handler: this.execKeyOperationTest,
disabledCallback: MenuDisabledState.Station.execKeyOperationTest,
auth: { station: false, center: true },
@ -86,12 +86,12 @@
},
menuForce: [
{
label: '设置ZC故障',
label: this.$t('menu.menuStation.setStoppage'),
handler: this.setStoppage,
disabledCallback: MenuDisabledState.Station.setStoppage
},
{
label: '取消ZC故障',
label: this.$t('menu.menuStation.cancelStoppage'),
handler: this.cancelStoppage,
disabledCallback: MenuDisabledState.Station.cancelStoppage
}

View File

@ -48,55 +48,55 @@ export default {
menuNormal: {
local: [
{
label: '扣车',
label: this.$t('menu.menuStationStand.detainTrain'),
handler: this.setDetainTrain,
disabledCallback: MenuDisabledState.StationStand.setDetainTrain,
auth: { station: true, center: false }
},
{
label: '取消扣车',
label: this.$t('menu.menuStationStand.cancelDetainTrain'),
handler: this.cancelDetainTrain,
disabledCallback: MenuDisabledState.StationStand.cancelDetainTrain,
auth: { station: true, center: false }
},
{
label: '强制取消扣车',
label: this.$t('menu.menuStationStand.cancelDetainTrainForce'),
handler: this.cancelDetainTrainForce,
disabledCallback: MenuDisabledState.StationStand.cancelDetainTrainForce,
auth: { station: true, center: false }
},
{
label: '跳停',
label: this.$t('menu.menuStationStand.jumpStop'),
handler: this.setJumpStop,
disabledCallback: MenuDisabledState.StationStand.setJumpStop,
auth: { station: true, center: false }
},
{
label: '取消跳停',
label: this.$t('menu.menuStationStand.cancelJumpStop'),
handler: this.cancelJumpStop,
disabledCallback: MenuDisabledState.StationStand.cancelJumpStop,
auth: { station: true, center: false }
},
{
label: '设置运行等级',
label: this.$t('menu.menuStationStand.setRunLevel'),
handler: this.setRunLevel,
disabledCallback: MenuDisabledState.StationStand.setRunLevel,
auth: { station: false, center: false }
},
{
label: '设置提前发车',
label: this.$t('menu.menuStationStand.setEarlyDeparture'),
handler: this.earlyDeparture,
disabledCallback: MenuDisabledState.StationStand.earlyDeparture,
auth: { station: false, center: false }
},
{
label: '人工折返策略设置',
label: this.$t('menu.menuStationStand.setBackStrategy'),
handler: this.setBackStrategy,
disabledCallback: MenuDisabledState.StationStand.setBackStrategy,
auth: { station: false, center: false }
},
{
label: '查询站台状态',
label: this.$t('menu.menuStationStand.getStationStandStatus'),
handler: this.detail,
disabledCallback: MenuDisabledState.StationStand.detail,
auth: { station: true, center: false }
@ -104,67 +104,67 @@ export default {
],
central: [
{
label: '扣车',
label: this.$t('menu.menuStationStand.detainTrain'),
handler: this.setDetainTrain,
disabledCallback: MenuDisabledState.StationStand.setDetainTrain,
auth: { station: false, center: true }
},
{
label: '取消扣车',
label: this.$t('menu.menuStationStand.cancelDetainTrain'),
handler: this.cancelDetainTrain,
disabledCallback: MenuDisabledState.StationStand.cancelDetainTrain,
auth: { station: false, center: true }
},
{
label: '强制取消扣车',
label: this.$t('menu.menuStationStand.cancelDetainTrainForce'),
handler: this.cancelDetainTrainForce,
disabledCallback: MenuDisabledState.StationStand.cancelDetainTrainForce,
auth: { station: false, center: false }
},
{
label: '全线取消扣车',
label: this.$t('menu.menuStationStand.cancelDetainTrainAll'),
handler: this.cancelDetainTrainAll,
disabledCallback: MenuDisabledState.StationStand.cancelDetainTrainAll,
auth: { station: false, center: true }
},
{
label: '跳停',
label: this.$t('menu.menuStationStand.jumpStop'),
handler: this.setJumpStop,
disabledCallback: MenuDisabledState.StationStand.setJumpStop,
auth: { station: false, center: true }
},
{
label: '取消跳停',
label: this.$t('menu.menuStationStand.cancelJumpStop'),
handler: this.cancelJumpStop,
disabledCallback: MenuDisabledState.StationStand.cancelJumpStop,
auth: { station: true, center: true }
},
{
label: '设置停站时间',
label: this.$t('menu.menuStationStand.setStopTime'),
handler: this.setStopTime,
disabledCallback: MenuDisabledState.StationStand.setStopTime,
auth: { station: false, center: true }
},
{
label: '设置运行等级',
label: this.$t('menu.menuStationStand.setRunLevel'),
handler: this.setRunLevel,
disabledCallback: MenuDisabledState.StationStand.setRunLevel,
auth: { station: false, center: true }
},
{
label: '设置提前发车',
label: this.$t('menu.menuStationStand.setEarlyDeparture'),
handler: this.earlyDeparture,
disabledCallback: MenuDisabledState.StationStand.earlyDeparture,
auth: { station: false, center: true }
},
{
label: '人工折返策略设置',
label: this.$t('menu.menuStationStand.setBackStrategy'),
handler: this.setBackStrategy,
disabledCallback: MenuDisabledState.StationStand.setBackStrategy,
auth: { station: false, center: true }
},
{
label: '查询站台状态',
label: this.$t('menu.menuStationStand.getStationStandStatus'),
handler: this.detail,
disabledCallback: MenuDisabledState.StationStand.detail,
auth: { station: true, center: true }
@ -173,12 +173,12 @@ export default {
},
menuForce: [
{
label: '设置故障',
label: this.$t('menu.menuStationStand.setFault'),
handler: this.setStoppage,
disabledCallback: MenuDisabledState.StationStand.setStoppage
},
{
label: '取消故障',
label: this.$t('menu.menuStationStand.cancelFault'),
handler: this.cancelStoppage,
disabledCallback: MenuDisabledState.StationStand.cancelStoppage
}

View File

@ -39,67 +39,67 @@
menuNormal: {
local: [
{
label: '道岔单锁',
label: this.$t('menu.menuSwitch.switchLock'),
handler: this.lock,
disabledCallback: MenuDisabledState.Switch.lock,
auth: { station: true, center: false }
},
{
label: '道岔单解',
label: this.$t('menu.menuSwitch.switchUnlock'),
handler: this.unlock,
disabledCallback: MenuDisabledState.Switch.unlock,
auth: { station: true, center: false }
},
{
label: '道岔区段封闭',
label: this.$t('menu.menuSwitch.switchSectionBlockade'),
handler: this.block,
disabledCallback: MenuDisabledState.Switch.block,
auth: { station: true, center: false }
},
{
label: '道岔区段解封',
label: this.$t('menu.menuSwitch.switchSectionUnblock'),
handler: this.unblock,
disabledCallback: MenuDisabledState.Switch.unblock,
auth: { station: true, center: false }
},
{
label: '道岔转动',
label: this.$t('menu.menuSwitch.switchTurnout'),
handler: this.switchTurnout,
disabledCallback: MenuDisabledState.Switch.switchTurnout,
auth: { station: true, center: false }
},
{
label: '道岔区段故障解锁',
label: this.$t('menu.menuSwitch.switchSectionFaultUnlock'),
handler: this.fault,
disabledCallback: MenuDisabledState.Switch.fault,
auth: { station: true, center: false }
},
{
label: '道岔区段计轴预复位',
label: this.$t('menu.menuSwitch.switchSectionAxisPreReset') ,
handler: this.axlePreReset,
disabledCallback: MenuDisabledState.Switch.axlePreReset,
auth: { station: true, center: false }
},
{
label: '区段切除',
label: this.$t('menu.menuSwitch.sectionResection'),
handler: this.split,
disabledCallback: MenuDisabledState.Switch.split,
auth: { station: true, center: false }
},
{
label: '区段激活',
label: this.$t('menu.menuSwitch.sectionActive'),
handler: this.active,
disabledCallback: MenuDisabledState.Switch.active,
auth: { station: true, center: false }
},
{
label: '道岔区段设置限速',
label: this.$t('menu.menuSwitch.switchSectionSetSpeedLimit'),
handler: this.setSpeed,
disabledCallback: MenuDisabledState.Switch.setSpeed,
auth: { station: true, center: false }
},
{
label: '道岔区段取消限速',
label: this.$t('menu.menuSwitch.switchSectionCancelSpeedLimit'),
handler: this.cancelSpeed,
disabledCallback: MenuDisabledState.Switch.cancelSpeed,
auth: { station: true, center: false }
@ -107,61 +107,61 @@
],
central: [
{
label: '道岔单锁',
label: this.$t('menu.menuSwitch.switchLock'),
handler: this.lock,
disabledCallback: MenuDisabledState.Switch.lock,
auth: { station: false, center: true }
},
{
label: '道岔单解',
label: this.$t('menu.menuSwitch.switchUnlock'),
handler: this.unlock,
disabledCallback: MenuDisabledState.Switch.unlock,
auth: { station: false, center: true }
},
{
label: '道岔区段封闭',
label: this.$t('menu.menuSwitch.switchSectionBlockade'),
handler: this.block,
disabledCallback: MenuDisabledState.Switch.block,
auth: { station: false, center: true }
},
{
label: '道岔区段解封',
label: this.$t('menu.menuSwitch.switchSectionUnblock'),
handler: this.unblock,
disabledCallback: MenuDisabledState.Switch.unblock,
auth: { station: false, center: true }
},
{
label: '道岔转动',
label: this.$t('menu.menuSwitch.switchTurnout'),
handler: this.switchTurnout,
disabledCallback: MenuDisabledState.Switch.switchTurnout,
auth: { station: false, center: true }
},
{
label: '道岔区段故障解锁',
label: this.$t('menu.menuSwitch.switchSectionFaultUnlock'),
handler: this.fault,
disabledCallback: MenuDisabledState.Switch.fault,
auth: { station: false, center: true }
},
{
label: '区段切除',
label: this.$t('menu.menuSwitch.sectionResection'),
handler: this.split,
disabledCallback: MenuDisabledState.Switch.split,
auth: { station: true, center: true }
},
{
label: '区段激活',
label: this.$t('menu.menuSwitch.sectionActive'),
handler: this.active,
disabledCallback: MenuDisabledState.Switch.active,
auth: { station: true, center: true }
},
{
label: '道岔区段设置限速',
label: this.$t('menu.menuSwitch.switchSectionSetSpeedLimit'),
handler: this.setSpeed,
disabledCallback: MenuDisabledState.Switch.setSpeed,
auth: { station: false, center: true }
},
{
label: '道岔区段取消限速',
label: this.$t('menu.menuSwitch.switchSectionCancelSpeedLimit'),
handler: this.cancelSpeed,
disabledCallback: MenuDisabledState.Switch.cancelSpeed,
auth: { station: false, center: true }
@ -170,7 +170,7 @@
},
menuForce: [
{
label: '设置故障',
label: this.$t('menu.menuSwitch.setFault'),
handler: this.setStoppage,
disabledCallback: MenuDisabledState.Switch.setStoppage,
auth: {
@ -178,7 +178,7 @@
}
},
{
label: '取消故障',
label: this.$t('menu.menuSwitch.cancelFault'),
handler: this.cancelStoppage,
disabledCallback: MenuDisabledState.Switch.cancelStoppage,
auth: {

View File

@ -49,37 +49,37 @@ export default {
local: [],
central: [
{
label: '添加列车识别号',
label: this.$t('menu.menuTrain.addTrainId'),
handler: this.addTrainId,
disabledCallback: MenuDisabledState.Train.addTrainId,
auth: { station: true, center: true }
},
{
label: '删除列车识别号',
label: this.$t('menu.menuTrain.deleteTrainId'),
handler: this.delTrainId,
disabledCallback: MenuDisabledState.Train.delTrainId,
auth: { station: true, center: true }
},
{
label: '修改列车识别号',
label: this.$t('menu.menuTrain.editTrainId'),
handler: this.editTrainId,
disabledCallback: MenuDisabledState.Train.editTrainId,
auth: { station: true, center: true }
},
{
label: '修改车组号',
label: this.$t('menu.menuTrain.editTrainNo'),
handler: this.editTrainNo,
disabledCallback: MenuDisabledState.Train.editTrainNo,
auth: { station: true, center: true }
},
{
label: '移动列车识别号',
label: this.$t('menu.menuTrain.moveTrainId'),
handler: this.moveTrainId,
disabledCallback: MenuDisabledState.Train.moveTrainId,
auth: { station: true, center: true }
},
{
label: '交换列车识别号',
label: this.$t('menu.menuTrain.switchTrainId'),
handler: this.switchTrainId,
disabledCallback: MenuDisabledState.Train.switchTrainId,
auth: { station: true, center: true }
@ -88,19 +88,19 @@ export default {
},
menuForce: [
{
label: '设置通信故障',
label: this.$t('menu.menuTrain.setCommunicationFault'),
handler: this.setStoppage,
disabledCallback: MenuDisabledState.Train.setStoppage
},
{
label: '取消通信故障',
label: this.$t('menu.menuTrain.cancelCommunicationFault'),
handler: this.cancelStoppage,
disabledCallback: MenuDisabledState.Train.cancelStoppage
}
],
menuSpeed: [
{
label: '确认运行至前方站',
label: this.$t('menu.menuTrain.confirmRunToFrontStation'),
handler: this.limitSpeed,
disabledCallback: MenuDisabledState.Train.limitSpeed
}