show table movements

This commit is contained in:
Surya Paolo
2023-03-18 00:57:43 +01:00
parent af04e022eb
commit 422a3b6e88
11 changed files with 139 additions and 38 deletions

View File

@@ -488,6 +488,42 @@
</q-tab-panels>
</q-tab-panel>
<q-tab-panel name="circuits">
<q-select
v-model="circuitIndex"
:options="circuitslistOpt"
emit-value
map-options
:behavior="$q.platform.is.ios === true ? 'dialog' : 'menu'"
>
<template v-slot:prepend>
<q-icon :name="iconsel" />
</template>
<template v-slot:option="scope">
<q-item v-bind="scope.itemProps">
<q-item-section>
<q-item-label>{{ scope.opt.label }}</q-item-label>
</q-item-section>
</q-item>
</template>
</q-select>
<q-tabs v-model="tabcircuit" class="text-blue" no-caps>
<q-tab
:label="t('shared.info1')"
name="info"
icon="fas fa-info"
></q-tab>
<q-tab
:label="t('circuit.movements')"
name="mov"
icon="fas fa-coins"
></q-tab>
</q-tabs>
</q-tab-panel>
</q-tab-panels>
<q-tab-panels v-model="tabcircuit" animated>
<q-tab-panel name="info" style="max-width: 500px">
<div v-for="(circuit, ind) of circuitslist" :key="ind">
<div class="circuit_name">{{ circuit.name }}:</div>
<CInfoAccount
@@ -496,11 +532,10 @@
:account="circuit.account"
:admin="tools.iAmAdminCircuit(circuit.name)"
/>
<q-toggle
v-model="showonlymine"
:label="t('movement.onlymymov')"
></q-toggle>
</div>
</q-tab-panel>
<q-tab-panel name="mov">
<div v-if="circuitslist && circuitslist.length > 0">
<q-toggle v-model="tabellare" label="Tabella"></q-toggle>
<CGridTableRec
@@ -532,7 +567,7 @@
:showType="costanti.SHOW_MOVEMENTS"
:showCol="true"
:showHeaderCol="true"
:extraparams="getExtraparams_movs_grp(circuit)"
:extraparams="getExtraparams_movs_grp(circuitslist[circuitIndex])"
extrafield=""
:visufind="costanti.FRIENDS"
>
@@ -565,7 +600,7 @@
:showType="costanti.SHOW_MOVEMENTS"
:showCol="false"
:showHeaderCol="false"
:extraparams="getExtraparams_movs_grp(circuit)"
:extraparams="getExtraparams_movs_grp(circuitslist[circuitIndex])"
extrafield=""
:visufind="costanti.FRIENDS"
>