diff --git a/src/components/StatCardComponent.vue b/src/components/StatCardComponent.vue index 2bf084b9..69d1d5ab 100644 --- a/src/components/StatCardComponent.vue +++ b/src/components/StatCardComponent.vue @@ -1,13 +1,19 @@ @@ -34,7 +40,9 @@ const color = ['pink', 'purple'];
{{ v.count }}
-
{{ v.label }}
+
+ {{ isBranch ? $t(v.label) : v.label }} +
diff --git a/src/pages/01_branch-management/MainPage.vue b/src/pages/01_branch-management/MainPage.vue index 83e5d0a4..c30921f7 100644 --- a/src/pages/01_branch-management/MainPage.vue +++ b/src/pages/01_branch-management/MainPage.vue @@ -382,7 +382,7 @@ watch(locale, () => { - + { v.isHeadOffice ? 'branchHQLabel' : 'branchLabel', ), branchLabelStatus: $t(`status${v.status}`), - }))" + })) + .sort((a, b) => { + console.log(a); + + if (a.hq) return 1; + // if (!a.hq) return -1; + + return 0; + })" @click=" () => { if (item.hq) {