diff --git a/src/modules/02_organizational/interface/index/Main.ts b/src/modules/02_organizational/interface/index/Main.ts index 2c475b5b0..c78b323ee 100644 --- a/src/modules/02_organizational/interface/index/Main.ts +++ b/src/modules/02_organizational/interface/index/Main.ts @@ -7,6 +7,7 @@ interface DataOption { id: string; name: string; note?: string; + level?: number; } interface GovermentOption { diff --git a/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue b/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue index f317d94fc..c1bf691a9 100644 --- a/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue +++ b/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue @@ -1570,10 +1570,15 @@ const fetchPositionLevel = async (val: string) => { option.push({ id: r.id.toString(), name: r.name.toString(), + level: r.level, }); }); - positionLevelOptions.value = option; - positionLevelFilters.value = option; + positionLevelOptions.value = option.filter( + (v: DataOption) => v.level === 0 + ); + positionLevelFilters.value = option.filter( + (v: DataOption) => v.level === 0 + ); }) .catch((e) => { messageError($q, e);