From 2eaff5ab4a1387061a1ba8a48e51c3fe981cc1fc Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Fri, 20 Dec 2024 10:46:05 +0700 Subject: [PATCH] fix --- src/modules/05_placement/views/06_appointPromoteMain.vue | 4 +--- src/modules/05_placement/views/07_appointEmployeeMain.vue | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/modules/05_placement/views/06_appointPromoteMain.vue b/src/modules/05_placement/views/06_appointPromoteMain.vue index 4b3df9752..9b8458fd0 100644 --- a/src/modules/05_placement/views/06_appointPromoteMain.vue +++ b/src/modules/05_placement/views/06_appointPromoteMain.vue @@ -42,8 +42,6 @@ const position = ref(""); //ตำแหน่ง const typeModal = ref(null); //ประเภท popup แต่งตั้ง , เลื่อน , ย้าย const dataRows = ref(); const personalId = ref(""); - -const filterRef = ref(null); const listRecevice = ref([]); //ข้อมูลรายการแต่งตั้ง-เลื่อน-ย้าย const optionsType = ref([]); const type = ref(""); @@ -167,7 +165,7 @@ async function fecthlistappointment() { rowsData.value = response; // รายชื่อ ส่งไปออกคำสั่ง const listData = rows.value.filter( - (e: any) => + (e: PersonData) => e.root !== null && e.status !== "REPORT" && e.status !== "DONE" && diff --git a/src/modules/05_placement/views/07_appointEmployeeMain.vue b/src/modules/05_placement/views/07_appointEmployeeMain.vue index a7cc44244..ded722f5c 100644 --- a/src/modules/05_placement/views/07_appointEmployeeMain.vue +++ b/src/modules/05_placement/views/07_appointEmployeeMain.vue @@ -41,8 +41,6 @@ const posType = ref(""); //ประเภทตำแหน่ง const posLevel = ref(""); //ระดับตำแหน่ง const position = ref(""); //ตำแหน่ง const dataRows = ref(); - -const filterRef = ref(null); const listRecevice = ref([]); //ข้อมูลรายการปรับระดับชั้นงานลูกจ้าง const optionsType = ref([]); const type = ref("");