Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 47s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 47s
This commit is contained in:
commit
25a5a097a9
1 changed files with 4 additions and 4 deletions
|
|
@ -363,10 +363,9 @@ const saveData = async () => {
|
||||||
.then(async () => {
|
.then(async () => {
|
||||||
if (!props.stepPayment) {
|
if (!props.stepPayment) {
|
||||||
secondDialog.value = true
|
secondDialog.value = true
|
||||||
|
} else {
|
||||||
|
success($q, 'บันทึกข้อมูลส่วนตัวสำเร็จ')
|
||||||
}
|
}
|
||||||
// else {
|
|
||||||
// success($q, 'บันทึกข้อมูลส่วนตัวสำเร็จ')
|
|
||||||
// }
|
|
||||||
await saveForm()
|
await saveForm()
|
||||||
await props.fetchStep()
|
await props.fetchStep()
|
||||||
dialog.value = false
|
dialog.value = false
|
||||||
|
|
@ -434,7 +433,7 @@ const saveData = async () => {
|
||||||
contacttel: defaultContact.value.contacttel
|
contacttel: defaultContact.value.contacttel
|
||||||
})
|
})
|
||||||
.then(async () => {
|
.then(async () => {
|
||||||
success($q, 'บันทึกข้อมูลส่วนตัวสำเร็จ')
|
!secondDialog.value && success($q, 'บันทึกข้อมูลส่วนตัวสำเร็จ')
|
||||||
await props.fetchStep()
|
await props.fetchStep()
|
||||||
})
|
})
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
|
|
@ -449,6 +448,7 @@ async function onSubmit() {
|
||||||
saveAuto.value = false
|
saveAuto.value = false
|
||||||
await saveData()
|
await saveData()
|
||||||
await http.post(config.API.registerConfirm(examId.value, positionId.value))
|
await http.post(config.API.registerConfirm(examId.value, positionId.value))
|
||||||
|
success($q, 'ส่งใบสมัครสำเร็จ')
|
||||||
await props.fetchStep()
|
await props.fetchStep()
|
||||||
// do something
|
// do something
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue