From 07db38948e3b3f207c6a339643143e97041cc197 Mon Sep 17 00:00:00 2001 From: Net <93821485+somnetsak123@users.noreply.github.com> Date: Thu, 13 Jun 2024 16:48:36 +0700 Subject: [PATCH] =?UTF-8?q?Revert=20"fix:=20=E0=B9=81=E0=B8=81=E0=B9=89=20?= =?UTF-8?q?=E0=B8=82=E0=B8=99=E0=B8=B2=E0=B8=94=E0=B8=82=E0=B8=AD=E0=B8=87?= =?UTF-8?q?=20=20card"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 9e0a3849cb1cbd05f44e9800fe476039fb82ab31. --- src/components/UsersDetailCardComponent.vue | 185 ++++++++++++++++++-- 1 file changed, 171 insertions(+), 14 deletions(-) diff --git a/src/components/UsersDetailCardComponent.vue b/src/components/UsersDetailCardComponent.vue index 16bdcd3c..e5598e98 100644 --- a/src/components/UsersDetailCardComponent.vue +++ b/src/components/UsersDetailCardComponent.vue @@ -10,7 +10,6 @@ withDefaults( noBg?: boolean; dark?: boolean; width?: string; - height?: string; color: 'purple' | 'green'; gridColumns?: number; metadata?: { id: string; disabled: boolean }; @@ -41,8 +40,9 @@ defineEmits<{ - + - - + + @@ -160,8 +160,9 @@ defineEmits<{ }} - - + + + {{ list.name }} {{ list.code }} @@ -174,31 +175,184 @@ defineEmits<{ {{ $t(d.label) }} - {{ !d.value ? '-' : d.value }} + {{ d.value }} + + + + + + + + + + {{ $t('viewDetail') }} + + + + + + {{ $t('edit') }} + + + + + + {{ $t('delete') }} + + + + + + + + {{ + metadata.disabled + ? $t('switchOnLabel') + : $t('switchOffLabel') + }} + + + + + + + + + + + + + + + + {{ list.name }} + {{ list.code }} + + + + + + + + {{ i + 1 }} + + {{ v.branchNo }} + + + + +