- aggiornamento lista catalogo, ordinamento tabelle

This commit is contained in:
Surya Paolo
2025-05-08 11:06:01 +02:00
parent 82e10ef6cf
commit ef36cd5e11
5 changed files with 165 additions and 80 deletions

View File

@@ -16,7 +16,6 @@
{{ $t('cataloglist.referenti') }}: <span class="text-bold">{{ getReferentiCatalogo() }}</span>
</div>
<q-tabs
v-if="optcatalogo.pdf && (tools.isEditor() || tools.isCommerciale())"
v-model="tabcatalogo"
dense
class="bg-green text-white"
@@ -39,7 +38,7 @@
</q-tab>
<q-tab
name="visu"
icon="fas fa-eye"
icon="fas fa-book"
label="Catalogo"
>
</q-tab>
@@ -58,6 +57,7 @@
>
</q-tab>
<q-tab
v-if="!tools.isUtente()"
name="tutorial"
icon="fas fa-info"
label="Tutorial"
@@ -119,12 +119,22 @@
v-if="!generatinglist"
class="text-center q-py-sm prod_trov"
>
<span v-show="productStore.getNumProdTot() !== arrProducts.length">{{
t('ecomm.prodotti_trovati', {
qta: arrProducts.length,
qtatot: productStore.getNumProdTot(),
})
}}</span>
<div
v-if="cat === '' && arrProducts.length === 0 && showListaArgomenti"
class="row justify-center text-h6"
>
Seleziona un Argomento
</div>
<span
v-else
v-show="productStore.getNumProdTot() !== arrProducts.length"
>{{
t('ecomm.prodotti_trovati', {
qta: arrProducts.length,
qtatot: productStore.getNumProdTot(),
})
}}</span
>
</div>
</q-tab-panel>
@@ -200,7 +210,7 @@
</div>
<CProductTable
v-if="loadpage"
v-if="loadpage && lista_prodotti?.length > 0"
:lista_prodotti="lista_prodotti"
@update:lista_prodotti="updateProducts"
:optcatalogo="optcatalogo"
@@ -453,12 +463,22 @@
</div>
<div class="text-center q-py-sm prod_trov">
<span v-show="productStore.getNumProdTot() !== arrProducts.length">{{
t('ecomm.prodotti_trovati', {
qta: arrProducts.length,
qtatot: productStore.getNumProdTot(),
})
}}</span>
<div
v-if="cat === '' && arrProducts.length === 0 && showListaArgomenti"
class="row justify-center text-h6"
>
Seleziona un Argomento
</div>
<span
v-else
v-show="productStore.getNumProdTot() !== arrProducts.length"
>{{
t('ecomm.prodotti_trovati', {
qta: arrProducts.length,
qtatot: productStore.getNumProdTot(),
})
}}</span
>
</div>
<div
class="row justify-around"