refactor: save button does not disappear.
This commit is contained in:
parent
3aae9002d2
commit
919c3f41cd
1 changed files with 2 additions and 0 deletions
|
|
@ -2136,6 +2136,8 @@ const emptyCreateDialog = ref(false);
|
||||||
async () => {
|
async () => {
|
||||||
if (employeeFormState.currentTab === 'personalInfo') {
|
if (employeeFormState.currentTab === 'personalInfo') {
|
||||||
await employeeFormStore.submitPersonal();
|
await employeeFormStore.submitPersonal();
|
||||||
|
employeeFormState.isEmployeeEdit = false;
|
||||||
|
employeeFormState.dialogType = 'info';
|
||||||
}
|
}
|
||||||
if (employeeFormState.currentTab === 'healthCheck') {
|
if (employeeFormState.currentTab === 'healthCheck') {
|
||||||
await employeeFormStore.submitHealthCheck();
|
await employeeFormStore.submitHealthCheck();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue