refactor: move form address to shared component
This commit is contained in:
parent
0a5e6c48ea
commit
93f75d813b
6 changed files with 548 additions and 11 deletions
|
|
@ -32,7 +32,7 @@ import {
|
|||
EmployerFormBranch,
|
||||
EmployerBranch,
|
||||
} from './components';
|
||||
import FormAddress from 'src/components/02_personnel-management/FormAddress.vue';
|
||||
import { AddressForm } from 'src/components/form';
|
||||
import FormEmployeePassport from 'src/components/03_customer-management/FormEmployeePassport.vue';
|
||||
import FormEmployeeVisa from 'src/components/03_customer-management/FormEmployeeVisa.vue';
|
||||
import { AddButton } from 'src/components/button';
|
||||
|
|
@ -2240,7 +2240,7 @@ watch(
|
|||
v-model:birthDate="currentFromDataEmployee.dateOfBirth"
|
||||
v-model:nationality="currentFromDataEmployee.nationality"
|
||||
/>
|
||||
<FormAddress
|
||||
<AddressForm
|
||||
id="form-personal-address"
|
||||
prefix-id="form-employee"
|
||||
v-model:same-with-employer="
|
||||
|
|
@ -2583,7 +2583,7 @@ watch(
|
|||
v-model:birthDate="currentFromDataEmployee.dateOfBirth"
|
||||
v-model:nationality="currentFromDataEmployee.nationality"
|
||||
/>
|
||||
<FormAddress
|
||||
<AddressForm
|
||||
id="form-personal-address"
|
||||
employee
|
||||
v-model:address="currentFromDataEmployee.address"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue