Compare commits

..

No commits in common. "4763f4280e1dbf9191b12affb0685af59efb4bd9" and "c07e22fd81f3a7188cba02a7fa0a67d9718a6e5b" have entirely different histories.

2 changed files with 3 additions and 6 deletions

View file

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