flat: 消息

This commit is contained in:
史典卓
2025-05-15 14:17:51 +08:00
parent 5333254c58
commit a93907018c
40 changed files with 875 additions and 56 deletions

View File

@@ -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) {