- Fare LISTA MOVIMENTI più comprensibile

- Grafica Circuiti
This commit is contained in:
Surya Paolo
2024-10-02 03:46:40 +02:00
parent 1424060813
commit e29de7e0f6
47 changed files with 937 additions and 291 deletions

View File

@@ -1,14 +1,11 @@
<template>
<div v-if="small">
<q-chip
dense
class="cltexth4 chipbooked shadow-5 q-pa-sm2"
size="md"
:color="modelValue > 0 ? `green` : modelValue === 0 ? `gray` : `red`"
text-color="white"
icon="fas fa-coins"
>
{{ valueextra }} {{ tools.roundDec2(modelValue) }}
<span class="text-currency"
@@ -18,7 +15,14 @@
>{{ symbol }}</em
></span
>
<div v-if="myrecparam && myrecparam.fidoConcesso > 0 && !paramTypeAccount">
<q-icon
v-if="symbol === 'RIS'"
name="img: images/1ris_rosso_100.png"
:size="small ? `xs` : `sm`"
/>
<div
v-if="myrecparam && myrecparam.fidoConcesso > 0 && !paramTypeAccount"
>
<q-icon
:color="myrecparam.fidoConcesso > 0 ? 'blue' : 'grey'"
name="fas fa-house-user"
@@ -31,7 +35,7 @@
<div
v-if="modelValue !== null"
:class="
`text-h5 ` +
`text-h6 ` +
(small ? `bordo_stondato_small` : `bordo_stondato_stretto`) +
` full-width`
"
@@ -66,7 +70,7 @@
:readonly="readonly"
type="number"
rounded
:class="!small ? `q-px-sm text-h5` : `q-px-xs text-h7`"
:class="!small ? `q-px-sm text-h6` : `q-px-xs text-h7`"
:color="modelValue > 0 ? `green` : `red`"
>
<template v-slot:prepend>
@@ -80,7 +84,23 @@
@click="showingtooltip = !showingtooltip"
>
</q-btn>
<q-icon v-else name="fas fa-coins" :size="small ? `xs` : `sm`" />
<div v-else>
<q-btn
v-if="
myrecparam &&
myrecparam.fidoConcesso >= 0 &&
!paramTypeAccount
"
icon="fas fa-house-user"
class="q-ml-sm"
:color="myrecparam.fidoConcesso > 0 ? 'primary' : 'grey'"
text-color="white"
round
size="sm"
@click="showinghouse = !showinghouse"
>
</q-btn>
</div>
</template>
<template v-slot:control>
<div class="text-h8 text-blue">
@@ -113,17 +133,12 @@
@click="$emit('changedParamValue', true)"
></q-btn>
</div>
<q-btn
v-if="myrecparam && myrecparam.fidoConcesso >= 0 && !paramTypeAccount"
icon="fas fa-house-user"
class="q-ml-sm"
:color="myrecparam.fidoConcesso > 0 ? 'primary' : 'grey'"
text-color="white"
round
size="sm"
@click="showinghouse = !showinghouse"
>
</q-btn>
<q-icon
v-if="symbol === 'RIS'"
name="img: images/1ris_rosso_100.png"
:size="small ? `xs` : `sm`"
/>
<q-icon v-else name="img: images/1ris_rosso_100.png" :size="small ? `xs` : `sm`" />
</template>
</q-field>
</div>