From 53ae34aaa8ede0a5280a1bd70d8000de0a9c3a21 Mon Sep 17 00:00:00 2001 From: Net Date: Fri, 6 Sep 2024 11:11:28 +0700 Subject: [PATCH] refactor: by data to itemCard --- src/pages/01_branch-management/MainPage.vue | 33 +++++++++++-------- src/pages/03_customer-management/MainPage.vue | 25 +++++++------- 2 files changed, 33 insertions(+), 25 deletions(-) diff --git a/src/pages/01_branch-management/MainPage.vue b/src/pages/01_branch-management/MainPage.vue index dafddbaf..79df0c53 100644 --- a/src/pages/01_branch-management/MainPage.vue +++ b/src/pages/01_branch-management/MainPage.vue @@ -53,14 +53,17 @@ const utilsStore = useUtilsStore(); const modelCreateTypeBranch = ref(false); const typeBranchItem = [ { - icon: 'mdi-home-group', - text: 'Virtual Branch', - color: 'var(--blue-6)', + icon: 'material-symbols:home-work-outline', + text: t('branch.card.branchLabel'), + iconColor: '--purple-8', + color: 'var(--purple-6-hsl)', }, + { icon: 'mdi-home-group', - text: 'Branch', - color: 'var(--purple-6)', + text: t('branch.card.branchVirtual'), + iconColor: '--blue-8', + color: 'var(--blue-6-hsl)', }, ]; const holdDialog = ref(false); @@ -2064,22 +2067,24 @@ watch(currentHq, () => { hide-footer no-app-box width="40vw" - height="300px" + height="250px" :close="() => (modelCreateTypeBranch = false)" > -
+