diff --git a/src/pages/01_branch-management/MainPage.vue b/src/pages/01_branch-management/MainPage.vue index ed2bbdb6..ff2c8a35 100644 --- a/src/pages/01_branch-management/MainPage.vue +++ b/src/pages/01_branch-management/MainPage.vue @@ -60,7 +60,7 @@ onMounted(async () => { watch(locale, () => { console.log(locale.value); }); - +const fieldBranch = ref(['all', 'branchHQLabel', 'branchLabel']); const fieldDisplay = ref([ 'branchLabelName', 'branchLabelTel', @@ -69,6 +69,14 @@ const fieldDisplay = ref([ 'branchLabelStatus', ]); const fieldSelected = ref(fieldDisplay.value); +const fieldSelectedBranch = ref<{ + label: string; + value: string; +}>({ + label: 'ทั้งหมด', + value: 'all', +}); + const stats = ref<{ count: number; label: string }[]>([]); const defaultFormData = { @@ -155,16 +163,12 @@ function clearData() {
@@ -186,21 +190,31 @@ function clearData() {