实训调整
This commit is contained in:
parent
364bd1e539
commit
f66844bc27
@ -122,7 +122,7 @@ class Handler {
|
|||||||
const group = router.currentRoute.query.group;
|
const group = router.currentRoute.query.group;
|
||||||
const stepInfo = store.state.trainingNew.stepInfo;
|
const stepInfo = store.state.trainingNew.stepInfo;
|
||||||
endTrainingStep(group, stepInfo.id).then(resp => {
|
endTrainingStep(group, stepInfo.id).then(resp => {
|
||||||
store.dispatch('trainingNew/clearOperateOrder');
|
// store.dispatch('trainingNew/clearOperateOrder');
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
console.error('进入下一步失败!', e);
|
console.error('进入下一步失败!', e);
|
||||||
});
|
});
|
||||||
|
@ -83,6 +83,7 @@ const training = {
|
|||||||
if (store.state.training.myMemberId == state.stepInfo.memberId) {
|
if (store.state.training.myMemberId == state.stepInfo.memberId) {
|
||||||
state.stepRecord.push({ stepId: state.stepInfo.id, success: false, clientOperations: [] });
|
state.stepRecord.push({ stepId: state.stepInfo.id, success: false, clientOperations: [] });
|
||||||
}
|
}
|
||||||
|
state.operateOrder = 0;
|
||||||
Handler.judgeIsTextSendOperation();
|
Handler.judgeIsTextSendOperation();
|
||||||
},
|
},
|
||||||
clearStepInfo: (state, stepInfo) => {
|
clearStepInfo: (state, stepInfo) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user