From 62221ca0607f9421a4e89c1cfdb25088a79701d0 Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Tue, 8 Apr 2025 16:57:48 +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=B8=82=E0=B9=89=E0=B8=AD=E0=B8=84=E0=B8=A7=E0=B8=B2=E0=B8=A1?= =?UTF-8?q?=E0=B8=84=E0=B9=89=E0=B8=99=E0=B8=AB=E0=B8=B2=E0=B8=A7=E0=B8=B4?= =?UTF-8?q?=E0=B8=99=E0=B8=B1=E0=B8=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/7_ListSuspend/ListsPage.vue | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/modules/11_discipline/components/7_ListSuspend/ListsPage.vue b/src/modules/11_discipline/components/7_ListSuspend/ListsPage.vue index 4190bd833..83edd7be0 100644 --- a/src/modules/11_discipline/components/7_ListSuspend/ListsPage.vue +++ b/src/modules/11_discipline/components/7_ListSuspend/ListsPage.vue @@ -22,7 +22,14 @@ const dataStore = useDisciplineSuspendStore(); const $q = useQuasar(); const router = useRouter(); const mixin = useCounterMixin(); -const { messageError, showLoader, hideLoader, success, date2Thai ,convertDateToAPI} = mixin; +const { + messageError, + showLoader, + hideLoader, + success, + date2Thai, + convertDateToAPI, +} = mixin; const date = ref(null); const employeeClass = ref(""); @@ -304,11 +311,9 @@ onMounted(async () => { class="bg-white" dense outlined - :label="`${'ช่วงวันที่'}`" + :label="`${'วันที่เริ่มต้น-สิ้นสุดคำสั่ง'}`" :model-value=" - date - ? `${date2Thai(date[0])} - ${date2Thai(date[1])}` - : 'ทั้งหมด' + date ? `${date2Thai(date[0])} - ${date2Thai(date[1])}` : '' " >