This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-07-02 08:35:50 +07:00
parent 6130d8bf9e
commit a0705296b9
2 changed files with 7 additions and 7 deletions

View file

@ -172,7 +172,7 @@ async function onSubmit() {
.then(async () => {
await props.closeAndFecth();
await clearData();
await hideLoader();
// await hideLoader();
await success($q, "บันทึกข้อมูลสำเร็จ");
})
.catch((err) => {
@ -187,9 +187,9 @@ async function onSubmit() {
returnReason: reason.value,
})
.then(async () => {
await clearData();
await hideLoader();
await props.closeAndFecth();
await clearData();
// await hideLoader();
await success($q, "บันทึกข้อมูลสำเร็จ");
})
.catch((err) => {

View file

@ -261,7 +261,7 @@ const employeeClassOps = ref<any>(DataStore.employeeClassOps);
/** function เรียกรอบการเสนอขอพระราชทานเครื่องราชฯ*/
async function fecthRound() {
showLoader();
// showLoader();
await http
.get(config.API.noteround())
.then(async (res) => {
@ -299,9 +299,9 @@ async function fecthRound() {
.catch((err) => {
messageError($q, err);
})
.finally(() => {
hideLoader();
});
// .finally(() => {
// hideLoader();
// });
}
/** function เรียกประเภทเครื่องราชฯ*/