|
@@ -75,11 +75,8 @@ import type { ExtractApiParams, ExtractApiResponse } from '@/api/api'
|
|
|
|
|
|
const { push } = useRouter()
|
|
|
|
|
|
-const { subjectList, mainQuestionList, groupList, dataModel, changeModelValue, initFinish, onOptionInit } = useOptions([
|
|
|
- 'subject',
|
|
|
- 'question',
|
|
|
- 'group',
|
|
|
-])
|
|
|
+const { subjectList, mainQuestionList, groupListWithAll, dataModel, changeModelValue, initFinish, onOptionInit } =
|
|
|
+ useOptions(['subject', 'question', 'group'])
|
|
|
|
|
|
const model = reactive<
|
|
|
Omit<ExtractApiParams<'getStatistics'>, 'markingGroupNumbers'> & {
|
|
@@ -140,7 +137,7 @@ const formItems = computed<EpFormItem[]>(() => [
|
|
|
slotType: 'select',
|
|
|
prop: 'markingGroupNumbers',
|
|
|
slot: {
|
|
|
- options: groupList.value,
|
|
|
+ options: groupListWithAll.value,
|
|
|
onChange: changeModelValue('group'),
|
|
|
},
|
|
|
},
|