diff --git a/src/jmapNew/theme/components/utils/menuOperate.js b/src/jmapNew/theme/components/utils/menuOperate.js index 5869d2970..bda6d8baf 100644 --- a/src/jmapNew/theme/components/utils/menuOperate.js +++ b/src/jmapNew/theme/components/utils/menuOperate.js @@ -563,6 +563,26 @@ export const menuOperate = { agreeNotcie:{ operation: OperationEvent.CTCCommand.agreeNotcie.menu.operation, cmdType: CMD.CTC.CTC_AGREE_NOTICE + }, + // 增加列车固定径路 + addTrainFixedPath:{ + operation: OperationEvent.CTCCommand.addTrainFixedPath.menu.operation, + cmdType: CMD.CTC.CTC_ADD_RUN_PLAN_LIST_TO_EDIT_AREA + }, + // 导入列车固定径路 + importTrainFixedPath:{ + operation: OperationEvent.CTCCommand.importTrainFixedPath.menu.operation, + cmdType: CMD.CTC.CTC_COVER_RUN_PLAN_LIST_TO_EDIT_AREA + }, + // 删除列车固定径路 + deleteTrainFixedPath:{ + operation: OperationEvent.CTCCommand.deleteTrainFixedPath.menu.operation, + cmdType: CMD.CTC.CTC_REMOVE_RUN_PLAN_FROM_EDIT_AREA + }, + // 运行计划发布至CTC + releaseTrainFixedPath:{ + operation: OperationEvent.CTCCommand.releaseTrainFixedPath.menu.operation, + cmdType: CMD.CTC.CTC_RELEASE_RUN_PLAN_TO_SIMULATION } } diff --git a/src/scripts/cmdPlugin/CommandEnum.js b/src/scripts/cmdPlugin/CommandEnum.js index 3d4b1b6fc..14f31eef1 100644 --- a/src/scripts/cmdPlugin/CommandEnum.js +++ b/src/scripts/cmdPlugin/CommandEnum.js @@ -394,9 +394,10 @@ export default { CTC_MODIFY_ADJACENT_STATION:{value: 'CTC_MODIFY_ADJACENT_STATION', label: '修改邻站信息'}, CTC_MODIFY_TRIP_NUMBER:{value: 'CTC_MODIFY_TRIP_NUMBER', label: '修改车次号(大铁CTC)'}, CTC_SEND_NOTICE:{value: 'CTC_SEND_NOTICE', label: '发送发车预告'}, - CTC_AGREE_NOTICE:{value: 'CTC_AGREE_NOTICE', label: '同意发车预告'} - // 参数: - // stationCode 车站编码 - // runPlanCode 运行编码 + CTC_AGREE_NOTICE:{value: 'CTC_AGREE_NOTICE', label: '同意发车预告'}, + CTC_ADD_RUN_PLAN_LIST_TO_EDIT_AREA:{value: 'CTC_ADD_RUN_PLAN_LIST_TO_EDIT_AREA', label: '增加列车固定径路'}, + CTC_COVER_RUN_PLAN_LIST_TO_EDIT_AREA:{value: 'CTC_COVER_RUN_PLAN_LIST_TO_EDIT_AREA', label: '导入列车固定径路'}, + CTC_REMOVE_RUN_PLAN_FROM_EDIT_AREA:{value: 'CTC_REMOVE_RUN_PLAN_FROM_EDIT_AREA', label: '删除列车固定径路'}, + CTC_RELEASE_RUN_PLAN_TO_SIMULATION:{value: 'CTC_RELEASE_RUN_PLAN_TO_SIMULATION', label: '运行计划发布至CTC'} } }; diff --git a/src/scripts/cmdPlugin/OperationHandler.js b/src/scripts/cmdPlugin/OperationHandler.js index e3d07b472..db45fd7ff 100644 --- a/src/scripts/cmdPlugin/OperationHandler.js +++ b/src/scripts/cmdPlugin/OperationHandler.js @@ -3708,6 +3708,34 @@ export const OperationEvent = { operation: '1116', domId: '_Tips-CTC-agreeNotcie-Menu{TOP}' } + }, + // 增加列车固定径路 + addTrainFixedPath:{ + menu: { + operation: '1117', + domId: '_Tips-CTC-addTrainFixedPath-Menu{TOP}' + } + }, + // 导入列车固定径路 + importTrainFixedPath:{ + menu: { + operation: '1118', + domId: '_Tips-CTC-importTrainFixedPath-Menu{TOP}' + } + }, + // 删除列车固定径路 + deleteTrainFixedPath:{ + menu: { + operation: '1119', + domId: '_Tips-CTC-deleteTrainFixedPath-Menu{TOP}' + } + }, + // 运行计划发布至CTC + releaseTrainFixedPath:{ + menu: { + operation: '1120', + domId: '_Tips-CTC-releaseTrainFixedPath-Menu{TOP}' + } } }