|
@@ -217,6 +217,7 @@ const initQuestion = () => {
|
|
|
}
|
|
|
state.question.loading = true
|
|
|
state.question.data = []
|
|
|
+ state.question.total = 0
|
|
|
const uuid = v4()
|
|
|
state.question.uuid = uuid + ''
|
|
|
trainingCampQuestionList({
|
|
@@ -225,7 +226,10 @@ const initQuestion = () => {
|
|
|
category: AppStore.studentInfo?.grade,
|
|
|
subject: route.meta.subjectId,
|
|
|
correct: state.question.type !== '错题',
|
|
|
- questionTypeCode: treeMapCpt.value.get(state.selected).questionTypeCode,
|
|
|
+ questionTypeCode:
|
|
|
+ treeMapCpt.value.get(state.selected).questionTypeCode +
|
|
|
+ '-' +
|
|
|
+ treeMapCpt.value.get(state.selected).value,
|
|
|
studentId: AppStore.studentInfo?.studentId,
|
|
|
})
|
|
|
.then(({ rows, total }: any) => {
|