fix: sand educationLevelName
This commit is contained in:
parent
40ef47d9e2
commit
efe012caa9
1 changed files with 7 additions and 1 deletions
|
|
@ -435,6 +435,9 @@ const saveData = async () => {
|
|||
.post(config.API.placementEducationId(route.params.personalId.toString()), {
|
||||
id: id.value,
|
||||
educationLevelId: levelId.value,
|
||||
educationLevelName: OpsFilter.value.levelOptions.find(
|
||||
(e) => e.id === levelId.value
|
||||
)?.name,
|
||||
positionPathId: positionPathId.value,
|
||||
institute: institute.value,
|
||||
degree: degree.value,
|
||||
|
|
@ -480,6 +483,9 @@ const editData = async () => {
|
|||
.put(config.API.placementEducationId(route.params.personalId.toString()), {
|
||||
id: id.value,
|
||||
educationLevelId: levelId.value,
|
||||
educationLevelName: OpsFilter.value.levelOptions.find(
|
||||
(e) => e.id === levelId.value
|
||||
)?.name,
|
||||
positionPathId: positionPathId.value,
|
||||
institute: institute.value,
|
||||
degree: degree.value,
|
||||
|
|
@ -772,7 +778,7 @@ onMounted(async () => {
|
|||
@submit.prevent
|
||||
@validation-success="clickSave"
|
||||
>
|
||||
<DialogHeader tittle="ประวัติการศึกษา" :close="clickClose" />
|
||||
<DialogHeader tittle="ปรqweqwะวัติการศึกษา" :close="clickClose" />
|
||||
<q-separator />
|
||||
<q-card-section class="q-p-sm">
|
||||
<div class="row col-12 items-top q-col-gutter-x-xs q-col-gutter-y-xs">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue