问题:实训步骤参数增加order

This commit is contained in:
lVAL 2021-02-24 11:04:35 +08:00
parent 4b0320061e
commit a31e6da5cf

View File

@ -37,7 +37,7 @@ class Handler {
const basicInfo = store.getters['training/basicInfo']; const basicInfo = store.getters['training/basicInfo'];
if (basicInfo.id && valid) { if (basicInfo.id && valid) {
const group = router.currentRoute.query.group; const group = router.currentRoute.query.group;
sendTrainingNextStepNew({ trainingId: basicInfo.id, operation: operation }, group).then(res=>{ sendTrainingNextStepNew({ trainingId: basicInfo.id, operation: operation, order: this.getOrder()}, group).then(res=>{
if (!valid) { if (!valid) {
this.pop(); this.pop();
} else if (operation.cancel === true) { } else if (operation.cancel === true) {