diff --git a/src/pages/01_branch-management/MainPage.vue b/src/pages/01_branch-management/MainPage.vue index 2cdb392e..97cf311d 100644 --- a/src/pages/01_branch-management/MainPage.vue +++ b/src/pages/01_branch-management/MainPage.vue @@ -11,14 +11,15 @@ import TooltipComponent from 'components/TooltipComponent.vue'; import StatCard from 'components/StatCardComponent.vue'; import BranchCard from 'src/components/01_branch-management/BranchCard.vue'; -import { BranchWithChildren, BranchCreate } from 'stores/branch/types'; +// import { BranchWithChildren, BranchCreate } from 'stores/branch/types'; +import { BranchWithChildren } from 'stores/branch/types'; import { watch } from 'vue'; import { useI18n } from 'vue-i18n'; const { t } = useI18n(); -const profileFile = ref(undefined); -const imageUrl = ref(); +// const profileFile = ref(undefined); +// const imageUrl = ref(); // const inputFile = (() => { // const element = document.createElement('input'); @@ -102,28 +103,28 @@ const fieldSelectedBranch = ref<{ const stats = ref<{ count: number; label: string }[]>([]); -const defaultFormData = { - headOfficeId: null, - taxNo: '', - nameEN: '', - name: '', - addressEN: '', - address: '', - zipCode: '', - email: '', - telephoneNo: '', - longitude: '', - latitude: '', - subDistrictId: '', - districtId: '', - provinceId: '', - contactName: '', - contact: [] as string[], -}; +// const defaultFormData = { +// headOfficeId: null, +// taxNo: '', +// nameEN: '', +// name: '', +// addressEN: '', +// address: '', +// zipCode: '', +// email: '', +// telephoneNo: '', +// longitude: '', +// latitude: '', +// subDistrictId: '', +// districtId: '', +// provinceId: '', +// contactName: '', +// contact: [] as string[], +// }; -const formData = ref( - structuredClone(defaultFormData), -); +// const formData = ref( +// structuredClone(defaultFormData), +// ); // function clearData() { // formData.value = structuredClone(defaultFormData);