เงินเดือน => รายการเลื่อนเงินเดือนข้าราชการ ฯ

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-08-20 13:52:36 +07:00
parent 03e925a41b
commit d5b5eec3e8
14 changed files with 90 additions and 89 deletions

View file

@ -81,15 +81,15 @@ function onSubmit() {
};
http
.put(config.API.salaryProperty(profileId.value), body)
.then(() => {
success($q, "บันทึกข้อมูลสำเร็จ");
props.fetchData?.();
.then(async () => {
await props.fetchData?.();
await success($q, "บันทึกข้อมูลสำเร็จ");
close();
})
.catch((e) => {
messageError($q, e);
})
.finally(() => {
close();
hideLoader();
});
});
@ -143,10 +143,7 @@ watch(
<q-btn
type="submit"
for="#submitForm"
unelevated
dense
class="q-px-md items-center"
color="light-blue-10"
color="secondary"
label="บันทึก"
/>
</q-card-actions>