fix(03): employee save notify

This commit is contained in:
puriphatt 2024-08-09 03:32:37 +00:00
parent a25bd3bcb0
commit 6221191d25

View file

@ -2217,6 +2217,7 @@ watch(
async () => {
await employeeFormStore.submitPersonal();
await fetchListEmployee();
notify('create', $t('success'));
}
"
@filter-owner-branch="employeeFormStore.employeeFilterOwnerBranch"
@ -2559,6 +2560,7 @@ watch(
await employeeFormStore.submitPersonal();
employeeFormState.dialogType = 'info';
employeeFormState.isEmployeeEdit = false;
notify('create', $t('success'));
}
"
@delete="() => console.log('asd')"
@ -2660,6 +2662,7 @@ watch(
@save="
(index) => {
employeeFormState.currentIndex = index;
notify('create', $t('success'));
}
"
@edit="