|
@@ -141,6 +141,7 @@ const educationList = ref([])
|
|
|
const learnStatusList = ref([])
|
|
|
const gradeList = ref([])
|
|
|
const cardTypeList = ref([])
|
|
|
+const subjectList = ref([])
|
|
|
const showList = ref([])
|
|
|
const searchOther = async () => {
|
|
|
let result
|
|
@@ -162,6 +163,9 @@ const searchOther = async () => {
|
|
|
// 身份证类型
|
|
|
result = await dictDataStore.query({ code: 'cardType', is_use: '0' })
|
|
|
if ($checkRes(result)) cardTypeList.value = result.data
|
|
|
+ // 学科
|
|
|
+ result = await dictDataStore.query({ code: 'subject', is_use: '0' })
|
|
|
+ if ($checkRes(result)) subjectList.value = result.data
|
|
|
// 是否公开
|
|
|
result = await dictDataStore.query({ code: 'isUse', is_use: '0' })
|
|
|
if ($checkRes(result)) showList.value = result.data
|
|
@@ -218,6 +222,7 @@ provide('form', form)
|
|
|
provide('statusList', statusList)
|
|
|
provide('genderList', genderList)
|
|
|
provide('gradeList', gradeList)
|
|
|
+provide('subjectList', subjectList)
|
|
|
provide('learnStatusList', learnStatusList)
|
|
|
provide('cardTypeList', cardTypeList)
|
|
|
provide('educationList', educationList)
|