fix ระบบทะเบียนประวัติ (ขรก.) >> ประวัติการศึกษา (กรณีเพิ่มข้อมูล ระยะเวลาหลักสูตร (ปี))
This commit is contained in:
parent
d50f7ddf8e
commit
d2919438c3
1 changed files with 5 additions and 2 deletions
|
|
@ -361,8 +361,10 @@ function onSubmit() {
|
|||
dialogConfirm(
|
||||
$q,
|
||||
async () => {
|
||||
showLoader();
|
||||
// showLoader();
|
||||
const isEdit = dialogStatus.value === "create" ? false : true;
|
||||
|
||||
console.log("isEdit", isEdit);
|
||||
const url = isEdit
|
||||
? config.API.profileNewEducationByEducationId(
|
||||
editId.value,
|
||||
|
|
@ -391,7 +393,7 @@ function onSubmit() {
|
|||
? educationData.durationYear === ""
|
||||
? null
|
||||
: educationData.durationYear
|
||||
: undefined,
|
||||
: educationData.durationYear,
|
||||
finishDate: convertDateToAPI(educationData.finishDate),
|
||||
startDate: convertDateToAPI(educationData.startDate),
|
||||
endDate: convertDateToAPI(educationData.endDate),
|
||||
|
|
@ -805,6 +807,7 @@ onMounted(async () => {
|
|||
"
|
||||
:close="closeDialog"
|
||||
/>
|
||||
|
||||
<q-separator />
|
||||
<q-card-section>
|
||||
<div class="row q-col-gutter-sm">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue