From 12e320f9ff2c0493880b31ad4e1e64a44b655c2f Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Thu, 14 Dec 2023 15:31:19 +0700 Subject: [PATCH] =?UTF-8?q?filter=20=E0=B8=A3=E0=B8=B2=E0=B8=A2=E0=B8=81?= =?UTF-8?q?=E0=B8=B2=E0=B8=A3=E0=B8=A5=E0=B8=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/09_leave/components/2_Leave/Tab1.vue | 3 +-- src/modules/09_leave/components/2_Leave/ToolBarLeave.vue | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/modules/09_leave/components/2_Leave/Tab1.vue b/src/modules/09_leave/components/2_Leave/Tab1.vue index cf9996dd3..17fe59967 100644 --- a/src/modules/09_leave/components/2_Leave/Tab1.vue +++ b/src/modules/09_leave/components/2_Leave/Tab1.vue @@ -17,11 +17,10 @@ import CalendarView from "@/modules/09_leave/components/2_Leave/Calendar.vue"; /**importStroe*/ import { useCounterMixin } from "@/stores/mixin"; import { useLeavelistDataStore } from "@/modules/09_leave/stores/LeaveStore"; -import { useLeavelistDataStoreTest } from "@/modules/09_leave/stores/ListLeave"; const mixin = useCounterMixin(); const leaveStore = useLeavelistDataStore(); -const APIDATA = useLeavelistDataStoreTest(); + const { date2Thai, dateToISO, showLoader, hideLoader, messageError } = mixin; const { fetchListLeave } = leaveStore; diff --git a/src/modules/09_leave/components/2_Leave/ToolBarLeave.vue b/src/modules/09_leave/components/2_Leave/ToolBarLeave.vue index 475fcd3c5..25d61bdbc 100644 --- a/src/modules/09_leave/components/2_Leave/ToolBarLeave.vue +++ b/src/modules/09_leave/components/2_Leave/ToolBarLeave.vue @@ -63,15 +63,15 @@ const optionStatus = ref([ name: "ใหม่", }, { - id: "PENDING ", + id: "PENDING", name: "กำลังดำเนินการ", }, { - id: "APPROVE ", + id: "APPROVE", name: "อนุมัติ", }, { - id: "REJECT ", + id: "REJECT", name: "ไม่อนุมัติ", }, ]);