flat: 消息
This commit is contained in:
@@ -38,7 +38,8 @@ const useDictStore = defineStore("dict", () => {
|
||||
sex: [],
|
||||
affiliation: [],
|
||||
industry: [],
|
||||
nature: []
|
||||
nature: [],
|
||||
noticeType: []
|
||||
})
|
||||
// political_affiliation
|
||||
const getDictData = async (dictType, dictName) => {
|
||||
@@ -49,7 +50,8 @@ const useDictStore = defineStore("dict", () => {
|
||||
return data
|
||||
})
|
||||
}
|
||||
const [education, experience, area, scale, sex, affiliation, nature] = await Promise.all([
|
||||
const [education, experience, area, scale, sex, affiliation, nature, noticeType] =
|
||||
await Promise.all([
|
||||
getDictSelectOption('education'),
|
||||
getDictSelectOption('experience'),
|
||||
getDictSelectOption('area', true),
|
||||
@@ -57,6 +59,7 @@ const useDictStore = defineStore("dict", () => {
|
||||
getDictSelectOption('app_sex'),
|
||||
getDictSelectOption('political_affiliation'),
|
||||
getDictSelectOption('company_nature'),
|
||||
getDictSelectOption('sys_notice_type'),
|
||||
]);
|
||||
|
||||
state.education = education;
|
||||
@@ -66,6 +69,7 @@ const useDictStore = defineStore("dict", () => {
|
||||
state.sex = sex;
|
||||
state.affiliation = affiliation;
|
||||
state.nature = nature
|
||||
state.noticeType = noticeType
|
||||
complete.value = true
|
||||
getIndustryDict() // 获取行业
|
||||
} catch (error) {
|
||||
|
Reference in New Issue
Block a user