- Cataloghi
- Import ed Export Pagine - ObjectID sostituita con ObjectId
This commit is contained in:
@@ -1368,7 +1368,7 @@ export const colAttivita = [
|
||||
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit + costanti.showWhen.InView,
|
||||
}),
|
||||
AddCol({
|
||||
name: 'date_publishing', label_trans: 'products.date_publishing',
|
||||
name: 'date_pub', label_trans: 'products.date_pub',
|
||||
fieldtype: costanti.FieldType.onlydate,
|
||||
foredit: false,
|
||||
noshowlabel: true,
|
||||
@@ -2338,7 +2338,7 @@ export const colTableProductInfos = [
|
||||
AddCol({ name: 'valori_nutrizionali', label_trans: 'products.valori_nutrizionali', fieldtype: costanti.FieldType.html }),
|
||||
AddCol({ name: 'author', label_trans: 'products.author', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'collezione', label_trans: 'products.collezione', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'date_publishing', label_trans: 'products.date_publishing', fieldtype: costanti.FieldType.onlydate }),
|
||||
AddCol({ name: 'date_pub', label_trans: 'products.date_pub', fieldtype: costanti.FieldType.onlydate }),
|
||||
AddCol({ name: 'publisher', label_trans: 'products.publisher', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'pagine', label_trans: 'products.pagine', fieldtype: costanti.FieldType.number }),
|
||||
AddCol({ name: 'note', label_trans: 'products.note', fieldtype: costanti.FieldType.html }),
|
||||
|
||||
@@ -115,6 +115,7 @@ export const tools = {
|
||||
IDAPP_CNM: '10',
|
||||
IDAPP_FREEPLANET: '1',
|
||||
IDAPP_RISO: '13',
|
||||
IDAPP_PCB: '17',
|
||||
IDAPP_MACRO: '18',
|
||||
|
||||
TipoMsg: {
|
||||
@@ -8035,7 +8036,7 @@ export const tools = {
|
||||
} catch (e) {
|
||||
console.error('err getDirectoryGall', e)
|
||||
}
|
||||
console.log('getDirectoryGall', ris, 'mypath', path, 'myrow', myrow)
|
||||
// console.log('getDirectoryGall', ris, 'mypath', path, 'myrow', myrow)
|
||||
return ris
|
||||
},
|
||||
|
||||
|
||||
@@ -1278,10 +1278,10 @@ export const useProducts = defineStore('Products', {
|
||||
const maxDescriptionLength = testo.maxlength ?? 100;
|
||||
const description = myproduct.productInfo.short_descr || '';
|
||||
const long_descr = myproduct.productInfo.description || '';
|
||||
const date_pub = tools.getstrDateShort(myproduct.productInfo.date_publishing) || '';
|
||||
const date_pub = tools.getstrDateShort(myproduct.productInfo.date_pub) || '';
|
||||
const ranking_globale = myproduct.productInfo.rank1Y! || 0;
|
||||
const ranking = myproduct.indiceRanking! || 0;
|
||||
const venduti = myproduct.productInfo.totaleVenduti! || 0;
|
||||
const venduti = myproduct.productInfo.totVen! || 0;
|
||||
|
||||
const linkvenduti = '<a href="http://vps-88271abb.vps.ovh.net/apimacro/public/view-ordini-by-idarticolo/' + myproduct.productInfo.sku + '" target="_blank">'+venduti+'</a>'
|
||||
const debugstr = " Rank=" + ranking + "<br> 1Y=" + (myproduct.productInfo.rank1Y! || '') + '<br> Venduti=' + linkvenduti + '<br> Data Pubb=' + date_pub
|
||||
|
||||
@@ -638,8 +638,8 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
materialIcon: 'home',
|
||||
name: 'otherpages.sito_offline',
|
||||
component: () => import('@src/rootgen/sito_offline/sito_offline.vue'),
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
}
|
||||
|
||||
// console.log('Sito Online? ', toolsext.sito_online(false))
|
||||
@@ -647,7 +647,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
if (!toolsext.sito_online(false)) {
|
||||
static_data.routes = [sito_offline, last]
|
||||
} else {
|
||||
static_data.routes = [...baseroutes, ...ecommRoutes, ...adminRoutes, ...arrpagesroute, ...AIRoutes, last]
|
||||
static_data.routes = [sito_offline, ...baseroutes, ...ecommRoutes, ...adminRoutes, ...arrpagesroute, ...AIRoutes, last]
|
||||
}
|
||||
|
||||
/*for (const menu of static_data.routes) {
|
||||
|
||||
Reference in New Issue
Block a user