From 3be38daee72cfe7ca988cfaa5e180d69b81e3bfd Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Thu, 21 Sep 2023 11:16:01 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B9=84=E0=B8=82?= =?UTF-8?q?=E0=B9=81=E0=B9=80=E0=B8=AA=E0=B8=94=E0=B8=87=E0=B8=A3=E0=B8=B2?= =?UTF-8?q?=E0=B8=8A=E0=B8=B7=E0=B9=88=E0=B8=AD=E0=B8=9C=E0=B8=B9=E0=B9=89?= =?UTF-8?q?=E0=B8=AA=E0=B8=AD=E0=B8=9A=E0=B8=9C=E0=B9=88=E0=B8=B2=E0=B8=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../05_placement/components/PersonalList/Table.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/05_placement/components/PersonalList/Table.vue b/src/modules/05_placement/components/PersonalList/Table.vue index 67d653169..01f56a673 100644 --- a/src/modules/05_placement/components/PersonalList/Table.vue +++ b/src/modules/05_placement/components/PersonalList/Table.vue @@ -256,9 +256,9 @@ const getTable = async () => { }); // ราชชื่อทั้งหมด - rows.value = roleAdmin + rows.value = roleAdmin.value ? rowsAll.value - : rowsAll.value.filter((x: any) => x.statusId != "CONTAIN"); + : rowsAll.value.filter((x: any) => x.statusId !== "CONTAIN"); // รายชื่อไปยังหน่วยงาน rowsFilter.value = rows.value.filter( (e: any) => @@ -359,7 +359,7 @@ const getClass = (val: boolean) => { "full-width cursor-pointer": !val, }; }; - +// เรียกดูรายละเอียดข้อมูล const selectData = (pid: string) => { if (roleAdmin.value === true) { personalId.value = pid; @@ -373,7 +373,7 @@ const dataInfo = reactive({ reason: "", reliefDoc: "", }); - +//แก้ไขข้อมูล const editDetail = ( props: PartialTableName, action: "disclaim" | "deferment" | "defermentInfo" | "disclaimInfo"