diff --git a/src/views/newMap/displayNew/exam/tipExamList.vue b/src/views/newMap/displayNew/exam/tipExamList.vue index 6664f5004..a9faeb211 100644 --- a/src/views/newMap/displayNew/exam/tipExamList.vue +++ b/src/views/newMap/displayNew/exam/tipExamList.vue @@ -82,7 +82,8 @@ import { mapGetters } from 'vuex'; import { timeFormat } from '@/utils/date'; import { refreshExamList } from '@/api/management/userexam'; -import { getTrainingDetailNew } from '@/api/jmap/training'; +// import { getTrainingDetailNew } from '@/api/jmap/training'; +import { loadTrainingInSimulation } from '@/api/jmap/training'; export default { name: 'TipExamList', @@ -137,6 +138,9 @@ export default { }, isLast() { return this.examIndex == this.trainingList.length - 1; + }, + group() { + return this.$route.query.group; } }, watch: { @@ -166,7 +170,8 @@ export default { } }); if (obj) { - getTrainingDetailNew(obj.trainingId).then(resp => { + loadTrainingInSimulation(this.group, obj.trainingId).then(resp => { + // getTrainingDetailNew(obj.trainingId).then(resp => { this.courseModel = { id: resp.data.id, name: resp.data.name,