调整西安二号线右键操作
This commit is contained in:
parent
18c74bb3ca
commit
518bf2eeac
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -191,7 +191,6 @@ export default {
|
||||
},
|
||||
// 结束加载状态
|
||||
endViewLoading(isSuccess) {
|
||||
console.log(isSuccess, '****');
|
||||
if (!isSuccess) {
|
||||
this.$store.dispatch('map/mapClear');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user