fix(03): employee save notify
This commit is contained in:
parent
a25bd3bcb0
commit
6221191d25
1 changed files with 3 additions and 0 deletions
|
|
@ -2217,6 +2217,7 @@ watch(
|
||||||
async () => {
|
async () => {
|
||||||
await employeeFormStore.submitPersonal();
|
await employeeFormStore.submitPersonal();
|
||||||
await fetchListEmployee();
|
await fetchListEmployee();
|
||||||
|
notify('create', $t('success'));
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
@filter-owner-branch="employeeFormStore.employeeFilterOwnerBranch"
|
@filter-owner-branch="employeeFormStore.employeeFilterOwnerBranch"
|
||||||
|
|
@ -2559,6 +2560,7 @@ watch(
|
||||||
await employeeFormStore.submitPersonal();
|
await employeeFormStore.submitPersonal();
|
||||||
employeeFormState.dialogType = 'info';
|
employeeFormState.dialogType = 'info';
|
||||||
employeeFormState.isEmployeeEdit = false;
|
employeeFormState.isEmployeeEdit = false;
|
||||||
|
notify('create', $t('success'));
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
@delete="() => console.log('asd')"
|
@delete="() => console.log('asd')"
|
||||||
|
|
@ -2660,6 +2662,7 @@ watch(
|
||||||
@save="
|
@save="
|
||||||
(index) => {
|
(index) => {
|
||||||
employeeFormState.currentIndex = index;
|
employeeFormState.currentIndex = index;
|
||||||
|
notify('create', $t('success'));
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
@edit="
|
@edit="
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue