fix: btn add missing
This commit is contained in:
parent
9eff614dbd
commit
65e32f85d8
1 changed files with 3 additions and 1 deletions
|
|
@ -798,8 +798,10 @@ export const useEmployeeForm = defineStore('form-employee', () => {
|
||||||
function resetFormDataEmployee(clean = false) {
|
function resetFormDataEmployee(clean = false) {
|
||||||
state.value.currentIndexPassport = -1;
|
state.value.currentIndexPassport = -1;
|
||||||
state.value.currentIndexVisa = -1;
|
state.value.currentIndexVisa = -1;
|
||||||
|
state.value.currentIndexCheckup = -1;
|
||||||
|
state.value.currentIndexWorkHistory = -1;
|
||||||
|
state.value.currentTab = 'personalInfo';
|
||||||
if (clean) {
|
if (clean) {
|
||||||
state.value.currentTab = 'personalInfo';
|
|
||||||
state.value.formDataEmployeeOwner = undefined;
|
state.value.formDataEmployeeOwner = undefined;
|
||||||
resetEmployeeData = structuredClone(defaultFormData);
|
resetEmployeeData = structuredClone(defaultFormData);
|
||||||
state.value.statusSavePersonal = false;
|
state.value.statusSavePersonal = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue