ver 1.1.20:

- corretto campo foto che non compariva più.
 - sistemato i campi aggiuntivi e i richiesti.
- migliorato la barra in alto di selezione.
- aggiunto alcune icone.
This commit is contained in:
Surya Paolo
2025-02-03 17:18:33 +01:00
parent 997fd136ea
commit 979f90f980
84 changed files with 1257 additions and 357 deletions

View File

@@ -25,10 +25,10 @@
</div>
<div
v-if="butt_modif_new || mytitle"
v-if="(butt_modif_new || mytitle)"
:class="$q.screen.lt.sm ? `` : `q-ma-xs` + ` `"
>
<q-toolbar class="bg-primary text-white">
<q-toolbar v-if="mytitle" class="bg-primary text-white">
<q-toolbar-title>{{ mytitle }}</q-toolbar-title>
</q-toolbar>
@@ -103,11 +103,12 @@
>
<q-btn
size="sm"
dense
color="positive"
rounded
:icon="
!showfilteradv ? 'fas fa-arrow-down' : 'fas fa-arrow-up'
"
:label="$t('grid.advanced_filters')"
:label="!showfilteradv ? $t('grid.advanced_filters') : $t('grid.hide_advanced_filters')"
@click="showfilteradv = !showfilteradv"
></q-btn>
</div>
@@ -266,9 +267,8 @@
<div v-if="searchList && finder" class="row items-start">
<q-btn
v-if="searchList && searchList.length > 0"
:dense="search"
class="q-mx-xs"
color="positive"
:color="!showfilter ? 'positive' : 'blue-grey-4'"
:icon="!showfilter ? 'fas fa-filter' : 'fas fa-arrow-up'"
@click="showfilter = !showfilter"
>
@@ -285,7 +285,6 @@
<q-input
v-model="search"
filled
dense
type="search"
debounce="500"
:hint="!hintinbtnsearch ? hint : ''"
@@ -513,7 +512,11 @@
<div
:style="heightcarousel ? `height: ${heightcarousel}` : ''"
:class="{ 'carousel-scroll-container': !!heightcarousel }"
:class="{
'carousel-scroll-container': !!heightcarousel,
row: opt.rowclass,
'justify-evenly': opt.rowclass,
}"
>
<div v-for="(row, indexrow) in serverData" :key="indexrow">
<div
@@ -554,6 +557,16 @@
@cmdext="cmdExt"
>
</CMyRecCircuitCard>
<CMyRecCatalog
v-else-if="tablesel === shared_consts.TABLES_CATALOG"
:table="tablesel"
:prop_myrec="row"
:opt="opt"
@cmdext="cmdExt"
:editOn="editOn"
:margin_right="margin_right"
>
</CMyRecCatalog>
<CMyRecCard
v-else
:table="tablesel"
@@ -765,11 +778,11 @@
>
<q-btn
size="sm"
dense
color="positive"
:icon="
!showfilteradv ? 'fas fa-arrow-down' : 'fas fa-arrow-up'
"
:label="$t('grid.advanced_filters')"
:label="!showfilteradv ? $t('grid.advanced_filters') : $t('grid.hide_advanced_filters')"
@click="showfilteradv = !showfilteradv"
></q-btn>
</div>
@@ -927,13 +940,12 @@
<q-input
v-model="search"
filled
dense
type="search"
debounce="500"
:hint="hint"
:error-message="noresultLabel"
:error="getNumRecFromQuery() === 0 && !startsearch"
label="Cerca"
:label="$t('grid.search')"
v-on:keyup.enter="doSearch"
>
<template v-slot:after>
@@ -1090,11 +1102,11 @@
props.row['adType']
)
}}
<q-icon
<!--<q-icon
:name="fieldsTable.getIconByAdType(props.row['adType'])"
color="white"
class="q-ml-xs"
/>
/>-->
</q-badge>
<q-space />
@@ -1409,11 +1421,14 @@
v-if="col.fieldtype === costanti.FieldType.separator"
>
<q-btn
color="primary"
color="positive"
size="md"
dense
rounded
:icon="!showfilteradv ? 'fas fa-arrow-down' : 'fas fa-arrow-up'"
:label="$t('grid.show_campi_avanzati')"
:label="showfilteradv ? $t('grid.hide_campi_avanzati') : $t('grid.show_campi_avanzati')"
:class="{ 'q-btn--active': showfilteradv }"
:aria-expanded="showfilteradv.toString()"
@click="showfilteradv = !showfilteradv"
></q-btn>
</div>
@@ -1443,6 +1458,7 @@
minuteinterval="1"
:visulabel="true"
:insertMode="true"
:dense="false"
@save="SaveValue"
@show="selItem(newRecord, col)"
@showandsave="showandsave"
@@ -1491,7 +1507,7 @@
size="md"
dense
:icon="!showfilteradv ? 'fas fa-arrow-down' : 'fas fa-arrow-up'"
:label="$t('grid.show_campi_avanzati')"
:label="!showfilteradv ? $t('grid.advanced_filters') : $t('grid.hide_advanced_filters')"
@click="showfilteradv = !showfilteradv"
></q-btn>
</div>
@@ -1515,6 +1531,7 @@
v-model:row="recModif"
:field="col.field"
:subfield="col.subfield"
:dense="false"
:value_extra="getValueExtra(col, recModif)"
minuteinterval="1"
@save="SaveValue"