fix
This commit is contained in:
parent
2f66878cab
commit
c475c33623
2 changed files with 5 additions and 4 deletions
|
|
@ -148,7 +148,6 @@
|
|||
:borderless="!isStatusRegister"
|
||||
dense
|
||||
lazy-rules
|
||||
type="number"
|
||||
v-model="defaultEducation.educationScores"
|
||||
:rules="[(val) => !!val || `${'กรุณากรอก คะแนนเฉลี่ยสะสม'}`]"
|
||||
:label="`${'คะแนนเฉลี่ยสะสม'}`"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue