flat: 暂存

This commit is contained in:
史典卓
2025-05-13 11:10:38 +08:00
parent 582e432e6a
commit fd74b7d4df
109 changed files with 8644 additions and 5205 deletions

View File

@@ -37,7 +37,8 @@ const useDictStore = defineStore("dict", () => {
isPublish: [],
sex: [],
affiliation: [],
industry: []
industry: [],
nature: []
})
// political_affiliation
const getDictData = async (dictType, dictName) => {
@@ -48,13 +49,14 @@ const useDictStore = defineStore("dict", () => {
return data
})
}
const [education, experience, area, scale, sex, affiliation] = await Promise.all([
const [education, experience, area, scale, sex, affiliation, nature] = await Promise.all([
getDictSelectOption('education'),
getDictSelectOption('experience'),
getDictSelectOption('area', true),
getDictSelectOption('scale'),
getDictSelectOption('app_sex'),
getDictSelectOption('political_affiliation'),
getDictSelectOption('company_nature'),
]);
state.education = education;
@@ -63,6 +65,7 @@ const useDictStore = defineStore("dict", () => {
state.scale = scale;
state.sex = sex;
state.affiliation = affiliation;
state.nature = nature
complete.value = true
getIndustryDict() // 获取行业
} catch (error) {