refactor: Clean code
This commit is contained in:
parent
b0885e10a3
commit
0381addb86
1 changed files with 0 additions and 17 deletions
|
|
@ -2417,23 +2417,6 @@ const emptyCreateDialog = ref(false);
|
||||||
v-model:nrc-no="currentFromDataEmployee.nrcNo"
|
v-model:nrc-no="currentFromDataEmployee.nrcNo"
|
||||||
v-model:code="currentFromDataEmployee.code"
|
v-model:code="currentFromDataEmployee.code"
|
||||||
@filter-owner-branch="employeeFormStore.employeeFilterOwnerBranch"
|
@filter-owner-branch="employeeFormStore.employeeFilterOwnerBranch"
|
||||||
@undo="
|
|
||||||
() => {
|
|
||||||
employeeFormStore.resetFormDataEmployee();
|
|
||||||
employeeFormState.isEmployeeEdit = false;
|
|
||||||
employeeFormState.dialogType = 'info';
|
|
||||||
}
|
|
||||||
"
|
|
||||||
@edit="
|
|
||||||
() => {
|
|
||||||
employeeFormState.isEmployeeEdit = true;
|
|
||||||
employeeFormState.dialogType = 'edit';
|
|
||||||
}
|
|
||||||
"
|
|
||||||
@save="async () => {}"
|
|
||||||
@delete="
|
|
||||||
() => deleteEmployeeById({ id: currentFromDataEmployee.id })
|
|
||||||
"
|
|
||||||
/>
|
/>
|
||||||
<FormPerson
|
<FormPerson
|
||||||
id="drawer-form-personal"
|
id="drawer-form-personal"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue