refactor: header img
This commit is contained in:
parent
9445187838
commit
2e392a44d1
1 changed files with 3 additions and 2 deletions
|
|
@ -1038,7 +1038,7 @@ const emptyCreateDialog = ref(false);
|
|||
>
|
||||
<template #error>
|
||||
<q-img
|
||||
src="/images/customer-CORP-avartar.png"
|
||||
:src="`${props.row.customerType === 'CORP' ? '/images/customer-CORP-avartar.png' : '/images/customer-PERS-avartar.png'}`"
|
||||
/>
|
||||
</template>
|
||||
</q-img>
|
||||
|
|
@ -1962,7 +1962,6 @@ const emptyCreateDialog = ref(false);
|
|||
await fetchListEmployee();
|
||||
}
|
||||
"
|
||||
:close="() => {}"
|
||||
:show="
|
||||
() => {
|
||||
employeeFormStore.resetFormDataEmployee(true);
|
||||
|
|
@ -1973,6 +1972,8 @@ const emptyCreateDialog = ref(false);
|
|||
if (employeeFormStore.isFormDataDifferent()) {
|
||||
employeeConfirmUnsave();
|
||||
return true;
|
||||
} else {
|
||||
fetchListEmployee();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue