代码调整

This commit is contained in:
dong 2023-02-17 18:15:55 +08:00
parent 960e16dfa2
commit 35cd45786f
3 changed files with 6 additions and 11 deletions

View File

@ -288,9 +288,7 @@ export default {
operation: OperationEvent.Command.cancel.menu.operation
};
this.$store.dispatch('trainingNew/next', operate).then(({ valid }) => {
if (valid) {
this.doClose();
}
this.doClose();
}).catch(() => {
this.doClose();
});

View File

@ -194,7 +194,6 @@ export default {
},
commit() {
const list = this.getChangeInfoList();
console.log('🚀 ~ file: statusSelect.vue:154 ~ commit ~ list', list);
if (list.length) {
const operate = {
over: true,
@ -224,9 +223,7 @@ export default {
operation: OperationEvent.CTCCommand.switchRouteSetModel.cancel.operation
};
this.$store.dispatch('trainingNew/next', operate).then(({valid}) => {
if (valid) {
this.doClose();
}
this.doClose();
});
},
doClose() {

View File

@ -3807,15 +3807,15 @@ export const OperationEvent = {
modeCovert:{
button:{
operation: '299e',
domId: '_Tips-Mode-Covert-Button{TOP}'
domId: '_Tips-Mode-Covert-Button{BOTTOM}'
},
agreeModeCovert:{
operation: '299f',
domId: '_Tips-Agree-Mode-Covert{TOP}'
domId: '_Tips-Agree-Mode-Covert{BOTTOM}'
},
applyModeCovert:{
operation: '299g',
domId: '_Tips-Apply-Mode-Covert'
domId: '_Tips-Apply-Mode-Covert{BOTTOM}'
},
agreeModeCovertCommit:{
operation: '299h',
@ -4252,7 +4252,7 @@ export const OperationEvent = {
switchRouteSetModel: {
menu: {
operation: 'a063',
domId: '_Tips-CTC-switchRouteSetModel-menu{TOP}'
domId: '_Tips-CTC-switchRouteSetModel-menu{BOTTOM}'
},
confirm: {
operation: 'a064',