refactor: set layout no data

This commit is contained in:
Thanaphon Frappet 2024-11-21 17:40:12 +07:00
parent 589869a9eb
commit c56d14b2ea

View file

@ -5136,7 +5136,7 @@ const emptyCreateDialog = ref(false);
</FormEmployeePassport> </FormEmployeePassport>
</template> </template>
<div class="full-width flex flex-center"> <div class="full-width full-height flex flex-center">
<NoData <NoData
v-if=" v-if="
currentFromDataEmployee.employeePassport?.length === 0 currentFromDataEmployee.employeePassport?.length === 0
@ -5273,7 +5273,7 @@ const emptyCreateDialog = ref(false);
</template> </template>
</FormEmployeeVisa> </FormEmployeeVisa>
<div class="full-width flex flex-center"> <div class="full-width full-height flex flex-center">
<NoData <NoData
v-if="currentFromDataEmployee.employeeVisa?.length === 0" v-if="currentFromDataEmployee.employeeVisa?.length === 0"
/> />
@ -5365,7 +5365,7 @@ const emptyCreateDialog = ref(false);
" "
/> />
<div class="full-width flex flex-center"> <div class="full-width full-height flex flex-center">
<NoData <NoData
v-if="currentFromDataEmployee.employeeCheckup?.length === 0" v-if="currentFromDataEmployee.employeeCheckup?.length === 0"
/> />
@ -5446,7 +5446,7 @@ const emptyCreateDialog = ref(false);
/> />
</div> </div>
<div class="full-width flex flex-center"> <div class="full-width full-height flex flex-center">
<NoData <NoData
v-if="currentFromDataEmployee.employeeWork?.length === 0" v-if="currentFromDataEmployee.employeeWork?.length === 0"
/> />