- sistemato "Pare che selezionando una condizione, non sempre viene aggiornato il record !"

- Aggiunto filtro "Escludi Editoriale"
This commit is contained in:
Surya Paolo
2025-06-04 15:46:29 +02:00
parent 12f816b738
commit 06fe6eb861
13 changed files with 209 additions and 29 deletions

View File

@@ -199,6 +199,7 @@
expand-separator
label="Dimensioni"
icon="fas fa-expand-alt"
v-if="!isElementoSpecifico()"
>
<div class="row">
<CMySlider
@@ -277,6 +278,7 @@
expand-separator
label="Allineamento"
icon="fas fa-align-center"
v-if="!isElementoSpecifico()"
>
<div class="row">
<q-select
@@ -359,6 +361,7 @@
expand-separator
label="Animazione"
icon="fas fa-play-circle"
v-if="!isElementoSpecifico()"
>
<CSelectAnimation
v-if="enableEdit && showAnimation"
@@ -373,6 +376,7 @@
expand-separator
label="Banner Iniziale"
icon="fas fa-play-circle"
v-if="!isElementoSpecifico()"
>
<div>Banner:</div>
@@ -1490,7 +1494,9 @@
:name="ind"
dense
:label="
`${ind}. ` + recscheda.scheda.name ? recscheda.scheda.name : `Scheda ` + (ind + 1)
`${ind}. ` + recscheda.scheda.name
? recscheda.scheda.name
: `Scheda ` + (ind + 1)
"
>
<div class="row">
@@ -1500,7 +1506,7 @@
rounded
outlined
v-model="recscheda.scheda.linkIdTemplate"
:options="globalStore.getSchedeOpt('SEARCH_')"
:options="globalStore.getSchedeOptByTag('SEARCH_')"
@update:model-value="modifElem"
label="Scheda collegata:"
style="width: 350px"
@@ -1508,6 +1514,20 @@
map-options
>
</q-select>
<q-btn
v-if="recscheda.scheda.linkIdTemplate"
icon="fas fa-edit"
label="Modifica Template"
color="primary"
@click="
naviga(
productStore.getFilePathByLinkIdTemplate(
recscheda.scheda.linkIdTemplate
)
)
"
>
</q-btn>
<q-toggle
v-model="recscheda.scheda.isTemplate"
@@ -1808,7 +1828,10 @@
v-model="myel.catalogo.selectedVersionStampabile"
:options="[
{ label: 'Versione Web', value: shared_consts.PREPARA_PDF.WEB },
{ label: 'Versione Stampabile', value: shared_consts.PREPARA_PDF.STAMPA },
{
label: 'Versione Stampabile',
value: shared_consts.PREPARA_PDF.STAMPA,
},
]"
label="Seleziona Versione"
emit-value
@@ -1837,6 +1860,7 @@
label="Catalogo collegato:"
style="width: 250px"
emit-value
:disabled="myel.catalogo.dimensioni_def.isTemplate"
map-options
>
</q-select>
@@ -1890,7 +1914,11 @@
:key="rec._id"
:name="ind"
dense
:label="`${ind}. ` + rec.scheda.name ? rec.scheda.name : `Scheda ` + (ind + 1)"
:label="
`${ind}. ` + rec.scheda.name
? rec.scheda.name
: `Scheda ` + (ind + 1)
"
>
</q-tab>
</q-tabs>
@@ -1979,7 +2007,7 @@
rounded
outlined
v-model="recscheda.scheda.linkIdTemplate"
:options="globalStore.getSchedeOpt()"
:options="globalStore.getSchedeOptByTag()"
@update:model-value="modifElem"
label="Scheda collegata:"
style="width: 350px"
@@ -1987,6 +2015,24 @@
map-options
>
</q-select>
LL: {{Products.getFilePathByLinkIdTemplate(
recscheda.scheda.linkIdTemplate
)}}
<q-btn
v-if="recscheda.scheda.linkIdTemplate"
icon="fas fa-edit"
label="Modifica Template"
color="primary"
@click="
naviga(
Products.getFilePathByLinkIdTemplate(
recscheda.scheda.linkIdTemplate
)
)
"
>
</q-btn>
<CMySlideNumber
v-model="recscheda.scheda.scalex"
label="Scale X:"
@@ -2010,7 +2056,7 @@
rounded
outlined
v-model="idSchedaDaCopiare"
:options="globalStore.getSchedeOpt()"
:options="globalStore.getSchedeOptByTag()"
@update:model-value="modifElem"
label="Scegli Scheda"
style="width: 250px"
@@ -2389,7 +2435,9 @@
</q-toggle>
<CMySlider
label="Primi N in Classifica"
v-model="recscheda.scheda.etichette.bestseller.quantiFattRaggiunti"
v-model="
recscheda.scheda.etichette.bestseller.quantiFattRaggiunti
"
:min="1"
:max="100"
color="green"
@@ -2408,6 +2456,7 @@
dense-toggle
expand-separator
label="Prima Pagina"
v-if="false"
icon="fas fa-play-circle"
>
<div class="row">
@@ -2436,6 +2485,7 @@
dense-toggle
expand-separator
label="Ultima Pagina"
v-if="false"
icon="fas fa-play-circle"
>
<div class="row">
@@ -2462,6 +2512,7 @@
dense-toggle
expand-separator
label="Per Stampa"
v-if="tools.isAdmin()"
icon="fas fa-play-circle"
>
<q-toggle
@@ -2527,7 +2578,10 @@
</q-select>
<div v-if="myel.catalogo.areadistampa.format.length > 1">
Ratio:
{{ myel.catalogo.areadistampa.format[0] / myel.catalogo.areadistampa.format[1] }}
{{
myel.catalogo.areadistampa.format[0] /
myel.catalogo.areadistampa.format[1]
}}
</div>
<q-select
rounded
@@ -2643,7 +2697,14 @@
<div>
<q-dialog
v-model="visuadd"
style="width: 600px; max-width: 100%; position: fixed; left: 0; top: 0; height: 100%"
style="
width: 600px;
max-width: 100%;
position: fixed;
left: 0;
top: 0;
height: 100%;
"
transition-show="slide-up"
transition-hide="slide-down"
>