Aggiornamento APP RISO:

 Inviando i RIS, deve comparire prima il Circuito della Provincia, e poi quello Nazionale
 Risolto problema per vecchie registrazioni, la provincia compariva "undefined".
This commit is contained in:
Surya Paolo
2024-06-19 00:21:06 +02:00
parent 2d9c178c1f
commit 49d51712bd
155 changed files with 2510 additions and 5296 deletions

View File

@@ -138,6 +138,7 @@ export const shared_consts = {
MAINVIEW: 130,
CHECKAPPRUNNING: 135,
DASHBOARD: 140,
DASHGROUP: 145,
CSENDRISTO: 150,
STATUSREG: 160,
CHECKIFISLOGGED: 170,
@@ -281,19 +282,23 @@ export const shared_consts = {
TABLES_MYEVENTS: 'myevents',
TABLES_CIRCUITS: 'circuits',
TABLES_MYGROUPS: 'mygroups',
TABLES_ATTIVITAS: 'attivitas',
MYTABS: [{ id: 0, table: 'none' },
{ id: 1, table: 'myskills' },
{ id: 2, table: 'mybachecas' },
{ id: 3, table: 'myhosps' },
{ id: 4, table: 'mygoods' },
{ id: 5, table: 'myevents' }
],
{ id: 5, table: 'myevents' },
{ id: 6, table: 'attivitas' }],
TABLES_ENABLE_GETREC_BYID: ['mybachecas', 'myhosps'],
// Condivise
TABLES_FAVORITE_BOOKMARK: ['myskills', 'mygoods', 'mybachecas', 'myhosps', 'attivitas'],
// Solo per VUE.JS
TABLES_USER_INCLUDE_MY: ['mygroups'],
TABLES_GETCOMPLETEREC: ['myskills', 'mybachecas', 'myhosps', 'mygoods'],
TABLES_INSERT_ALMOST_ONE_TO_ENABLE_CIRCUIT: ['myskills', 'myhosps', 'mygoods'],
TABLES_WITH_FILTER_FIELD: ['caldate'],
TABLES_WITH_SPECIAL_FILTER: ['pub_to_share'],
@@ -302,7 +307,6 @@ export const shared_consts = {
TABLES_WITH_DATE: ['mybachecas', 'myhosps'], // 'mybachecas'
TABLES_WITH_SORTING: ['mybachecas', 'myhosps'],
TABLES_REC_ID: ['skills', 'goods', 'subskills', 'myskills', 'mybachecas', 'myhosps', 'mygoods'],
TABLES_FAVORITE_BOOKMARK: ['myskills', 'mygoods', 'mybachecas', 'myhosps'],
// costanti.VISUTABLE_SCHEDA_USER, VISUTABLE_SCHEDA_GROUP, VISUTABLE_USER_TABGROUP, VISUTABLE_USER_TABCIRCUIT, VISUTABLE_GROUP_CIRCUIT
VERTIC_SHOW_GRID: [-1, 2, -3, -4, -5, -6],
@@ -446,6 +450,38 @@ export const shared_consts = {
}
],
TipoDiAttivita: [
{
value: 0,
label: '[Nessuna]',
note: '',
},
{
value: 1,
label: 'Individuo',
note: 'Artigiano, professionista, insegnante, consulente',
},
{
value: 2,
label: 'Non Profit',
note: 'Associazione, comitato, fondazione, cooperativa',
},
{
value: 3,
label: 'Profit',
note: 'Azienda, société comerciale, banca, ...',
},
{
value: 4,
label: 'Pubblico',
note: 'Comune, regione, ministero, ...',
},
{
value: 5,
label: 'Altro',
},
],
TypeAccom: [
{
value: 1,
@@ -1606,6 +1642,10 @@ export const shared_consts = {
value: 140,
label: 'Dashboard',
},
{
value: 145,
label: 'DashGroup',
},
{
value: 150,
label: 'SendCoinTo',
@@ -1974,6 +2014,31 @@ export const shared_consts = {
groupname: 1,
}
} else if (table === this.TABLES_ATTIVITAS) {
proj = {
recSkill: 1,
sector: 1,
idSector: 1,
idSkill: 1,
idCity: 1,
logo: 1,
photos: 1,
note: 1,
descr: 1,
website: 1,
date_created: 1,
date_updated: 1,
tipodiAttivita: 1,
nome_attivita: 1,
coordinate_gps: 1,
email: 1,
telegram_username: 1,
cell_phone: 1,
whatsapp: 1,
createdBy: 1,
//**ADDFIELD_ATTIVITA
};
} else if (table === this.TABLES_MYBACHECAS) {
proj = {
recSkill: 1,