Merge branch 'dev/phat-2' into develop

This commit is contained in:
puriphatt 2024-04-19 14:37:10 +07:00
commit f768d9a679

View file

@ -545,7 +545,7 @@ watch(inputSearch, async () => {
</div> </div>
<!-- main --> <!-- main -->
<AppBox bordered style="width: 100%; height: 70vh; overflow-y: auto"> <AppBox bordered class="column" style="width: 100%; min-height: 70vh">
<div class="row q-mb-md justify-between"> <div class="row q-mb-md justify-between">
<q-btn <q-btn
icon="mdi-tune-vertical-variant" icon="mdi-tune-vertical-variant"
@ -637,11 +637,7 @@ watch(inputSearch, async () => {
@enter-card="openDialog" @enter-card="openDialog"
@toggle-status="toggleStatus" @toggle-status="toggleStatus"
/> />
<div <template v-if="userData && userData.total === 0">
class="column"
style="height: 100%"
v-if="userData && userData.total === 0"
>
<div class="col-1 self-end"> <div class="col-1 self-end">
<div class="row"> <div class="row">
<TooltipComponent <TooltipComponent
@ -651,14 +647,17 @@ watch(inputSearch, async () => {
/> />
</div> </div>
</div> </div>
<div class="col self-center" style="display: flex; align-items: center"> <div
class="col self-center"
style="display: flex; flex-grow: 1; align-items: center"
>
<AddButton <AddButton
:label="'personnelAdd'" :label="'personnelAdd'"
:cyanOn="true" :cyanOn="true"
@trigger="openDialog('FORM')" @trigger="openDialog('FORM')"
/> />
</div> </div>
</div> </template>
</AppBox> </AppBox>
</div> </div>