地图右键菜单国际化
This commit is contained in:
parent
b08cddc237
commit
6d03379cb0
@ -25,5 +25,42 @@ export default {
|
|||||||
schedulingLog: 'SchedulingLog',
|
schedulingLog: 'SchedulingLog',
|
||||||
systemAnalysis: 'SystemAnalysis',
|
systemAnalysis: 'SystemAnalysis',
|
||||||
implemented: 'implementing......'
|
implemented: 'implementing......'
|
||||||
|
},
|
||||||
|
menuCancle: {
|
||||||
|
zoomIn: 'Zoom In',
|
||||||
|
zoomOut: 'Zoom Out',
|
||||||
|
back: 'Back'
|
||||||
|
},
|
||||||
|
menuSection: {
|
||||||
|
sectionFaultUnlock: 'Section Fault Unlock',
|
||||||
|
sectionResection: 'Section Resection',
|
||||||
|
sectionActive: 'Section Active',
|
||||||
|
sectionAxisPreReset: 'Section Axis PreReset',
|
||||||
|
sectionBlockade: 'Section Blockade',
|
||||||
|
sectionUnblock: 'Section Unblock',
|
||||||
|
sectionSetSpeedLimit: 'Section Set Speed Limit',
|
||||||
|
sectionCancelSpeedLimit: 'Section Cancel Speed Limit',
|
||||||
|
axisPreReset: 'Axis PreReset',
|
||||||
|
createTrain: 'Create Train',
|
||||||
|
setFault: 'Set Fault',
|
||||||
|
cancelFault: 'Cancel Fault'
|
||||||
|
},
|
||||||
|
menuSignal: {
|
||||||
|
|
||||||
|
},
|
||||||
|
menuStation: {
|
||||||
|
|
||||||
|
},
|
||||||
|
menuStationControl: {
|
||||||
|
|
||||||
|
},
|
||||||
|
menuStationStand: {
|
||||||
|
|
||||||
|
},
|
||||||
|
menuSwitch: {
|
||||||
|
|
||||||
|
},
|
||||||
|
menuTrain: {
|
||||||
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -25,5 +25,103 @@ export default {
|
|||||||
schedulingLog: '调度日志',
|
schedulingLog: '调度日志',
|
||||||
systemAnalysis: '系统分析',
|
systemAnalysis: '系统分析',
|
||||||
implemented: '实现中......'
|
implemented: '实现中......'
|
||||||
|
},
|
||||||
|
menuCancle: {
|
||||||
|
zoomIn: '放大地图',
|
||||||
|
zoomOut: '缩小地图',
|
||||||
|
back: '返回'
|
||||||
|
},
|
||||||
|
menuSection: {
|
||||||
|
sectionFaultUnlock: '区段故障解锁',
|
||||||
|
sectionResection: '区段切除',
|
||||||
|
sectionActive: '区段激活',
|
||||||
|
sectionAxisPreReset: '区段计轴预复位',
|
||||||
|
sectionBlockade: '区段封锁',
|
||||||
|
sectionUnblock: '区段解封',
|
||||||
|
sectionSetSpeedLimit: '区段设置限速',
|
||||||
|
sectionCancelSpeedLimit: '区段取消限速',
|
||||||
|
axisPreReset: '计轴预复位',
|
||||||
|
createTrain: '新建列车',
|
||||||
|
setFault: '设置故障',
|
||||||
|
cancelFault: '取消故障'
|
||||||
|
},
|
||||||
|
menuSignal: {
|
||||||
|
// 进路选排
|
||||||
|
// 进路取消
|
||||||
|
// 信号封闭
|
||||||
|
// 信号解封
|
||||||
|
// 信号重开
|
||||||
|
// 引导进路办理
|
||||||
|
// 设置联锁自动进路
|
||||||
|
// 取消联锁自动进路
|
||||||
|
// 设置联锁自动触发
|
||||||
|
// 取消联锁自动触发
|
||||||
|
// 信号关灯
|
||||||
|
// 进路选排
|
||||||
|
// 进路引导
|
||||||
|
// 自排关
|
||||||
|
// 自排开
|
||||||
|
// 查询进路控制模式
|
||||||
|
// 设置故障
|
||||||
|
// 取消故障
|
||||||
|
},
|
||||||
|
menuStation: {
|
||||||
|
// 全站设置联锁自动触发
|
||||||
|
// 全站取消联锁自动触发
|
||||||
|
// 上电解锁
|
||||||
|
// 执行关键操作测试
|
||||||
|
// 所有进路自排关
|
||||||
|
// 所有进路自排开
|
||||||
|
// 执行关键操作测试
|
||||||
|
// 设置ZC故障
|
||||||
|
// 取消ZC故障
|
||||||
|
},
|
||||||
|
menuStationStand: {
|
||||||
|
// 全站设置联锁自动触发
|
||||||
|
// 全站取消联锁自动触发
|
||||||
|
// 上电解锁
|
||||||
|
// 执行关键操作测试
|
||||||
|
// 所有进路自排关
|
||||||
|
// 所有进路自排开
|
||||||
|
// 执行关键操作测试
|
||||||
|
// 设置ZC故障
|
||||||
|
// 取消ZC故障
|
||||||
|
},
|
||||||
|
menuSwitch: {
|
||||||
|
// 道岔单锁
|
||||||
|
// 道岔单解
|
||||||
|
// 道岔区段封闭
|
||||||
|
// 道岔区段解封
|
||||||
|
// 道岔转动
|
||||||
|
// 道岔区段故障解锁
|
||||||
|
// 道岔区段计轴预复位
|
||||||
|
// 区段切除
|
||||||
|
// 区段激活
|
||||||
|
// 道岔区段设置限速
|
||||||
|
// 道岔区段取消限速
|
||||||
|
// 道岔单锁
|
||||||
|
// 道岔单解
|
||||||
|
// 道岔区段封闭
|
||||||
|
// 道岔区段解封
|
||||||
|
// 道岔转动
|
||||||
|
// 道岔区段故障解锁
|
||||||
|
// 区段切除
|
||||||
|
// 区段激活
|
||||||
|
// 道岔区段设置限速
|
||||||
|
// 道岔区段取消限速
|
||||||
|
// 设置故障
|
||||||
|
// 取消故障
|
||||||
|
},
|
||||||
|
menuTrain: {
|
||||||
|
// 添加列车识别号
|
||||||
|
// 删除列车识别号
|
||||||
|
// 修改列车识别号
|
||||||
|
// 修改车组号
|
||||||
|
// 移动列车识别号
|
||||||
|
// 交换列车识别号
|
||||||
|
// 设置通信故障
|
||||||
|
// 取消通信故障
|
||||||
|
// 确认运行至前方站
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -22,17 +22,17 @@ export default {
|
|||||||
menuNormal: [],
|
menuNormal: [],
|
||||||
menuScreen: [
|
menuScreen: [
|
||||||
{
|
{
|
||||||
label: '放大地图',
|
label: this.$t('menu.menuCancle.zoomIn'),
|
||||||
handler: this.magnifyMap,
|
handler: this.magnifyMap,
|
||||||
disabled: false
|
disabled: false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '缩小地图',
|
label: this.$t('menu.menuCancle.zoomOut'),
|
||||||
handler: this.shrinkMap,
|
handler: this.shrinkMap,
|
||||||
disabled: false
|
disabled: false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '返回',
|
label: this.$t('menu.menuCancle.back'),
|
||||||
handler: this.back,
|
handler: this.back,
|
||||||
disabled: false
|
disabled: false
|
||||||
}
|
}
|
||||||
|
@ -42,49 +42,49 @@
|
|||||||
menuNormal: {
|
menuNormal: {
|
||||||
local: [
|
local: [
|
||||||
{
|
{
|
||||||
label: '区段故障解锁',
|
label: this.$t('menu.menuSection.sectionFaultUnlock'),
|
||||||
handler: this.fault,
|
handler: this.fault,
|
||||||
disabledCallback: MenuDisabledState.Section.fault,
|
disabledCallback: MenuDisabledState.Section.fault,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '区段切除',
|
label: this.$t('menu.menuSection.sectionResection'),
|
||||||
handler: this.split,
|
handler: this.split,
|
||||||
disabledCallback: MenuDisabledState.Section.split,
|
disabledCallback: MenuDisabledState.Section.split,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '区段激活',
|
label: this.$t('menu.menuSection.sectionActive'),
|
||||||
handler: this.active,
|
handler: this.active,
|
||||||
disabledCallback: MenuDisabledState.Section.active,
|
disabledCallback: MenuDisabledState.Section.active,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '区段计轴预复位',
|
label: this.$t('menu.menuSection.sectionAxisPreReset'),
|
||||||
handler: this.axlePreReset,
|
handler: this.axlePreReset,
|
||||||
disabledCallback: MenuDisabledState.Section.axlePreReset,
|
disabledCallback: MenuDisabledState.Section.axlePreReset,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '区段封锁',
|
label: this.$t('menu.menuSection.sectionBlockade'),
|
||||||
handler: this.lock,
|
handler: this.lock,
|
||||||
disabledCallback: MenuDisabledState.Section.lock,
|
disabledCallback: MenuDisabledState.Section.lock,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '区段解封',
|
label: this.$t('menu.menuSection.sectionUnblock'),
|
||||||
handler: this.unlock,
|
handler: this.unlock,
|
||||||
disabledCallback: MenuDisabledState.Section.unlock,
|
disabledCallback: MenuDisabledState.Section.unlock,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '区段设置限速',
|
label: this.$t('menu.menuSection.sectionSetSpeedLimit'),
|
||||||
handler: this.setSpeed,
|
handler: this.setSpeed,
|
||||||
disabledCallback: MenuDisabledState.Section.setSpeed,
|
disabledCallback: MenuDisabledState.Section.setSpeed,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '区段取消限速',
|
label: this.$t('menu.menuSection.sectionCancelSpeedLimit'),
|
||||||
handler: this.cancelSpeed,
|
handler: this.cancelSpeed,
|
||||||
disabledCallback: MenuDisabledState.Section.cancelSpeed,
|
disabledCallback: MenuDisabledState.Section.cancelSpeed,
|
||||||
auth: { station: true, center: false }
|
auth: { station: true, center: false }
|
||||||
@ -92,49 +92,49 @@
|
|||||||
],
|
],
|
||||||
central: [
|
central: [
|
||||||
{
|
{
|
||||||
label: '区段故障解锁',
|
label: this.$t('menu.menuSection.sectionFaultUnlock'),
|
||||||
handler: this.fault,
|
handler: this.fault,
|
||||||
disabledCallback: MenuDisabledState.Section.fault,
|
disabledCallback: MenuDisabledState.Section.fault,
|
||||||
auth: { station: false, center: true }
|
auth: { station: false, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '区段切除',
|
label: this.$t('menu.menuSection.sectionResection'),
|
||||||
handler: this.split,
|
handler: this.split,
|
||||||
disabledCallback: MenuDisabledState.Section.split,
|
disabledCallback: MenuDisabledState.Section.split,
|
||||||
auth: { station: false, center: true }
|
auth: { station: false, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '区段激活',
|
label: this.$t('menu.menuSection.sectionActive'),
|
||||||
handler: this.active,
|
handler: this.active,
|
||||||
disabledCallback: MenuDisabledState.Section.active,
|
disabledCallback: MenuDisabledState.Section.active,
|
||||||
auth: { station: false, center: true }
|
auth: { station: false, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '计轴预复位',
|
label: this.$t('menu.menuSection.axisPreReset') ,
|
||||||
handler: this.axlePreReset,
|
handler: this.axlePreReset,
|
||||||
disabledCallback: MenuDisabledState.Section.axlePreReset,
|
disabledCallback: MenuDisabledState.Section.axlePreReset,
|
||||||
auth: { station: false, center: false }
|
auth: { station: false, center: false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '区段封锁',
|
label: this.$t('menu.menuSection.sectionBlockade'),
|
||||||
handler: this.lock,
|
handler: this.lock,
|
||||||
disabledCallback: MenuDisabledState.Section.lock,
|
disabledCallback: MenuDisabledState.Section.lock,
|
||||||
auth: { station: false, center: true }
|
auth: { station: false, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '区段解封',
|
label: this.$t('menu.menuSection.sectionUnblock'),
|
||||||
handler: this.unlock,
|
handler: this.unlock,
|
||||||
disabledCallback: MenuDisabledState.Section.unlock,
|
disabledCallback: MenuDisabledState.Section.unlock,
|
||||||
auth: { station: false, center: true }
|
auth: { station: false, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '区段设置限速',
|
label: this.$t('menu.menuSection.sectionSetSpeedLimit'),
|
||||||
handler: this.setSpeed,
|
handler: this.setSpeed,
|
||||||
disabledCallback: MenuDisabledState.Section.setSpeed,
|
disabledCallback: MenuDisabledState.Section.setSpeed,
|
||||||
auth: { station: false, center: true }
|
auth: { station: false, center: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '区段取消限速',
|
label: this.$t('menu.menuSection.sectionCancelSpeedLimit'),
|
||||||
handler: this.cancelSpeed,
|
handler: this.cancelSpeed,
|
||||||
disabledCallback: MenuDisabledState.Section.cancelSpeed,
|
disabledCallback: MenuDisabledState.Section.cancelSpeed,
|
||||||
auth: { station: false, center: true }
|
auth: { station: false, center: true }
|
||||||
@ -143,19 +143,19 @@
|
|||||||
},
|
},
|
||||||
menuTrain: [
|
menuTrain: [
|
||||||
{
|
{
|
||||||
label: '新建列车',
|
label: this.$t('menu.menuSection.createTrain'),
|
||||||
handler: this.newTrain,
|
handler: this.newTrain,
|
||||||
disabledCallback: MenuDisabledState.Section.newTrain
|
disabledCallback: MenuDisabledState.Section.newTrain
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
menuForce: [
|
menuForce: [
|
||||||
{
|
{
|
||||||
label: '设置故障',
|
label: this.$t('menu.menuSection.setFault'),
|
||||||
handler: this.setStoppage,
|
handler: this.setStoppage,
|
||||||
disabledCallback: MenuDisabledState.Section.setStoppage
|
disabledCallback: MenuDisabledState.Section.setStoppage
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '取消故障',
|
label: this.$t('menu.menuSection.cancelFault'),
|
||||||
handler: this.cancelStoppage,
|
handler: this.cancelStoppage,
|
||||||
disabledCallback: MenuDisabledState.Section.cancelStoppage
|
disabledCallback: MenuDisabledState.Section.cancelStoppage
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user