Merge branch 'dev' of https://git.cloud.tencent.com/joylink/jl-nclient into dev
# Conflicts: # src/i18n/langs/en/menu.js # src/i18n/langs/zh/menu.js
This commit is contained in:
commit
6e44740fe2
@ -46,105 +46,161 @@ export default {
|
|||||||
cancelFault: 'Cancel Fault'
|
cancelFault: 'Cancel Fault'
|
||||||
},
|
},
|
||||||
menuSignal: {
|
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: {
|
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: {
|
menuStationControl: {
|
||||||
|
|
||||||
},
|
},
|
||||||
menuStationStand: {
|
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: {
|
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: {
|
menuTrain: {
|
||||||
addTrainIdentificationNumber: 'Add train identification number',
|
addTrainId: 'Add Train Identifier',
|
||||||
modifyTrainIdentificationNumber: 'Modify train identification number',
|
deleteTrainId: 'Delete Train Identifier',
|
||||||
deleteTrainIdentificationNumber: 'Delete train identification number',
|
editTrainId: 'Edit Train Identifier',
|
||||||
moveTrainIdentificationNumber: 'Move train identification number',
|
editTrainNo: 'Edit Train Number',
|
||||||
exchangeTrainIdentificationNumber: 'Exchange train identification number',
|
moveTrainId: 'Move Train Identifier',
|
||||||
modifyTrainGroupNumber: 'Modify train group number'
|
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',
|
||||||
|
moveTrainIdentificationNumber: 'Move train identification number',
|
||||||
|
exchangeTrainIdentificationNumber: 'Exchange train identification number',
|
||||||
|
modifyTrainGroupNumber: 'Modify train group number'
|
||||||
},
|
},
|
||||||
platform: 'Platform',
|
platform: 'Platform',
|
||||||
arrivalTime: 'Arrival time',
|
arrivalTime: 'Arrival time',
|
||||||
stopTime: 'Stop time',
|
stopTime: 'Stop time',
|
||||||
departureTime: 'Departure time',
|
departureTime: 'Departure time',
|
||||||
runLevel: 'Run level',
|
runLevel: 'Run level',
|
||||||
serviceNumber: 'Service number',
|
serviceNumber: 'Service number',
|
||||||
tripNumber: 'Trip number',
|
tripNumber: 'Trip number',
|
||||||
stationName: 'Station name:',
|
stationName: 'Station name:',
|
||||||
stationKilometerMark: 'Station kilometer mark:',
|
stationKilometerMark: 'Station kilometer mark:',
|
||||||
arrivalTime2: 'Arrival time:',
|
arrivalTime2: 'Arrival time:',
|
||||||
file: 'File(F)',
|
file: 'File(F)',
|
||||||
view: 'View(V)',
|
view: 'View(V)',
|
||||||
edit: 'Edit(E)',
|
edit: 'Edit(E)',
|
||||||
tool: 'Tool(T)',
|
tool: 'Tool(T)',
|
||||||
help: 'help(H)',
|
help: 'help(H)',
|
||||||
viewPlanList: 'View plan list',
|
viewPlanList: 'View plan list',
|
||||||
createAWeekPlan: 'Create a week plan',
|
createAWeekPlan: 'Create a week plan',
|
||||||
loadTheDayPlan: 'Load the day plan',
|
loadTheDayPlan: 'Load the day plan',
|
||||||
achieving: 'Achieving......',
|
achieving: 'Achieving......',
|
||||||
addToTheFront: 'Add to the front',
|
addToTheFront: 'Add to the front',
|
||||||
addToTheEnd: 'Add to the end',
|
addToTheEnd: 'Add to the end',
|
||||||
crossing: 'Crossing',
|
crossing: 'Crossing',
|
||||||
date: 'Date',
|
date: 'Date',
|
||||||
name: 'Name',
|
name: 'Name',
|
||||||
address: 'Address',
|
address: 'Address',
|
||||||
displaysDefaultStopTimesAndRunLevels: 'Displays default stop times and run levels',
|
displaysDefaultStopTimesAndRunLevels: 'Displays default stop times and run levels',
|
||||||
addTask: 'Add task',
|
addTask: 'Add task',
|
||||||
runGraphName: 'Run graph name',
|
runGraphName: 'Run graph name',
|
||||||
skinType: 'Skin type',
|
skinType: 'Skin type',
|
||||||
selectTemplateRunGraph: 'Select template run graph',
|
selectTemplateRunGraph: 'Select template run graph',
|
||||||
load: 'load',
|
load: 'load',
|
||||||
plannedDateRange: 'Planned date range',
|
plannedDateRange: 'Planned date range',
|
||||||
deleteAllPreviousTasks: 'Delete all previous tasks (including this task)',
|
deleteAllPreviousTasks: 'Delete all previous tasks (including this task)',
|
||||||
deleteAllSubsequentTasks: 'Delete all subsequent tasks (including this task)',
|
deleteAllSubsequentTasks: 'Delete all subsequent tasks (including this task)',
|
||||||
deleteTask: 'Delete task',
|
deleteTask: 'Delete task',
|
||||||
deleteTheDayPlan: 'Delete the day plan',
|
deleteTheDayPlan: 'Delete the day plan',
|
||||||
mapName: 'Map name',
|
mapName: 'Map name',
|
||||||
loadDate: 'Load date',
|
loadDate: 'Load date',
|
||||||
operationChartSchedule: 'Operation chart schedule',
|
operationChartSchedule: 'Operation chart schedule',
|
||||||
trainLine: 'Train line',
|
trainLine: 'Train line',
|
||||||
startStation: 'Start station',
|
startStation: 'Start station',
|
||||||
startPlatform: 'Start platform',
|
startPlatform: 'Start platform',
|
||||||
terminal: 'Terminal',
|
terminal: 'Terminal',
|
||||||
endPlatform: 'End platform',
|
endPlatform: 'End platform',
|
||||||
addTask2: 'Add task',
|
addTask2: 'Add task',
|
||||||
deleteTask2: 'Delete task',
|
deleteTask2: 'Delete task',
|
||||||
replace: 'replace',
|
replace: 'replace',
|
||||||
inTheLibrary: 'In the library',
|
inTheLibrary: 'In the library',
|
||||||
outOfTheLibrary: 'Out of the library',
|
outOfTheLibrary: 'Out of the library',
|
||||||
changeTripNumber: 'Change trip number',
|
changeTripNumber: 'Change trip number',
|
||||||
lineStartTime: 'Line start time',
|
lineStartTime: 'Line start time',
|
||||||
lineEndTime: 'Line end time',
|
lineEndTime: 'Line end time',
|
||||||
lineDetails: 'Line details',
|
lineDetails: 'Line details',
|
||||||
station: 'Station',
|
station: 'Station',
|
||||||
affectSubsequentTasks: 'Affect subsequent tasks',
|
affectSubsequentTasks: 'Affect subsequent tasks',
|
||||||
manual: 'manual',
|
manual: 'manual',
|
||||||
defaultStopTime: 'Default stop time',
|
defaultStopTime: 'Default stop time',
|
||||||
clearGuest: 'Clear guest',
|
clearGuest: 'Clear guest',
|
||||||
continuationPlan: 'Continuation plan',
|
continuationPlan: 'Continuation plan',
|
||||||
firstTrain: 'First train',
|
firstTrain: 'First train',
|
||||||
serialNumber: 'Serial number',
|
serialNumber: 'Serial number',
|
||||||
defaultRunLevel: 'Default run level',
|
defaultRunLevel: 'Default run level',
|
||||||
lastTrain: 'Last train',
|
lastTrain: 'Last train',
|
||||||
description: 'Description',
|
description: 'Description',
|
||||||
modifyTask: 'Modify task',
|
modifyTask: 'Modify task',
|
||||||
accessSetting: 'Access setting',
|
accessSetting: 'Access setting',
|
||||||
signalOff: 'SignalOff',
|
signalOff: 'SignalOff',
|
||||||
signalReopening: 'Signal reopening',
|
signalReopening: 'Signal reopening',
|
||||||
cancelTheWay: 'Cancel the way',
|
cancelTheWay: 'Cancel the way',
|
||||||
approachManualControl: 'Approach manual control',
|
approachManualControl: 'Approach manual control',
|
||||||
accessToATSAutomaticControl: 'Access to ATS automatic control',
|
accessToATSAutomaticControl: 'Access to ATS automatic control',
|
||||||
setTheRunLevel: 'Set the run level',
|
setTheRunLevel: 'Set the run level',
|
||||||
setTheFoldbackStrategy: 'Set the foldback strategy',
|
setTheFoldbackStrategy: 'Set the foldback strategy',
|
||||||
turnoutSettingSpeedLimit: 'Turnout setting speed limit',
|
turnoutSettingSpeedLimit: 'Turnout setting speed limit',
|
||||||
turnoutCancelsSpeedLimit: 'Turnout cancels speed limit',
|
turnoutCancelsSpeedLimit: 'Turnout cancels speed limit',
|
||||||
signalDeblocking: 'Signal deblocking',
|
signalDeblocking: 'Signal deblocking',
|
||||||
in: 'In the',
|
in: 'In the',
|
||||||
signalConfirmed: 'signal, the signal is unlocked, is it confirmed?',
|
signalConfirmed: 'signal, the signal is unlocked, is it confirmed?',
|
||||||
commandInformation: 'Command information'
|
commandInformation: 'Command information'
|
||||||
};
|
};
|
||||||
|
@ -46,83 +46,80 @@ export default {
|
|||||||
cancelFault: '取消故障'
|
cancelFault: '取消故障'
|
||||||
},
|
},
|
||||||
menuSignal: {
|
menuSignal: {
|
||||||
// 进路选排
|
routeSelect: '进路选排',
|
||||||
// 进路取消
|
routeCancel: '进路取消',
|
||||||
// 信号封闭
|
signalBlock: '信号封闭',
|
||||||
// 信号解封
|
signalDeblock: '信号解封',
|
||||||
// 信号重开
|
signalReopen: '信号重开',
|
||||||
// 引导进路办理
|
guideRouteHandle: '引导进路办理',
|
||||||
// 设置联锁自动进路
|
setInterlockAutoRoute: '设置联锁自动进路',
|
||||||
// 取消联锁自动进路
|
cancelInterlockAutoRoute: '取消联锁自动进路',
|
||||||
// 设置联锁自动触发
|
setInterlockAutoTrigger: '设置联锁自动触发',
|
||||||
// 取消联锁自动触发
|
cancelInterlockAutoTrigger: '取消联锁自动触发',
|
||||||
// 信号关灯
|
signalOff: '信号关灯',
|
||||||
// 进路选排
|
routeGuide: '进路引导',
|
||||||
// 进路引导
|
humanControl: '自排关',
|
||||||
// 自排关
|
atsAutoControl: '自排开',
|
||||||
// 自排开
|
queryRouteControlMode: '查询进路控制模式',
|
||||||
// 查询进路控制模式
|
setFault: '设置故障',
|
||||||
// 设置故障
|
cancelFault: '取消故障'
|
||||||
// 取消故障
|
|
||||||
},
|
},
|
||||||
menuStation: {
|
menuStation: {
|
||||||
// 全站设置联锁自动触发
|
fullSiteSetInterlockAutoTrigger: '全站设置联锁自动触发',
|
||||||
// 全站取消联锁自动触发
|
fullSiteCancelInterlockAutoTrigger: '全站取消联锁自动触发',
|
||||||
// 上电解锁
|
powerUnLock: '上电解锁',
|
||||||
// 执行关键操作测试
|
execKeyOperationTest: '执行关键操作测试',
|
||||||
// 所有进路自排关
|
allHumanControl: '所有进路自排关',
|
||||||
// 所有进路自排开
|
allATSAutoControl: '所有进路自排开',
|
||||||
// 执行关键操作测试
|
setStoppage: '设置ZC故障',
|
||||||
// 设置ZC故障
|
cancelStoppage: '取消ZC故障'
|
||||||
// 取消ZC故障
|
|
||||||
},
|
},
|
||||||
menuStationStand: {
|
menuStationStand: {
|
||||||
// 全站设置联锁自动触发
|
detainTrain: '扣车',
|
||||||
// 全站取消联锁自动触发
|
cancelDetainTrain: '取消扣车',
|
||||||
// 上电解锁
|
cancelDetainTrainForce: '强制取消扣车',
|
||||||
// 执行关键操作测试
|
jumpStop: '跳停',
|
||||||
// 所有进路自排关
|
cancelJumpStop: '取消跳停',
|
||||||
// 所有进路自排开
|
setRunLevel: '设置运行等级',
|
||||||
// 执行关键操作测试
|
setEarlyDeparture: '设置提前发车',
|
||||||
// 设置ZC故障
|
setBackStrategy: '人工折返策略设置',
|
||||||
// 取消ZC故障
|
getStationStandStatus: '查询站台状态',
|
||||||
|
setStopTime: '设置停站时间',
|
||||||
|
setFault: '设置故障',
|
||||||
|
cancelFault: '取消故障',
|
||||||
|
cancelDetainTrainAll: '全线取消扣车'
|
||||||
},
|
},
|
||||||
menuSwitch: {
|
menuSwitch: {
|
||||||
// 道岔单锁
|
switchLock: '道岔单锁',
|
||||||
// 道岔单解
|
switchUnlock: '道岔单解',
|
||||||
// 道岔区段封闭
|
switchSectionBlockade: '道岔区段封闭',
|
||||||
// 道岔区段解封
|
switchSectionUnblock: '道岔区段解封',
|
||||||
// 道岔转动
|
switchTurnout: '道岔转动',
|
||||||
// 道岔区段故障解锁
|
switchSectionFaultUnlock: '道岔区段故障解锁',
|
||||||
// 道岔区段计轴预复位
|
switchSectionAxisPreReset: '道岔区段计轴预复位',
|
||||||
// 区段切除
|
sectionResection: '区段切除',
|
||||||
// 区段激活
|
sectionActive: '区段激活',
|
||||||
// 道岔区段设置限速
|
switchSectionSetSpeedLimit: '道岔区段设置限速',
|
||||||
// 道岔区段取消限速
|
switchSectionCancelSpeedLimit: '道岔区段取消限速',
|
||||||
// 道岔单锁
|
setFault: '设置故障',
|
||||||
// 道岔单解
|
cancelFault: '取消故障'
|
||||||
// 道岔区段封闭
|
|
||||||
// 道岔区段解封
|
|
||||||
// 道岔转动
|
|
||||||
// 道岔区段故障解锁
|
|
||||||
// 区段切除
|
|
||||||
// 区段激活
|
|
||||||
// 道岔区段设置限速
|
|
||||||
// 道岔区段取消限速
|
|
||||||
// 设置故障
|
|
||||||
// 取消故障
|
|
||||||
},
|
},
|
||||||
menuTrain: {
|
menuTrain: {
|
||||||
addTrainIdentificationNumber: '添加列车识别号',
|
addTrainId: '添加列车识别号',
|
||||||
modifyTrainIdentificationNumber: '修改列车识别号',
|
deleteTrainId: '删除列车识别号',
|
||||||
deleteTrainIdentificationNumber: '删除列车识别号',
|
editTrainId: '修改列车识别号',
|
||||||
moveTrainIdentificationNumber: '移动列车识别号',
|
editTrainNo: '修改车组号',
|
||||||
exchangeTrainIdentificationNumber: '交换列车识别号',
|
moveTrainId: '移动列车识别号',
|
||||||
modifyTrainGroupNumber: '修改车组号'
|
switchTrainId: '交换列车识别号',
|
||||||
// 修改车组号
|
setCommunicationFault: '设置通信故障',
|
||||||
// 设置通信故障
|
cancelCommunicationFault: '取消通信故障',
|
||||||
// 取消通信故障
|
confirmRunToFrontStation: '确认运行至前方站',
|
||||||
// 确认运行至前方站
|
addTrainIdentificationNumber: '添加列车识别号',
|
||||||
|
modifyTrainIdentificationNumber: '修改列车识别号',
|
||||||
|
deleteTrainIdentificationNumber: '删除列车识别号',
|
||||||
|
moveTrainIdentificationNumber: '移动列车识别号',
|
||||||
|
exchangeTrainIdentificationNumber: '交换列车识别号',
|
||||||
|
modifyTrainGroupNumber: '修改车组号'
|
||||||
},
|
},
|
||||||
platform: '站台',
|
platform: '站台',
|
||||||
arrivalTime: '到点',
|
arrivalTime: '到点',
|
||||||
@ -189,18 +186,19 @@ export default {
|
|||||||
lastTrain: '模板车',
|
lastTrain: '模板车',
|
||||||
description: '描述',
|
description: '描述',
|
||||||
modifyTask: '修改任务',
|
modifyTask: '修改任务',
|
||||||
accessSetting: '进路设置',
|
accessSetting: '进路设置',
|
||||||
signalOff: '信号关灯',
|
signalOff: '信号关灯',
|
||||||
signalReopening: '信号重开',
|
signalReopening: '信号重开',
|
||||||
cancelTheWay: '取消进路',
|
cancelTheWay: '取消进路',
|
||||||
approachManualControl: '进路交人工控',
|
approachManualControl: '进路交人工控',
|
||||||
accessToATSAutomaticControl: '进路交ATS自动控',
|
accessToATSAutomaticControl: '进路交ATS自动控',
|
||||||
setTheRunLevel: '设置运行等级',
|
setTheRunLevel: '设置运行等级',
|
||||||
setTheFoldbackStrategy: '设置折返策略',
|
setTheFoldbackStrategy: '设置折返策略',
|
||||||
turnoutSettingSpeedLimit: '道岔设置限速',
|
turnoutSettingSpeedLimit: '道岔设置限速',
|
||||||
turnoutCancelsSpeedLimit: '道岔取消限速',
|
turnoutCancelsSpeedLimit: '道岔取消限速',
|
||||||
signalDeblocking: '信号解封',
|
signalDeblocking: '信号解封',
|
||||||
in: '在',
|
in: '在',
|
||||||
signalConfirmed: '信号机,信号解锁,确认下达吗?',
|
signalConfirmed: '信号机,信号解锁,确认下达吗?',
|
||||||
commandInformation: '命令信息'
|
commandInformation: '命令信息'
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -48,67 +48,67 @@ export default {
|
|||||||
menuNormal: {
|
menuNormal: {
|
||||||
local: [
|
local: [
|
||||||
{
|
{
|
||||||
label: '进路选排',
|
label: this.$t('menu.menuSignal.routeSelect'),
|
||||||
handler: this.arrangementRoute,
|
handler: this.arrangementRoute,
|
||||||
disabledCallback: MenuDisabledState.Signal.arrangementRoute,
|
disabledCallback: MenuDisabledState.Signal.arrangementRoute,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '进路取消',
|
label: this.$t('menu.menuSignal.routeCancel'),
|
||||||
handler: this.cancelTrainRoute,
|
handler: this.cancelTrainRoute,
|
||||||
disabledCallback: MenuDisabledState.Signal.cancelTrainRoute,
|
disabledCallback: MenuDisabledState.Signal.cancelTrainRoute,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '信号封闭',
|
label: this.$t('menu.menuSignal.signalBlock'),
|
||||||
handler: this.lock,
|
handler: this.lock,
|
||||||
disabledCallback: MenuDisabledState.Signal.lock,
|
disabledCallback: MenuDisabledState.Signal.lock,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '信号解封',
|
label: this.$t('menu.menuSignal.signalDeblock'),
|
||||||
handler: this.unlock,
|
handler: this.unlock,
|
||||||
disabledCallback: MenuDisabledState.Signal.unlock,
|
disabledCallback: MenuDisabledState.Signal.unlock,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '信号重开',
|
label: this.$t('menu.menuSignal.signalReopen'),
|
||||||
handler: this.reopenSignal,
|
handler: this.reopenSignal,
|
||||||
disabledCallback: MenuDisabledState.Signal.reopenSignal,
|
disabledCallback: MenuDisabledState.Signal.reopenSignal,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '引导进路办理',
|
label: this.$t('menu.menuSignal.guideRouteHandle'),
|
||||||
handler: this.guide,
|
handler: this.guide,
|
||||||
disabledCallback: MenuDisabledState.Signal.guide,
|
disabledCallback: MenuDisabledState.Signal.guide,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '设置联锁自动进路',
|
label: this.$t('menu.menuSignal.setInterlockAutoRoute'),
|
||||||
handler: this.setAutoInterlock,
|
handler: this.setAutoInterlock,
|
||||||
disabledCallback: MenuDisabledState.Signal.setAutoInterlock,
|
disabledCallback: MenuDisabledState.Signal.setAutoInterlock,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '取消联锁自动进路',
|
label: this.$t('menu.menuSignal.cancelInterlockAutoRoute'),
|
||||||
handler: this.cancelAutoInterlock,
|
handler: this.cancelAutoInterlock,
|
||||||
disabledCallback: MenuDisabledState.Signal.cancelAutoInterlock,
|
disabledCallback: MenuDisabledState.Signal.cancelAutoInterlock,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '设置联锁自动触发',
|
label: this.$t('menu.menuSignal.setInterlockAutoTrigger'),
|
||||||
handler: this.setAutoTrigger,
|
handler: this.setAutoTrigger,
|
||||||
disabledCallback: MenuDisabledState.Signal.setAutoTrigger,
|
disabledCallback: MenuDisabledState.Signal.setAutoTrigger,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '取消联锁自动触发',
|
label: this.$t('menu.menuSignal.cancelInterlockAutoTrigger'),
|
||||||
handler: this.cancelAutoTrigger,
|
handler: this.cancelAutoTrigger,
|
||||||
disabledCallback: MenuDisabledState.Signal.cancelAutoTrigger,
|
disabledCallback: MenuDisabledState.Signal.cancelAutoTrigger,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '信号关灯',
|
label: this.$t('menu.menuSignal.signalOff'),
|
||||||
handler: this.signalClose,
|
handler: this.signalClose,
|
||||||
disabledCallback: MenuDisabledState.Signal.signalClose,
|
disabledCallback: MenuDisabledState.Signal.signalClose,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
@ -116,61 +116,61 @@ export default {
|
|||||||
],
|
],
|
||||||
central: [
|
central: [
|
||||||
{
|
{
|
||||||
label: '进路选排',
|
label: this.$t('menu.menuSignal.routeSelect'),
|
||||||
handler: this.arrangementRoute,
|
handler: this.arrangementRoute,
|
||||||
disabledCallback: MenuDisabledState.Signal.arrangementRoute,
|
disabledCallback: MenuDisabledState.Signal.arrangementRoute,
|
||||||
auth: { station: false, center: true }
|
auth: { station: false, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '进路取消',
|
label: this.$t('menu.menuSignal.routeCancel'),
|
||||||
handler: this.cancelTrainRoute,
|
handler: this.cancelTrainRoute,
|
||||||
disabledCallback: MenuDisabledState.Signal.cancelTrainRoute,
|
disabledCallback: MenuDisabledState.Signal.cancelTrainRoute,
|
||||||
auth: { station: false, center: true }
|
auth: { station: false, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '信号封闭',
|
label: this.$t('menu.menuSignal.signalBlock'),
|
||||||
handler: this.lock,
|
handler: this.lock,
|
||||||
disabledCallback: MenuDisabledState.Signal.lock,
|
disabledCallback: MenuDisabledState.Signal.lock,
|
||||||
auth: { station: false, center: true }
|
auth: { station: false, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '信号解封',
|
label: this.$t('menu.menuSignal.signalDeblock'),
|
||||||
handler: this.unlock,
|
handler: this.unlock,
|
||||||
disabledCallback: MenuDisabledState.Signal.unlock,
|
disabledCallback: MenuDisabledState.Signal.unlock,
|
||||||
auth: { station: false, center: true }
|
auth: { station: false, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '信号关灯',
|
label: this.$t('menu.menuSignal.signalOff'),
|
||||||
handler: this.signalClose,
|
handler: this.signalClose,
|
||||||
disabledCallback: MenuDisabledState.Signal.signalClose,
|
disabledCallback: MenuDisabledState.Signal.signalClose,
|
||||||
auth: { station: false, center: true }
|
auth: { station: false, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '信号重开',
|
label: this.$t('menu.menuSignal.signalReopen'),
|
||||||
handler: this.reopenSignal,
|
handler: this.reopenSignal,
|
||||||
disabledCallback: MenuDisabledState.Signal.reopenSignal,
|
disabledCallback: MenuDisabledState.Signal.reopenSignal,
|
||||||
auth: { station: false, center: true }
|
auth: { station: false, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '进路引导',
|
label: this.$t('menu.menuSignal.routeGuide'),
|
||||||
handler: this.guide,
|
handler: this.guide,
|
||||||
disabledCallback: MenuDisabledState.Signal.guide,
|
disabledCallback: MenuDisabledState.Signal.guide,
|
||||||
auth: { station: false, center: false }
|
auth: { station: false, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '自排关',
|
label: this.$t('menu.menuSignal.humanControl'),
|
||||||
handler: this.humanControl,
|
handler: this.humanControl,
|
||||||
disabledCallback: MenuDisabledState.Signal.humanControl,
|
disabledCallback: MenuDisabledState.Signal.humanControl,
|
||||||
auth: { station: false, center: true }
|
auth: { station: false, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '自排开',
|
label: this.$t('menu.menuSignal.atsAutoControl'),
|
||||||
handler: this.atsAutoControl,
|
handler: this.atsAutoControl,
|
||||||
disabledCallback: MenuDisabledState.Signal.atsAutoControl,
|
disabledCallback: MenuDisabledState.Signal.atsAutoControl,
|
||||||
auth: { station: false, center: true }
|
auth: { station: false, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '查询进路控制模式',
|
label: this.$t('menu.menuSignal.queryRouteControlMode'),
|
||||||
handler: this.detail,
|
handler: this.detail,
|
||||||
disabledCallback: MenuDisabledState.Signal.detail,
|
disabledCallback: MenuDisabledState.Signal.detail,
|
||||||
auth: { station: true, center: true }
|
auth: { station: true, center: true }
|
||||||
@ -179,12 +179,12 @@ export default {
|
|||||||
},
|
},
|
||||||
menuForce: [
|
menuForce: [
|
||||||
{
|
{
|
||||||
label: '设置故障',
|
label: this.$t('menu.menuSignal.setFault'),
|
||||||
handler: this.setStoppage,
|
handler: this.setStoppage,
|
||||||
disabledCallback: MenuDisabledState.Signal.setStoppage
|
disabledCallback: MenuDisabledState.Signal.setStoppage
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '取消故障',
|
label: this.$t('menu.menuSignal.cancelFault'),
|
||||||
handler: this.cancelStoppage,
|
handler: this.cancelStoppage,
|
||||||
disabledCallback: MenuDisabledState.Signal.cancelStoppage
|
disabledCallback: MenuDisabledState.Signal.cancelStoppage
|
||||||
}
|
}
|
||||||
|
@ -39,25 +39,25 @@
|
|||||||
menuNormal: {
|
menuNormal: {
|
||||||
local: [
|
local: [
|
||||||
{
|
{
|
||||||
label: '全站设置联锁自动触发',
|
label: this.$t('menu.menuStation.fullSiteSetInterlockAutoTrigger'),
|
||||||
handler: this.setAutoTrigger,
|
handler: this.setAutoTrigger,
|
||||||
disabledCallback: MenuDisabledState.Station.setAutoTrigger,
|
disabledCallback: MenuDisabledState.Station.setAutoTrigger,
|
||||||
auth: { station: true, center: false },
|
auth: { station: true, center: false },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '全站取消联锁自动触发',
|
label: this.$t('menu.menuStation.fullSiteCancelInterlockAutoTrigger'),
|
||||||
handler: this.cancelAutoTrigger,
|
handler: this.cancelAutoTrigger,
|
||||||
disabledCallback: MenuDisabledState.Station.cancelAutoTrigger,
|
disabledCallback: MenuDisabledState.Station.cancelAutoTrigger,
|
||||||
auth: { station: true, center: false },
|
auth: { station: true, center: false },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '上电解锁',
|
label: this.$t('menu.menuStation.powerUnLock'),
|
||||||
handler: this.powerUnLock,
|
handler: this.powerUnLock,
|
||||||
disabledCallback: MenuDisabledState.Station.powerUnLock,
|
disabledCallback: MenuDisabledState.Station.powerUnLock,
|
||||||
auth: { station: true, center: false },
|
auth: { station: true, center: false },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '执行关键操作测试',
|
label: this.$t('menu.menuStation.execKeyOperationTest'),
|
||||||
handler: this.execKeyOperationTest,
|
handler: this.execKeyOperationTest,
|
||||||
disabledCallback: MenuDisabledState.Station.execKeyOperationTest,
|
disabledCallback: MenuDisabledState.Station.execKeyOperationTest,
|
||||||
auth: { station: true, center: false },
|
auth: { station: true, center: false },
|
||||||
@ -65,19 +65,19 @@
|
|||||||
],
|
],
|
||||||
central: [
|
central: [
|
||||||
{
|
{
|
||||||
label: '所有进路自排关',
|
label: this.$t('menu.menuStation.allHumanControl'),
|
||||||
handler: this.humanControlALL,
|
handler: this.humanControlALL,
|
||||||
disabledCallback: MenuDisabledState.Station.humanControlALL,
|
disabledCallback: MenuDisabledState.Station.humanControlALL,
|
||||||
auth: { station: false, center: true },
|
auth: { station: false, center: true },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '所有进路自排开',
|
label: this.$t('menu.menuStation.allATSAutoControl'),
|
||||||
handler: this.atsAutoControlALL,
|
handler: this.atsAutoControlALL,
|
||||||
disabledCallback: MenuDisabledState.Station.atsAutoControlALL,
|
disabledCallback: MenuDisabledState.Station.atsAutoControlALL,
|
||||||
auth: { station: false, center: true },
|
auth: { station: false, center: true },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '执行关键操作测试',
|
label: this.$t('menu.menuStation.execKeyOperationTest'),
|
||||||
handler: this.execKeyOperationTest,
|
handler: this.execKeyOperationTest,
|
||||||
disabledCallback: MenuDisabledState.Station.execKeyOperationTest,
|
disabledCallback: MenuDisabledState.Station.execKeyOperationTest,
|
||||||
auth: { station: false, center: true },
|
auth: { station: false, center: true },
|
||||||
@ -86,12 +86,12 @@
|
|||||||
},
|
},
|
||||||
menuForce: [
|
menuForce: [
|
||||||
{
|
{
|
||||||
label: '设置ZC故障',
|
label: this.$t('menu.menuStation.setStoppage'),
|
||||||
handler: this.setStoppage,
|
handler: this.setStoppage,
|
||||||
disabledCallback: MenuDisabledState.Station.setStoppage
|
disabledCallback: MenuDisabledState.Station.setStoppage
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '取消ZC故障',
|
label: this.$t('menu.menuStation.cancelStoppage'),
|
||||||
handler: this.cancelStoppage,
|
handler: this.cancelStoppage,
|
||||||
disabledCallback: MenuDisabledState.Station.cancelStoppage
|
disabledCallback: MenuDisabledState.Station.cancelStoppage
|
||||||
}
|
}
|
||||||
|
@ -48,55 +48,55 @@ export default {
|
|||||||
menuNormal: {
|
menuNormal: {
|
||||||
local: [
|
local: [
|
||||||
{
|
{
|
||||||
label: '扣车',
|
label: this.$t('menu.menuStationStand.detainTrain'),
|
||||||
handler: this.setDetainTrain,
|
handler: this.setDetainTrain,
|
||||||
disabledCallback: MenuDisabledState.StationStand.setDetainTrain,
|
disabledCallback: MenuDisabledState.StationStand.setDetainTrain,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '取消扣车',
|
label: this.$t('menu.menuStationStand.cancelDetainTrain'),
|
||||||
handler: this.cancelDetainTrain,
|
handler: this.cancelDetainTrain,
|
||||||
disabledCallback: MenuDisabledState.StationStand.cancelDetainTrain,
|
disabledCallback: MenuDisabledState.StationStand.cancelDetainTrain,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '强制取消扣车',
|
label: this.$t('menu.menuStationStand.cancelDetainTrainForce'),
|
||||||
handler: this.cancelDetainTrainForce,
|
handler: this.cancelDetainTrainForce,
|
||||||
disabledCallback: MenuDisabledState.StationStand.cancelDetainTrainForce,
|
disabledCallback: MenuDisabledState.StationStand.cancelDetainTrainForce,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '跳停',
|
label: this.$t('menu.menuStationStand.jumpStop'),
|
||||||
handler: this.setJumpStop,
|
handler: this.setJumpStop,
|
||||||
disabledCallback: MenuDisabledState.StationStand.setJumpStop,
|
disabledCallback: MenuDisabledState.StationStand.setJumpStop,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '取消跳停',
|
label: this.$t('menu.menuStationStand.cancelJumpStop'),
|
||||||
handler: this.cancelJumpStop,
|
handler: this.cancelJumpStop,
|
||||||
disabledCallback: MenuDisabledState.StationStand.cancelJumpStop,
|
disabledCallback: MenuDisabledState.StationStand.cancelJumpStop,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '设置运行等级',
|
label: this.$t('menu.menuStationStand.setRunLevel'),
|
||||||
handler: this.setRunLevel,
|
handler: this.setRunLevel,
|
||||||
disabledCallback: MenuDisabledState.StationStand.setRunLevel,
|
disabledCallback: MenuDisabledState.StationStand.setRunLevel,
|
||||||
auth: { station: false, center: false }
|
auth: { station: false, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '设置提前发车',
|
label: this.$t('menu.menuStationStand.setEarlyDeparture'),
|
||||||
handler: this.earlyDeparture,
|
handler: this.earlyDeparture,
|
||||||
disabledCallback: MenuDisabledState.StationStand.earlyDeparture,
|
disabledCallback: MenuDisabledState.StationStand.earlyDeparture,
|
||||||
auth: { station: false, center: false }
|
auth: { station: false, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '人工折返策略设置',
|
label: this.$t('menu.menuStationStand.setBackStrategy'),
|
||||||
handler: this.setBackStrategy,
|
handler: this.setBackStrategy,
|
||||||
disabledCallback: MenuDisabledState.StationStand.setBackStrategy,
|
disabledCallback: MenuDisabledState.StationStand.setBackStrategy,
|
||||||
auth: { station: false, center: false }
|
auth: { station: false, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '查询站台状态',
|
label: this.$t('menu.menuStationStand.getStationStandStatus'),
|
||||||
handler: this.detail,
|
handler: this.detail,
|
||||||
disabledCallback: MenuDisabledState.StationStand.detail,
|
disabledCallback: MenuDisabledState.StationStand.detail,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
@ -104,67 +104,67 @@ export default {
|
|||||||
],
|
],
|
||||||
central: [
|
central: [
|
||||||
{
|
{
|
||||||
label: '扣车',
|
label: this.$t('menu.menuStationStand.detainTrain'),
|
||||||
handler: this.setDetainTrain,
|
handler: this.setDetainTrain,
|
||||||
disabledCallback: MenuDisabledState.StationStand.setDetainTrain,
|
disabledCallback: MenuDisabledState.StationStand.setDetainTrain,
|
||||||
auth: { station: false, center: true }
|
auth: { station: false, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '取消扣车',
|
label: this.$t('menu.menuStationStand.cancelDetainTrain'),
|
||||||
handler: this.cancelDetainTrain,
|
handler: this.cancelDetainTrain,
|
||||||
disabledCallback: MenuDisabledState.StationStand.cancelDetainTrain,
|
disabledCallback: MenuDisabledState.StationStand.cancelDetainTrain,
|
||||||
auth: { station: false, center: true }
|
auth: { station: false, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '强制取消扣车',
|
label: this.$t('menu.menuStationStand.cancelDetainTrainForce'),
|
||||||
handler: this.cancelDetainTrainForce,
|
handler: this.cancelDetainTrainForce,
|
||||||
disabledCallback: MenuDisabledState.StationStand.cancelDetainTrainForce,
|
disabledCallback: MenuDisabledState.StationStand.cancelDetainTrainForce,
|
||||||
auth: { station: false, center: false }
|
auth: { station: false, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '全线取消扣车',
|
label: this.$t('menu.menuStationStand.cancelDetainTrainAll'),
|
||||||
handler: this.cancelDetainTrainAll,
|
handler: this.cancelDetainTrainAll,
|
||||||
disabledCallback: MenuDisabledState.StationStand.cancelDetainTrainAll,
|
disabledCallback: MenuDisabledState.StationStand.cancelDetainTrainAll,
|
||||||
auth: { station: false, center: true }
|
auth: { station: false, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '跳停',
|
label: this.$t('menu.menuStationStand.jumpStop'),
|
||||||
handler: this.setJumpStop,
|
handler: this.setJumpStop,
|
||||||
disabledCallback: MenuDisabledState.StationStand.setJumpStop,
|
disabledCallback: MenuDisabledState.StationStand.setJumpStop,
|
||||||
auth: { station: false, center: true }
|
auth: { station: false, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '取消跳停',
|
label: this.$t('menu.menuStationStand.cancelJumpStop'),
|
||||||
handler: this.cancelJumpStop,
|
handler: this.cancelJumpStop,
|
||||||
disabledCallback: MenuDisabledState.StationStand.cancelJumpStop,
|
disabledCallback: MenuDisabledState.StationStand.cancelJumpStop,
|
||||||
auth: { station: true, center: true }
|
auth: { station: true, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '设置停站时间',
|
label: this.$t('menu.menuStationStand.setStopTime'),
|
||||||
handler: this.setStopTime,
|
handler: this.setStopTime,
|
||||||
disabledCallback: MenuDisabledState.StationStand.setStopTime,
|
disabledCallback: MenuDisabledState.StationStand.setStopTime,
|
||||||
auth: { station: false, center: true }
|
auth: { station: false, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '设置运行等级',
|
label: this.$t('menu.menuStationStand.setRunLevel'),
|
||||||
handler: this.setRunLevel,
|
handler: this.setRunLevel,
|
||||||
disabledCallback: MenuDisabledState.StationStand.setRunLevel,
|
disabledCallback: MenuDisabledState.StationStand.setRunLevel,
|
||||||
auth: { station: false, center: true }
|
auth: { station: false, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '设置提前发车',
|
label: this.$t('menu.menuStationStand.setEarlyDeparture'),
|
||||||
handler: this.earlyDeparture,
|
handler: this.earlyDeparture,
|
||||||
disabledCallback: MenuDisabledState.StationStand.earlyDeparture,
|
disabledCallback: MenuDisabledState.StationStand.earlyDeparture,
|
||||||
auth: { station: false, center: true }
|
auth: { station: false, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '人工折返策略设置',
|
label: this.$t('menu.menuStationStand.setBackStrategy'),
|
||||||
handler: this.setBackStrategy,
|
handler: this.setBackStrategy,
|
||||||
disabledCallback: MenuDisabledState.StationStand.setBackStrategy,
|
disabledCallback: MenuDisabledState.StationStand.setBackStrategy,
|
||||||
auth: { station: false, center: true }
|
auth: { station: false, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '查询站台状态',
|
label: this.$t('menu.menuStationStand.getStationStandStatus'),
|
||||||
handler: this.detail,
|
handler: this.detail,
|
||||||
disabledCallback: MenuDisabledState.StationStand.detail,
|
disabledCallback: MenuDisabledState.StationStand.detail,
|
||||||
auth: { station: true, center: true }
|
auth: { station: true, center: true }
|
||||||
@ -173,12 +173,12 @@ export default {
|
|||||||
},
|
},
|
||||||
menuForce: [
|
menuForce: [
|
||||||
{
|
{
|
||||||
label: '设置故障',
|
label: this.$t('menu.menuStationStand.setFault'),
|
||||||
handler: this.setStoppage,
|
handler: this.setStoppage,
|
||||||
disabledCallback: MenuDisabledState.StationStand.setStoppage
|
disabledCallback: MenuDisabledState.StationStand.setStoppage
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '取消故障',
|
label: this.$t('menu.menuStationStand.cancelFault'),
|
||||||
handler: this.cancelStoppage,
|
handler: this.cancelStoppage,
|
||||||
disabledCallback: MenuDisabledState.StationStand.cancelStoppage
|
disabledCallback: MenuDisabledState.StationStand.cancelStoppage
|
||||||
}
|
}
|
||||||
|
@ -39,67 +39,67 @@
|
|||||||
menuNormal: {
|
menuNormal: {
|
||||||
local: [
|
local: [
|
||||||
{
|
{
|
||||||
label: '道岔单锁',
|
label: this.$t('menu.menuSwitch.switchLock'),
|
||||||
handler: this.lock,
|
handler: this.lock,
|
||||||
disabledCallback: MenuDisabledState.Switch.lock,
|
disabledCallback: MenuDisabledState.Switch.lock,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '道岔单解',
|
label: this.$t('menu.menuSwitch.switchUnlock'),
|
||||||
handler: this.unlock,
|
handler: this.unlock,
|
||||||
disabledCallback: MenuDisabledState.Switch.unlock,
|
disabledCallback: MenuDisabledState.Switch.unlock,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '道岔区段封闭',
|
label: this.$t('menu.menuSwitch.switchSectionBlockade'),
|
||||||
handler: this.block,
|
handler: this.block,
|
||||||
disabledCallback: MenuDisabledState.Switch.block,
|
disabledCallback: MenuDisabledState.Switch.block,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '道岔区段解封',
|
label: this.$t('menu.menuSwitch.switchSectionUnblock'),
|
||||||
handler: this.unblock,
|
handler: this.unblock,
|
||||||
disabledCallback: MenuDisabledState.Switch.unblock,
|
disabledCallback: MenuDisabledState.Switch.unblock,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '道岔转动',
|
label: this.$t('menu.menuSwitch.switchTurnout'),
|
||||||
handler: this.switchTurnout,
|
handler: this.switchTurnout,
|
||||||
disabledCallback: MenuDisabledState.Switch.switchTurnout,
|
disabledCallback: MenuDisabledState.Switch.switchTurnout,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '道岔区段故障解锁',
|
label: this.$t('menu.menuSwitch.switchSectionFaultUnlock'),
|
||||||
handler: this.fault,
|
handler: this.fault,
|
||||||
disabledCallback: MenuDisabledState.Switch.fault,
|
disabledCallback: MenuDisabledState.Switch.fault,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '道岔区段计轴预复位',
|
label: this.$t('menu.menuSwitch.switchSectionAxisPreReset') ,
|
||||||
handler: this.axlePreReset,
|
handler: this.axlePreReset,
|
||||||
disabledCallback: MenuDisabledState.Switch.axlePreReset,
|
disabledCallback: MenuDisabledState.Switch.axlePreReset,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '区段切除',
|
label: this.$t('menu.menuSwitch.sectionResection'),
|
||||||
handler: this.split,
|
handler: this.split,
|
||||||
disabledCallback: MenuDisabledState.Switch.split,
|
disabledCallback: MenuDisabledState.Switch.split,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '区段激活',
|
label: this.$t('menu.menuSwitch.sectionActive'),
|
||||||
handler: this.active,
|
handler: this.active,
|
||||||
disabledCallback: MenuDisabledState.Switch.active,
|
disabledCallback: MenuDisabledState.Switch.active,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '道岔区段设置限速',
|
label: this.$t('menu.menuSwitch.switchSectionSetSpeedLimit'),
|
||||||
handler: this.setSpeed,
|
handler: this.setSpeed,
|
||||||
disabledCallback: MenuDisabledState.Switch.setSpeed,
|
disabledCallback: MenuDisabledState.Switch.setSpeed,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '道岔区段取消限速',
|
label: this.$t('menu.menuSwitch.switchSectionCancelSpeedLimit'),
|
||||||
handler: this.cancelSpeed,
|
handler: this.cancelSpeed,
|
||||||
disabledCallback: MenuDisabledState.Switch.cancelSpeed,
|
disabledCallback: MenuDisabledState.Switch.cancelSpeed,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
@ -107,61 +107,61 @@
|
|||||||
],
|
],
|
||||||
central: [
|
central: [
|
||||||
{
|
{
|
||||||
label: '道岔单锁',
|
label: this.$t('menu.menuSwitch.switchLock'),
|
||||||
handler: this.lock,
|
handler: this.lock,
|
||||||
disabledCallback: MenuDisabledState.Switch.lock,
|
disabledCallback: MenuDisabledState.Switch.lock,
|
||||||
auth: { station: false, center: true }
|
auth: { station: false, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '道岔单解',
|
label: this.$t('menu.menuSwitch.switchUnlock'),
|
||||||
handler: this.unlock,
|
handler: this.unlock,
|
||||||
disabledCallback: MenuDisabledState.Switch.unlock,
|
disabledCallback: MenuDisabledState.Switch.unlock,
|
||||||
auth: { station: false, center: true }
|
auth: { station: false, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '道岔区段封闭',
|
label: this.$t('menu.menuSwitch.switchSectionBlockade'),
|
||||||
handler: this.block,
|
handler: this.block,
|
||||||
disabledCallback: MenuDisabledState.Switch.block,
|
disabledCallback: MenuDisabledState.Switch.block,
|
||||||
auth: { station: false, center: true }
|
auth: { station: false, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '道岔区段解封',
|
label: this.$t('menu.menuSwitch.switchSectionUnblock'),
|
||||||
handler: this.unblock,
|
handler: this.unblock,
|
||||||
disabledCallback: MenuDisabledState.Switch.unblock,
|
disabledCallback: MenuDisabledState.Switch.unblock,
|
||||||
auth: { station: false, center: true }
|
auth: { station: false, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '道岔转动',
|
label: this.$t('menu.menuSwitch.switchTurnout'),
|
||||||
handler: this.switchTurnout,
|
handler: this.switchTurnout,
|
||||||
disabledCallback: MenuDisabledState.Switch.switchTurnout,
|
disabledCallback: MenuDisabledState.Switch.switchTurnout,
|
||||||
auth: { station: false, center: true }
|
auth: { station: false, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '道岔区段故障解锁',
|
label: this.$t('menu.menuSwitch.switchSectionFaultUnlock'),
|
||||||
handler: this.fault,
|
handler: this.fault,
|
||||||
disabledCallback: MenuDisabledState.Switch.fault,
|
disabledCallback: MenuDisabledState.Switch.fault,
|
||||||
auth: { station: false, center: true }
|
auth: { station: false, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '区段切除',
|
label: this.$t('menu.menuSwitch.sectionResection'),
|
||||||
handler: this.split,
|
handler: this.split,
|
||||||
disabledCallback: MenuDisabledState.Switch.split,
|
disabledCallback: MenuDisabledState.Switch.split,
|
||||||
auth: { station: true, center: true }
|
auth: { station: true, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '区段激活',
|
label: this.$t('menu.menuSwitch.sectionActive'),
|
||||||
handler: this.active,
|
handler: this.active,
|
||||||
disabledCallback: MenuDisabledState.Switch.active,
|
disabledCallback: MenuDisabledState.Switch.active,
|
||||||
auth: { station: true, center: true }
|
auth: { station: true, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '道岔区段设置限速',
|
label: this.$t('menu.menuSwitch.switchSectionSetSpeedLimit'),
|
||||||
handler: this.setSpeed,
|
handler: this.setSpeed,
|
||||||
disabledCallback: MenuDisabledState.Switch.setSpeed,
|
disabledCallback: MenuDisabledState.Switch.setSpeed,
|
||||||
auth: { station: false, center: true }
|
auth: { station: false, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '道岔区段取消限速',
|
label: this.$t('menu.menuSwitch.switchSectionCancelSpeedLimit'),
|
||||||
handler: this.cancelSpeed,
|
handler: this.cancelSpeed,
|
||||||
disabledCallback: MenuDisabledState.Switch.cancelSpeed,
|
disabledCallback: MenuDisabledState.Switch.cancelSpeed,
|
||||||
auth: { station: false, center: true }
|
auth: { station: false, center: true }
|
||||||
@ -170,7 +170,7 @@
|
|||||||
},
|
},
|
||||||
menuForce: [
|
menuForce: [
|
||||||
{
|
{
|
||||||
label: '设置故障',
|
label: this.$t('menu.menuSwitch.setFault'),
|
||||||
handler: this.setStoppage,
|
handler: this.setStoppage,
|
||||||
disabledCallback: MenuDisabledState.Switch.setStoppage,
|
disabledCallback: MenuDisabledState.Switch.setStoppage,
|
||||||
auth: {
|
auth: {
|
||||||
@ -178,7 +178,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '取消故障',
|
label: this.$t('menu.menuSwitch.cancelFault'),
|
||||||
handler: this.cancelStoppage,
|
handler: this.cancelStoppage,
|
||||||
disabledCallback: MenuDisabledState.Switch.cancelStoppage,
|
disabledCallback: MenuDisabledState.Switch.cancelStoppage,
|
||||||
auth: {
|
auth: {
|
||||||
|
@ -49,37 +49,37 @@ export default {
|
|||||||
local: [],
|
local: [],
|
||||||
central: [
|
central: [
|
||||||
{
|
{
|
||||||
label: '添加列车识别号',
|
label: this.$t('menu.menuTrain.addTrainId'),
|
||||||
handler: this.addTrainId,
|
handler: this.addTrainId,
|
||||||
disabledCallback: MenuDisabledState.Train.addTrainId,
|
disabledCallback: MenuDisabledState.Train.addTrainId,
|
||||||
auth: { station: true, center: true }
|
auth: { station: true, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '删除列车识别号',
|
label: this.$t('menu.menuTrain.deleteTrainId'),
|
||||||
handler: this.delTrainId,
|
handler: this.delTrainId,
|
||||||
disabledCallback: MenuDisabledState.Train.delTrainId,
|
disabledCallback: MenuDisabledState.Train.delTrainId,
|
||||||
auth: { station: true, center: true }
|
auth: { station: true, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '修改列车识别号',
|
label: this.$t('menu.menuTrain.editTrainId'),
|
||||||
handler: this.editTrainId,
|
handler: this.editTrainId,
|
||||||
disabledCallback: MenuDisabledState.Train.editTrainId,
|
disabledCallback: MenuDisabledState.Train.editTrainId,
|
||||||
auth: { station: true, center: true }
|
auth: { station: true, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '修改车组号',
|
label: this.$t('menu.menuTrain.editTrainNo'),
|
||||||
handler: this.editTrainNo,
|
handler: this.editTrainNo,
|
||||||
disabledCallback: MenuDisabledState.Train.editTrainNo,
|
disabledCallback: MenuDisabledState.Train.editTrainNo,
|
||||||
auth: { station: true, center: true }
|
auth: { station: true, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '移动列车识别号',
|
label: this.$t('menu.menuTrain.moveTrainId'),
|
||||||
handler: this.moveTrainId,
|
handler: this.moveTrainId,
|
||||||
disabledCallback: MenuDisabledState.Train.moveTrainId,
|
disabledCallback: MenuDisabledState.Train.moveTrainId,
|
||||||
auth: { station: true, center: true }
|
auth: { station: true, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '交换列车识别号',
|
label: this.$t('menu.menuTrain.switchTrainId'),
|
||||||
handler: this.switchTrainId,
|
handler: this.switchTrainId,
|
||||||
disabledCallback: MenuDisabledState.Train.switchTrainId,
|
disabledCallback: MenuDisabledState.Train.switchTrainId,
|
||||||
auth: { station: true, center: true }
|
auth: { station: true, center: true }
|
||||||
@ -88,19 +88,19 @@ export default {
|
|||||||
},
|
},
|
||||||
menuForce: [
|
menuForce: [
|
||||||
{
|
{
|
||||||
label: '设置通信故障',
|
label: this.$t('menu.menuTrain.setCommunicationFault'),
|
||||||
handler: this.setStoppage,
|
handler: this.setStoppage,
|
||||||
disabledCallback: MenuDisabledState.Train.setStoppage
|
disabledCallback: MenuDisabledState.Train.setStoppage
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '取消通信故障',
|
label: this.$t('menu.menuTrain.cancelCommunicationFault'),
|
||||||
handler: this.cancelStoppage,
|
handler: this.cancelStoppage,
|
||||||
disabledCallback: MenuDisabledState.Train.cancelStoppage
|
disabledCallback: MenuDisabledState.Train.cancelStoppage
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
menuSpeed: [
|
menuSpeed: [
|
||||||
{
|
{
|
||||||
label: '确认运行至前方站',
|
label: this.$t('menu.menuTrain.confirmRunToFrontStation'),
|
||||||
handler: this.limitSpeed,
|
handler: this.limitSpeed,
|
||||||
disabledCallback: MenuDisabledState.Train.limitSpeed
|
disabledCallback: MenuDisabledState.Train.limitSpeed
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user