diff --git a/src/jmapNew/theme/components/utils/menuOperate.js b/src/jmapNew/theme/components/utils/menuOperate.js index d814f7c9b..ba6352759 100644 --- a/src/jmapNew/theme/components/utils/menuOperate.js +++ b/src/jmapNew/theme/components/utils/menuOperate.js @@ -420,12 +420,12 @@ export const menuOperate = { // 更改目的地码 destinationTrain: { operation: OperationEvent.Train.destinationTrainId.menu.operation, - cmdType: CMD.Train.CMD_TRAIN_CHANGE_DESTINATION_CODE + cmdType: CMD.TrainWindow.CMD_TRAIN_SET_HEAD }, // 删除目的地码 deletDestionation: { operation: OperationEvent.Train.deleteDestinationTrainId.menu.operation, - cmdType: CMD.Train.CMD_TRAIN_DELETE_SERVICE_NUMBER + cmdType: CMD.TrainWindow.CMD_TRAIN_SET_MANUAL } } diff --git a/src/jmapNew/theme/xian_02/menus/dialog/trainDelDestination.vue b/src/jmapNew/theme/xian_02/menus/dialog/trainDelDestination.vue index 33ab21d39..2ff416854 100644 --- a/src/jmapNew/theme/xian_02/menus/dialog/trainDelDestination.vue +++ b/src/jmapNew/theme/xian_02/menus/dialog/trainDelDestination.vue @@ -98,7 +98,7 @@ export default { const operate = { send: true, operation: OperationEvent.Train.deleteDestinationTrainId.menu.operation, - cmdType: CMD.Train.CMD_TRAIN_DELETE_SERVICE_NUMBER + cmdType: CMD.TrainWindow.CMD_TRAIN_SET_MANUAL }; this.loading = true; diff --git a/src/jmapNew/theme/xian_02/menus/dialog/trainDestination.vue b/src/jmapNew/theme/xian_02/menus/dialog/trainDestination.vue index b330c2684..d74622dca 100644 --- a/src/jmapNew/theme/xian_02/menus/dialog/trainDestination.vue +++ b/src/jmapNew/theme/xian_02/menus/dialog/trainDestination.vue @@ -172,9 +172,10 @@ export default { const operate = { send: true, operation: OperationEvent.Train.destinationTrainId.menu.operation, - cmdType: CMD.Train.CMD_TRAIN_CHANGE_DESTINATION_CODE, + cmdType: CMD.TrainWindow.CMD_TRAIN_SET_HEAD, param: { - destinationCode: this.addModel.trainDestinationCode + destinationCode: this.addModel.trainDestinationCode, + serviceNumber: this.addModel.serviceNumber } }; diff --git a/src/views/newMap/displayNew/exam/index.vue b/src/views/newMap/displayNew/exam/index.vue index 4c8ca1a7e..78d39abbf 100644 --- a/src/views/newMap/displayNew/exam/index.vue +++ b/src/views/newMap/displayNew/exam/index.vue @@ -191,7 +191,6 @@ export default { }, // 结束加载状态 endViewLoading(isSuccess) { - console.log(isSuccess, '****'); if (!isSuccess) { this.$store.dispatch('map/mapClear'); }