แก้ไขวินัย

This commit is contained in:
Warunee Tamkoo 2023-12-22 10:15:14 +07:00
parent be098be411
commit 99b1148d31
10 changed files with 34 additions and 21 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.isSend === false); //x.report === false
respondentRows.value = await store.rowSent.filter((x) => x.report === false && x.isSuspend === 'NEW' && x.isSend === 'NEW');
modalPopup.value = true;
}

View file

@ -303,7 +303,7 @@ async function fetchDatadetail() {
mainStore.rowsAdd = props.data.persons;
mainStore.rowsCheck = mainStore.rowsAdd.filter(
(item: any) => item.isSend === false
(item: any) => item.report === false && item.isSuspend === 'NEW' && item.isSend === 'NEW'
);
/** MAP รายชื่อกรรมการ หน้าหลัก */
const dataMap = props.data.director.map((item: any) => ({