แก้วินัย

This commit is contained in:
Warunee Tamkoo 2023-12-21 18:35:01 +07:00
parent dfbf639272
commit cf6d9fec29
7 changed files with 60 additions and 39 deletions

View file

@ -251,7 +251,7 @@ async function onSubmit(id: string) {
/** ยืนยัน ส่งไปออกคำสั่ง */
async function sentIssue() {
respondentRows.value = await store.rowSent.filter((x) => x.report === false); //x.report === false
respondentRows.value = await store.rowSent.filter((x) => x.report === false && x.isSend === false); //x.report === false
modalPopup.value = true;
}
@ -341,13 +341,13 @@ function emitPerson(data: PersonsArray[]) {
persons: dataMapId,
})
.then((res) => {
success($q, "ส่งไปพักราชการสำเร็จ");
// router.push(`/discipline/investigatefacts`);
})
.catch((e) => {
messageError($q, e);
})
.finally(() => {
success($q, "ส่งไปพักราชการสำเร็จ");
hideLoader();
fetchDetailDisciplinary();
});