From af30f5d08cf938349e80b5cc4f78316958970868 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Tue, 13 Sep 2022 17:56:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/newMap/displayNew/exam/tipExamList.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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,