แก้วินัย
This commit is contained in:
parent
dfbf639272
commit
cf6d9fec29
7 changed files with 60 additions and 39 deletions
|
|
@ -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();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue