From 9e0a3849cb1cbd05f44e9800fe476039fb82ab31 Mon Sep 17 00:00:00 2001 From: Net <93821485+somnetsak123@users.noreply.github.com> Date: Thu, 13 Jun 2024 15:18:32 +0700 Subject: [PATCH] =?UTF-8?q?fix:=20=E0=B9=81=E0=B8=81=E0=B9=89=20=E0=B8=82?= =?UTF-8?q?=E0=B8=99=E0=B8=B2=E0=B8=94=E0=B8=82=E0=B8=AD=E0=B8=87=20=20car?= =?UTF-8?q?d?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/UsersDetailCardComponent.vue | 183 ++------------------ 1 file changed, 13 insertions(+), 170 deletions(-) diff --git a/src/components/UsersDetailCardComponent.vue b/src/components/UsersDetailCardComponent.vue index e5598e98..16bdcd3c 100644 --- a/src/components/UsersDetailCardComponent.vue +++ b/src/components/UsersDetailCardComponent.vue @@ -10,6 +10,7 @@ withDefaults( noBg?: boolean; dark?: boolean; width?: string; + height?: string; color: 'purple' | 'green'; gridColumns?: number; metadata?: { id: string; disabled: boolean }; @@ -40,9 +41,8 @@ defineEmits<{ - + - - + + @@ -160,9 +160,8 @@ defineEmits<{ }} - - - {{ list.name }} + + {{ list.code }} @@ -175,184 +174,31 @@ 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 }} - - - - -