fix bug
This commit is contained in:
parent
6130d8bf9e
commit
a0705296b9
2 changed files with 7 additions and 7 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
|
|
@ -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 เรียกประเภทเครื่องราชฯ*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue