refactor: handle edit
This commit is contained in:
parent
f337760644
commit
d21506f4d6
3 changed files with 20 additions and 4 deletions
|
|
@ -392,6 +392,7 @@ export const useEmployeeForm = defineStore('form-employee', () => {
|
|||
currentTab: string;
|
||||
dialogModal: boolean;
|
||||
drawerModal: boolean;
|
||||
|
||||
currentEmployeeCode: string;
|
||||
currentEmployee: Employee | null;
|
||||
currentIndex: number;
|
||||
|
|
@ -422,7 +423,7 @@ export const useEmployeeForm = defineStore('form-employee', () => {
|
|||
}
|
||||
| undefined;
|
||||
}>({
|
||||
currentIndex: 0,
|
||||
currentIndex: -1,
|
||||
statusSavePersonal: false,
|
||||
drawerModal: false,
|
||||
imageDialog: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue