From 7b0a6185723afbe5234d8e9c7ca6baeed70b350d Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Mon, 24 Jun 2024 18:05:22 +0700 Subject: [PATCH 1/2] fix bug --- src/stores/chekin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/chekin.ts b/src/stores/chekin.ts index 35c2855..66a37c4 100644 --- a/src/stores/chekin.ts +++ b/src/stores/chekin.ts @@ -9,7 +9,7 @@ const { date2Thai } = mixin /** store for checkin history*/ export const useChekIn = defineStore('checkin', () => { const year = ref(new Date().getFullYear()) - const rows = ref() + const rows = ref([]) const tab = ref('history') /** From a69d9863401810f7cc17684c6eefab4d665118b8 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Tue, 9 Jul 2024 11:43:20 +0700 Subject: [PATCH 2/2] =?UTF-8?q?=E0=B8=A5=E0=B8=87=E0=B9=80=E0=B8=A7?= =?UTF-8?q?=E0=B8=A5=E0=B8=B2=E0=B8=9E=E0=B8=B4=E0=B9=80=E0=B8=A8=E0=B8=A9?= =?UTF-8?q?=E0=B9=81=E0=B8=84=E0=B9=88=E0=B8=8A=E0=B9=88=E0=B8=A7=E0=B8=87?= =?UTF-8?q?=E0=B8=9A=E0=B9=88=E0=B8=B2=E0=B8=A2=E0=B8=A7=E0=B8=B1=E0=B8=99?= =?UTF-8?q?=E0=B8=97=E0=B8=B5=E0=B9=88=E0=B9=84=E0=B8=A1=E0=B9=88=E0=B9=81?= =?UTF-8?q?=E0=B8=AA=E0=B8=94=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/TableHistory.vue | 90 ++++++++++--------- src/interface/index/Main.ts | 8 ++ src/interface/response/checkin.ts | 1 + src/stores/chekin.ts | 4 +- src/views/HistoryView.vue | 140 ++++++++++++++++-------------- 5 files changed, 133 insertions(+), 110 deletions(-) diff --git a/src/components/TableHistory.vue b/src/components/TableHistory.vue index 8b03e9d..2b0c0f9 100644 --- a/src/components/TableHistory.vue +++ b/src/components/TableHistory.vue @@ -1,10 +1,14 @@