diff --git a/src/components/03_customer-management/FormEmployeeHealthCheck.vue b/src/components/03_customer-management/FormEmployeeHealthCheck.vue index 7dbe1a5b..e631ba1d 100644 --- a/src/components/03_customer-management/FormEmployeeHealthCheck.vue +++ b/src/components/03_customer-management/FormEmployeeHealthCheck.vue @@ -55,6 +55,11 @@ withDefaults( showBtnSave: false, }, ); + +defineEmits<{ + (e: 'save', id: string): void; +}>(); + async function fetchProvince() { const result = await adrressStore.fetchProvince(); @@ -67,7 +72,7 @@ async function fetchProvince() { ); } -function addData() { +function addCheckup() { const canAdd = checkTabBeforeAdd(employeeCheckup.value || []); if (canAdd) { employeeCheckup.value?.push({ @@ -131,7 +136,7 @@ const insuranceCompanyFilter = selectFilterOptionRefMod(