代码调整
This commit is contained in:
parent
6fc5bd1441
commit
af30f5d08c
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user