调整西安二号线右键操作

This commit is contained in:
zyy 2020-09-07 13:17:11 +08:00
parent 18c74bb3ca
commit 518bf2eeac
4 changed files with 6 additions and 6 deletions

View File

@ -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
}
}

View File

@ -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;

View File

@ -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
}
};

View File

@ -191,7 +191,6 @@ export default {
},
//
endViewLoading(isSuccess) {
console.log(isSuccess, '****');
if (!isSuccess) {
this.$store.dispatch('map/mapClear');
}