diff --git a/src/i18n/en-US/index.ts b/src/i18n/en-US/index.ts index 21506e34..c775372d 100644 --- a/src/i18n/en-US/index.ts +++ b/src/i18n/en-US/index.ts @@ -60,7 +60,7 @@ export default { person: 'Person', recordsPage: 'Showing {resultcurrentPage} out of {total} records', showing: 'Showing', - + dataSum: 'Data Summaries', ...status, ...main, ...address, diff --git a/src/i18n/th-th/index.ts b/src/i18n/th-th/index.ts index 65de771c..d1591d49 100644 --- a/src/i18n/th-th/index.ts +++ b/src/i18n/th-th/index.ts @@ -60,6 +60,7 @@ export default { person: 'คน', recordsPage: 'แสดง {resultcurrentPage} รายการจาก {total} รายการ', showing: 'แสดงทีละ', + dataSum: 'สรุปจำนวนข้อมูล', ...status, ...main, ...address, diff --git a/src/pages/03_customer-management/MainPage.vue b/src/pages/03_customer-management/MainPage.vue index b8265469..ccf43046 100644 --- a/src/pages/03_customer-management/MainPage.vue +++ b/src/pages/03_customer-management/MainPage.vue @@ -242,6 +242,7 @@ const formDataEmployee = ref({ }, }); +const hideStat = ref(false); const branchOption = ref<{ id: string; name: string }[]>(); const indexTab = ref(0); const statusToggle = ref(false); @@ -1332,44 +1333,62 @@ watch([inputSearch, currentStatus], async () => {
+
+ {{ $t('dataSum') }} + +
+
-
-
- + +
+
+ +
-
+
@@ -3050,4 +3069,18 @@ watch([inputSearch, currentStatus], async () => { border-radius: 10px; box-shadow: var(--shadow-3); } + +.slide-enter-active { + transition: all 0.1s ease-out; +} + +.slide-leave-active { + transition: all 0.1s cubic-bezier(1, 0.5, 0.8, 1); +} + +.slide-enter-from, +.slide-leave-to { + transform: translateY(-20px); + opacity: 0; +}