parent
1afb68818f
commit
06cab3d7fe
@ -86,6 +86,13 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
start(row) {
|
start(row) {
|
||||||
|
if (this.$store.state.trainingNew.trainingSwitch) {
|
||||||
|
this.$message.error('请先结束当前实训后再加载新的考试!');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (this.$store.state.trainingNew.trainingDetail) {
|
||||||
|
this.$store.dispatch('trainingNew/setTrainingDetail', null);
|
||||||
|
}
|
||||||
generateExam(row.id)
|
generateExam(row.id)
|
||||||
.then(resp => {
|
.then(resp => {
|
||||||
getUserExamInfo(resp.data.id).then(res => {
|
getUserExamInfo(resp.data.id).then(res => {
|
||||||
|
Loading…
Reference in New Issue
Block a user