- aggiornamento lista catalogo, ordinamento tabelle
This commit is contained in:
@@ -787,7 +787,7 @@ export default defineComponent({
|
||||
|
||||
if (generalista) {
|
||||
const catalog = getCatalogoByMyPage.value
|
||||
if (catalog) {
|
||||
if (catalog && !optcatalogo.value.showListaArgomenti) {
|
||||
catalog.data_lista_generata = tools.getDateNow()
|
||||
catalog.username_lista_generata = userStore.my.username
|
||||
await saveCatalog()
|
||||
@@ -1213,9 +1213,9 @@ export default defineComponent({
|
||||
cat.value = tools.getCookie(getKeyCatAtLoad(), '')
|
||||
|
||||
if (getCatalogoByMyPage.value) {
|
||||
tabcatalogo.value = tools.getCookie('TAB_CAT', 'visu')
|
||||
tabcatalogo.value = tools.getCookie('TAB_CAT', 'lista')
|
||||
} else {
|
||||
tabcatalogo.value = 'visu'
|
||||
tabcatalogo.value = 'lista'
|
||||
}
|
||||
|
||||
optrigenera.value.visibilitaDisp = tools.getCookie((showListaArgomenti.value ? 'INC_ES_' : '') + 'VIS_DISP', costanti.DISP.DISPONIBILI)
|
||||
@@ -1273,7 +1273,7 @@ export default defineComponent({
|
||||
});
|
||||
|
||||
function getCatProds() {
|
||||
return [{ label: 'Tutti', value: '', icon: undefined, color: undefined }].concat(
|
||||
return [{ label: '[Seleziona un Argomento]', value: '', icon: undefined, color: undefined }].concat(
|
||||
productStore.getCatProds(cosa.value).map(rec => ({
|
||||
label: `${rec.name} (${productStore.getTotaliProdottiByIdCatProd(rec._id)})`,
|
||||
value: rec._id,
|
||||
|
||||
Reference in New Issue
Block a user