This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-11-19 16:53:55 +07:00
parent 2f66878cab
commit c475c33623
2 changed files with 5 additions and 4 deletions

View file

@ -148,7 +148,6 @@
:borderless="!isStatusRegister"
dense
lazy-rules
type="number"
v-model="defaultEducation.educationScores"
:rules="[(val) => !!val || `${'กรุณากรอก คะแนนเฉลี่ยสะสม'}`]"
:label="`${'คะแนนเฉลี่ยสะสม'}`"

View file

@ -207,9 +207,11 @@ const fetchPerson = async () => {
optionEducationLevel.push({ id: r.id.toString(), name: r.name.toString() })
})
data.educationLevels.map((r: any) => {
optionEducationLevelHigher.push({ id: r.id.toString(), name: r.name.toString() })
})
data.educationLevels
.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() })
})
educationLevelOptions.value = optionEducationLevel
educationLevelHigherOptions.value = optionEducationLevelHigher
})