fix พํฒนาบุคลากร
This commit is contained in:
parent
1e892b89f4
commit
62f1c81841
6 changed files with 71 additions and 30 deletions
|
|
@ -374,7 +374,9 @@ function onSubmitRelate() {
|
|||
amount: formGroupRelate.amount,
|
||||
}
|
||||
)
|
||||
.then(() => {
|
||||
.then(async () => {
|
||||
await fetchData(projectId.value);
|
||||
onClickCloseDialog();
|
||||
success($q, "บันทึกข้อมูลสำเร็จ");
|
||||
})
|
||||
.catch((err) => {
|
||||
|
|
@ -395,7 +397,9 @@ function onSubmitRelate() {
|
|||
amount: formGroupRelate.amount,
|
||||
}
|
||||
)
|
||||
.then(() => {
|
||||
.then(async () => {
|
||||
await fetchData(projectId.value);
|
||||
onClickCloseDialog();
|
||||
success($q, "บันทึกข้อมูลสำเร็จ");
|
||||
})
|
||||
.catch((err) => {
|
||||
|
|
@ -405,10 +409,6 @@ function onSubmitRelate() {
|
|||
hideLoader();
|
||||
});
|
||||
}
|
||||
setTimeout(() => {
|
||||
fetchData(projectId.value);
|
||||
onClickCloseDialog();
|
||||
}, 100);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -434,7 +434,7 @@ function onClickCloseDialog() {
|
|||
modalRelate.value = false;
|
||||
cleanFormData();
|
||||
fetchType();
|
||||
fetchData(projectId.value);
|
||||
// fetchData(projectId.value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue