diff --git a/src/jmapNew/theme/components/utils/menuOperate.js b/src/jmapNew/theme/components/utils/menuOperate.js index 8b9137464..9d2e04a8c 100644 --- a/src/jmapNew/theme/components/utils/menuOperate.js +++ b/src/jmapNew/theme/components/utils/menuOperate.js @@ -593,6 +593,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 d08ee32e2..a7f999dd6 100644 --- a/src/scripts/cmdPlugin/CommandEnum.js +++ b/src/scripts/cmdPlugin/CommandEnum.js @@ -400,9 +400,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 4439f39a5..07bfbe406 100644 --- a/src/scripts/cmdPlugin/OperationHandler.js +++ b/src/scripts/cmdPlugin/OperationHandler.js @@ -3750,6 +3750,34 @@ export const OperationEvent = { operation: '1122', domId: '_Tips-CTC_CancelDeparture-Menu{TOP}' } + }, + // 增加列车固定径路 + addTrainFixedPath:{ + menu: { + operation: '1123', + domId: '_Tips-CTC-addTrainFixedPath-Menu{TOP}' + } + }, + // 导入列车固定径路 + importTrainFixedPath:{ + menu: { + operation: '1124', + domId: '_Tips-CTC-importTrainFixedPath-Menu{TOP}' + } + }, + // 删除列车固定径路 + deleteTrainFixedPath:{ + menu: { + operation: '1125', + domId: '_Tips-CTC-deleteTrainFixedPath-Menu{TOP}' + } + }, + // 运行计划发布至CTC + releaseTrainFixedPath:{ + menu: { + operation: '1126 ', + domId: '_Tips-CTC-releaseTrainFixedPath-Menu{TOP}' + } } } diff --git a/src/views/bigTrainRunplanManage/addRunplan.vue b/src/views/bigTrainRunplanManage/addRunplan.vue index da488c6a1..86c60d217 100644 --- a/src/views/bigTrainRunplanManage/addRunplan.vue +++ b/src/views/bigTrainRunplanManage/addRunplan.vue @@ -11,53 +11,77 @@ :close-on-click-modal="false" >
- - + + - - + - + - - + - + - - + + - + - - + + - + - - + - + - - + - + - - + - + - - + @@ -74,9 +98,10 @@