flat: 暂存
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user