指令发送调整

This commit is contained in:
fan 2022-11-23 11:15:13 +08:00
parent 4c5e694c9a
commit 20d4c147f6
2 changed files with 1 additions and 3 deletions

View File

@ -318,7 +318,6 @@ export default {
const operate = {
send: true
};
if (this.operation == OperationEvent.Section.unlock.menu.operation) {
/** 区段解封*/
operate.operation = OperationEvent.Section.unlock.confirm2.operation;
@ -332,7 +331,6 @@ export default {
operate.operation = OperationEvent.Section.axlePreReset.confirm2.operation;
operate.cmdType = CMD.Section.CMD_SECTION_AXIS_PRE_RESET;
}
this.setMessage('');
this.writeRecord({ order: ++this.order, date: now(), context: this.$t('menu.clickSecondConfirm'), result: '' });
this.$store.dispatch('trainingNew/next', operate).then(({ valid }) => {

View File

@ -48,7 +48,7 @@ class Handler {
} else if (operation.cancel === true) {
this.clear();
resolve({ valid });
} else if (operation.over === true) {
} else if (operation.over === true || operation.send === true) {
const group = router.currentRoute.query.group;
const wholeParam = this.getWholeParam();
const cmdType = this.getCmdType();