fix: btn add missing
This commit is contained in:
parent
64c1562e47
commit
9d9a955298
1 changed files with 7 additions and 7 deletions
|
|
@ -2649,7 +2649,7 @@ const emptyCreateDialog = ref(false);
|
|||
},
|
||||
{
|
||||
name: $t('general.uploadFile'),
|
||||
anchor: 'drawer-info-file-upload',
|
||||
anchor: 'form-info-file-upload',
|
||||
tab: 'personalInfo',
|
||||
},
|
||||
|
||||
|
|
@ -2672,14 +2672,14 @@ const emptyCreateDialog = ref(false);
|
|||
},
|
||||
...(currentFromDataEmployee.employeePassport?.map((v, i) => ({
|
||||
name: dateFormat(v.expireDate),
|
||||
anchor: `drawer-employee-employeePassport-${i}`,
|
||||
anchor: `form-employee-employeePassport-${i}`,
|
||||
tab: 'passport',
|
||||
sub: true,
|
||||
})) || []),
|
||||
|
||||
{
|
||||
name: $t('customerEmployee.form.group.visa'),
|
||||
anchor: 'drawer-visa',
|
||||
anchor: 'form-visa',
|
||||
tab: 'visa',
|
||||
useBtn:
|
||||
currentFromDataEmployee.employeeVisa?.filter((item) => {
|
||||
|
|
@ -2695,7 +2695,7 @@ const emptyCreateDialog = ref(false);
|
|||
|
||||
...(currentFromDataEmployee.employeeVisa?.map((v, i) => ({
|
||||
name: dateFormat(v.expireDate),
|
||||
anchor: `drawer-employee-visa-${i}`,
|
||||
anchor: `form-employee-visa-${i}`,
|
||||
tab: 'visa',
|
||||
sub: true,
|
||||
})) || []),
|
||||
|
|
@ -2774,7 +2774,7 @@ const emptyCreateDialog = ref(false);
|
|||
/>
|
||||
</template>
|
||||
|
||||
<template v-slot:btn-drawer-visa>
|
||||
<template v-slot:btn-form-visa>
|
||||
<q-btn
|
||||
id="form-add-visa"
|
||||
dense
|
||||
|
|
@ -2787,7 +2787,7 @@ const emptyCreateDialog = ref(false);
|
|||
/>
|
||||
</template>
|
||||
|
||||
<template v-slot:btn-drawer-employee-checkup>
|
||||
<template v-slot:btn-form-employee-checkup>
|
||||
<q-btn
|
||||
id="form-add-checkup"
|
||||
dense
|
||||
|
|
@ -2800,7 +2800,7 @@ const emptyCreateDialog = ref(false);
|
|||
/>
|
||||
</template>
|
||||
|
||||
<template v-slot:btn-drawer-employee-work-history>
|
||||
<template v-slot:btn-form-employee-work-history>
|
||||
<q-btn
|
||||
id="form-add-work-history"
|
||||
dense
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue