|
@@ -154,7 +154,7 @@ const formModel = reactive<ExtractApiParams<'getSubjectiveCheckList'>>({
|
|
|
pageSize: 9999999,
|
|
|
})
|
|
|
|
|
|
-const { mainQuestionList, dataModel, changeModelValue, onOptionInit } = useOptions(['subject', 'question'])
|
|
|
+const { subjectList, mainQuestionList, dataModel, changeModelValue, onOptionInit } = useOptions(['subject', 'question'])
|
|
|
|
|
|
watch(dataModel, () => {
|
|
|
formModel.subjectCode = dataModel.subject || ''
|
|
@@ -182,7 +182,7 @@ const formItems = computed<EpFormItem[]>(() => [
|
|
|
label: '科目',
|
|
|
prop: 'subjectCode',
|
|
|
slotType: 'select',
|
|
|
- slot: { options: mainQuestionList.value, onChange: changeModelValue('subject') },
|
|
|
+ slot: { options: subjectList.value, onChange: changeModelValue('subject') },
|
|
|
}),
|
|
|
span10({
|
|
|
rowKey: 'row-1',
|