代码调整

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 operation: OperationEvent.Command.cancel.menu.operation
}; };
this.$store.dispatch('trainingNew/next', operate).then(({ valid }) => { this.$store.dispatch('trainingNew/next', operate).then(({ valid }) => {
if (valid) { this.doClose();
this.doClose();
}
}).catch(() => { }).catch(() => {
this.doClose(); this.doClose();
}); });

View File

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

View File

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