fix: 02-personnel layout

This commit is contained in:
puriphatt 2024-07-04 09:53:33 +00:00
parent bfec8255ff
commit 2fd21a5ac7

View file

@ -534,6 +534,7 @@ watch(inputSearch, async () => await fetchUserList());
</ButtonAddComponent> </ButtonAddComponent>
<!-- stat --> <!-- stat -->
<div class="column full-height no-wrap">
<div class="scroll q-mb-md"> <div class="scroll q-mb-md">
<div style="display: inline-block"> <div style="display: inline-block">
<StatCardComponent <StatCardComponent
@ -550,6 +551,7 @@ watch(inputSearch, async () => await fetchUserList());
/> />
</div> </div>
</div> </div>
<!-- main --> <!-- main -->
<div <div
class="col scroll bordered surface-1 rounded q-pa-md justify-between column no-wrap" class="col scroll bordered surface-1 rounded q-pa-md justify-between column no-wrap"
@ -614,7 +616,10 @@ watch(inputSearch, async () => await fetchUserList());
:list=" :list="
userData?.result userData?.result
.filter((v) => { .filter((v) => {
if (statusFilter === 'statusACTIVE' && v.status === 'INACTIVE') { if (
statusFilter === 'statusACTIVE' &&
v.status === 'INACTIVE'
) {
return false; return false;
} }
if ( if (
@ -696,6 +701,7 @@ watch(inputSearch, async () => await fetchUserList());
<q-list> <q-list>
<q-item <q-item
v-for="v in [10, 30, 50, 100, 500, 1000]" v-for="v in [10, 30, 50, 100, 500, 1000]"
:key="v"
clickable clickable
v-close-popup v-close-popup
@click=" @click="
@ -732,6 +738,7 @@ watch(inputSearch, async () => await fetchUserList());
</div> </div>
</div> </div>
</div> </div>
</div>
<DrawerInfo <DrawerInfo
v-if="currentUser" v-if="currentUser"