From 2f9d289c4c417d27563feee152ff8e06f3957e23 Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Thu, 6 Mar 2025 09:58:10 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=20=E0=B8=97?= =?UTF-8?q?=E0=B8=B1=E0=B9=89=E0=B8=87=E0=B8=AB=E0=B8=A1=E0=B8=94=E0=B9=80?= =?UTF-8?q?=E0=B8=9B=E0=B9=87=E0=B8=99=20ALL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/09_leave/components/05_Leave/Tab1.vue | 2 +- src/modules/09_leave/components/05_Leave/Tab2.vue | 2 +- src/modules/09_leave/components/05_Leave/ToolBarLeave.vue | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/modules/09_leave/components/05_Leave/Tab1.vue b/src/modules/09_leave/components/05_Leave/Tab1.vue index 086f6c17d..36777d5c4 100644 --- a/src/modules/09_leave/components/05_Leave/Tab1.vue +++ b/src/modules/09_leave/components/05_Leave/Tab1.vue @@ -30,7 +30,7 @@ const querySting = reactive({ page: 1, //*สถานะการของลา pageSize: 10, //*สถานะการของลา keyword: leaveStore.filter.keyword, //keyword ค้นหา - profileType: '', //profileType + profileType: 'ALL', //profileType }); //** เรียกข้อมูลจาก API*/ diff --git a/src/modules/09_leave/components/05_Leave/Tab2.vue b/src/modules/09_leave/components/05_Leave/Tab2.vue index c46822b76..f86aec023 100644 --- a/src/modules/09_leave/components/05_Leave/Tab2.vue +++ b/src/modules/09_leave/components/05_Leave/Tab2.vue @@ -33,7 +33,7 @@ const querySting = reactive({ page: 1, //*สถานะการของลา pageSize: 10, //*สถานะการของลา keyword: leaveStore.filter.keyword, //keyword ค้นหา - profileType: '', //profileType + profileType: 'ALL', //profileType }); //** เรียกข้อมูลจาก API*/ async function fecthLeaveList() { diff --git a/src/modules/09_leave/components/05_Leave/ToolBarLeave.vue b/src/modules/09_leave/components/05_Leave/ToolBarLeave.vue index 72350d583..cbdde4c80 100644 --- a/src/modules/09_leave/components/05_Leave/ToolBarLeave.vue +++ b/src/modules/09_leave/components/05_Leave/ToolBarLeave.vue @@ -144,7 +144,7 @@ watch( label="สถานภาพ" use-input :model-value=" - querySting.profileType == '' ? 'ทั้งหมด' : querySting.profileType + querySting.profileType == 'ALL' ? 'ทั้งหมด' : querySting.profileType " hide-selected fill-input @@ -158,11 +158,11 @@ watch( ไม่มีข้อมูล -