Compare commits

...

4 commits

Author SHA1 Message Date
4763f4280e Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 50s
* develop:
  fix:banner
  fix condition education rank
2025-11-26 17:38:37 +07:00
DESKTOP-1R2VSQH\Lenovo ThinkPad E490
ea7b9e0c2e Merge branch 'develop' of https://github.com/Frappet/hrms-recruit into develop 2025-11-26 16:36:34 +07:00
DESKTOP-1R2VSQH\Lenovo ThinkPad E490
d2263d2254 fix:banner 2025-11-26 16:36:28 +07:00
bd68865690 fix condition education rank 2025-11-26 16:11:32 +07:00
2 changed files with 6 additions and 3 deletions

View file

@ -1,6 +1,9 @@
<!-- step กรอกขอม -->
<template>
<div>
<q-banner class="text-red bg-red-1 q-pa-md q-mb-md" dense>
<div>คำแนะนำ: ใสเครองหมายแดช (-) ในชองทไมอม</div>
</q-banner>
<q-form greedy @submit.prevent @validation-success="onSubmitForm">
<Profile
:status="status"

View file

@ -201,10 +201,10 @@ const fetchPerson = async () => {
let filterEducationLevels = data.educationLevels
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') {
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
.filter((level: any) => level.rank >= 4 && level.rank !== 6 && level.rank !== 8)
.filter((level: any) => level.rank >= 4)
.map((r: any) => {
optionEducationLevelHigher.push({ id: r.id.toString(), name: r.name.toString() })
})