comment คำนวนเครื่องราช
This commit is contained in:
parent
7aa08944bb
commit
df9e271f74
2 changed files with 13 additions and 19 deletions
|
|
@ -287,20 +287,18 @@ async function directorApproved() {
|
|||
await http
|
||||
.get(config.API.insigniaDirectorApproved(round.value, DataStore.agency))
|
||||
.then(async () => {
|
||||
success($q, "บันทึกสำเร็จ");
|
||||
await fecthInsigniaByOc(
|
||||
round.value,
|
||||
DataStore.agency,
|
||||
"officer",
|
||||
tab.value
|
||||
);
|
||||
await fecthStat(round.value);
|
||||
await success($q, "บันทึกสำเร็จ");
|
||||
})
|
||||
.catch((err) => {
|
||||
messageError($q, err);
|
||||
})
|
||||
.finally(async () => {
|
||||
await hideLoader();
|
||||
await fecthStat(round.value);
|
||||
hideLoader();
|
||||
});
|
||||
},
|
||||
"ยืนยันการอนุมัติ",
|
||||
|
|
@ -325,13 +323,11 @@ async function backToEditinsignia2Role(reason: string) {
|
|||
"officer",
|
||||
tab.value
|
||||
);
|
||||
success($q, "การตีกลับสำเร็จ");
|
||||
modalbackInsignia2Role.value = await false;
|
||||
await success($q, "การตีกลับสำเร็จ");
|
||||
})
|
||||
.catch((err) => {
|
||||
messageError($q, err);
|
||||
})
|
||||
.finally(() => {
|
||||
modalbackInsignia2Role.value = false;
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
@ -345,20 +341,18 @@ async function requestSendNote() {
|
|||
name: roundName.value,
|
||||
})
|
||||
.then(async () => {
|
||||
success($q, "บันทึกสำเร็จ");
|
||||
await fecthInsigniaByOc(
|
||||
round.value,
|
||||
DataStore.typeOc,
|
||||
"officer",
|
||||
tab.value
|
||||
);
|
||||
await fecthStat(round.value);
|
||||
await success($q, "บันทึกสำเร็จ");
|
||||
})
|
||||
.catch((err) => {
|
||||
messageError($q, err);
|
||||
})
|
||||
.finally(async () => {
|
||||
await hideLoader();
|
||||
await fecthStat(round.value);
|
||||
hideLoader();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue