Merge branch 'develop' of https://github.com/Frappet/hrms-recruit into develop

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-11-26 16:36:34 +07:00
commit ea7b9e0c2e

View file

@ -201,10 +201,10 @@ const fetchPerson = async () => {
let filterEducationLevels = data.educationLevels let filterEducationLevels = data.educationLevels
if (examStore.educationLevel === 'BACHELOR') { if (examStore.educationLevel === 'BACHELOR') {
filterEducationLevels = data.educationLevels.filter((level: any) => level.rank === 7) filterEducationLevels = data.educationLevels.filter((level: any) => level.rank === 8)
} else if (examStore.educationLevel === 'LOW_BACHELOR') { } else if (examStore.educationLevel === 'LOW_BACHELOR') {
filterEducationLevels = data.educationLevels.filter( filterEducationLevels = data.educationLevels.filter(
(level: any) => level.rank >= 4 && level.rank <= 6 (level: any) => level.rank >= 4 && level.rank <= 7
) )
} }
@ -213,7 +213,7 @@ const fetchPerson = async () => {
}) })
data.educationLevels data.educationLevels
.filter((level: any) => level.rank >= 4 && level.rank !== 6 && level.rank !== 8) .filter((level: any) => level.rank >= 4)
.map((r: any) => { .map((r: any) => {
optionEducationLevelHigher.push({ id: r.id.toString(), name: r.name.toString() }) optionEducationLevelHigher.push({ id: r.id.toString(), name: r.name.toString() })
}) })