refactor: move form address to shared component

This commit is contained in:
Methapon2001 2024-08-09 14:00:57 +07:00
parent 0a5e6c48ea
commit 93f75d813b
6 changed files with 548 additions and 11 deletions

View file

@ -22,7 +22,7 @@ import AddButton from 'components/AddButton.vue';
import TooltipComponent from 'components/TooltipComponent.vue';
import StatCard from 'components/StatCardComponent.vue';
import BranchCard from 'components/01_branch-management/BranchCard.vue';
import FormAddress from 'components/02_personnel-management/FormAddress.vue';
import { AddressForm } from 'components/form';
import DialogForm from 'components/DialogForm.vue';
import FormBranchInformation from 'components/01_branch-management/FormBranchInformation.vue';
import FormLocation from 'components/01_branch-management/FormLocation.vue';
@ -1666,7 +1666,7 @@ watch(currentHq, () => {
:dense="true"
:outlined="true"
/>
<FormAddress
<AddressForm
id="form-address"
dense
outlined
@ -1852,7 +1852,7 @@ watch(currentHq, () => {
:dense="true"
:outlined="true"
/>
<FormAddress
<AddressForm
id="info-address"
dense
outlined