- fix: ris da inviare al gruppo (nuovamente) e immagini rimaste ancora "images/" anzichè "/images/".

This commit is contained in:
Surya Paolo
2025-03-13 18:58:17 +01:00
parent f5b0e693d0
commit 0f8721b144
72 changed files with 1288 additions and 3708 deletions

View File

@@ -2,12 +2,13 @@ import type { IColGridTable } from '@model'
import { useUserStore } from '@store/UserStore'
import { lists } from './lists'
import { costanti } from './costanti'
import { tools } from '@tools'
import { useGlobalStore } from '@store/globalStore'
import { toolsext } from '@store/Modules/toolsext'
import { static_data } from '@src/db/static_data'
import { shared_consts } from '@src/common/shared_vuejs'
function getTabSector() {
return 'sectors'
}
const DeleteRec = {
name: 'deleterec',
label_trans: 'reg.elimina',
@@ -763,7 +764,7 @@ export const colSectors = [
name: 'idSector',
label_trans: 'sectors.name',
fieldtype: costanti.FieldType.select,
jointable: toolsext.TABSECTORS,
jointable: getTabSector(),
}),
AddCol({ name: 'main', label_trans: 'store.main', fieldtype: costanti.FieldType.boolean }),
AddCol({ name: 'color', label_trans: 'products.color' }),
@@ -893,7 +894,7 @@ export const colSkills = [
name: 'idSector',
label_trans: 'sectors.name',
fieldtype: costanti.FieldType.multiselect,
jointable: toolsext.TABSECTORS,
jointable: getTabSector(),
}),
AddCol({ name: 'color', label_trans: 'products.color' }),
AddCol({ name: 'theme', label_trans: 'products.theme' }),
@@ -1447,7 +1448,7 @@ export const colAttivita = [
label_trans: 'attivita.tipodiattivita',
fieldtype: costanti.FieldType.select,
required: true,
jointable: toolsext.TABTIPODIATTIVITA,
jointable: 'tipodiattivitas', //toolsext.TABTIPODIATTIVITA,
icon: 'fas fa-balance-scale',
// noshowlabel: true,
// numpag_carousel: 1,
@@ -1466,7 +1467,7 @@ export const colAttivita = [
label_trans: 'sectors.name',
fieldtype: costanti.FieldType.select,
required: true,
jointable: toolsext.TABSECTORS,
jointable: getTabSector(),
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist,
visible: true,
icon: 'category',
@@ -1478,7 +1479,7 @@ export const colAttivita = [
fieldtype: costanti.FieldType.select,
jointable: 'skills',
addnone: true,
filter_table: toolsext.TABSECTORS,
filter_table: getTabSector(),
filter_field: 'idSector',
noshowlabel: true,
icon: 'engineering',
@@ -1678,7 +1679,7 @@ export const colmySkills = [
label_trans: 'sectors.name',
fieldtype: costanti.FieldType.select,
required: true,
jointable: toolsext.TABSECTORS,
jointable: getTabSector(),
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist,
visible: true,
icon: 'category',
@@ -1689,7 +1690,7 @@ export const colmySkills = [
label_trans: 'skill.name',
fieldtype: costanti.FieldType.select,
jointable: 'skills',
filter_table: toolsext.TABSECTORS,
filter_table: getTabSector(),
filter_field: 'idSector',
noshowlabel: true,
addnone: true,
@@ -1820,7 +1821,7 @@ export const colmyHosp = [
label_trans: 'hosps.typeHosp',
fieldtype: costanti.FieldType.select,
required: true,
jointable: toolsext.TABTYPEHOSP,
jointable: 'typehosps', // toolsext.TABTYPEHOSP,
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist,
visible: true,
icon: 'category',
@@ -1832,7 +1833,7 @@ export const colmyHosp = [
label_trans: 'hosps.numMaxPeopleHosp',
fieldtype: costanti.FieldType.select,
required: true,
jointable: toolsext.TABPEOPLE,
jointable: 'people', //toolsext.TABPEOPLE,
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist,
visible: true,
icon: 'category',
@@ -1851,7 +1852,7 @@ export const colmyHosp = [
name: 'preferences',
label_trans: 'hosps.preferences',
fieldtype: costanti.FieldType.multiselect,
jointable: toolsext.TABPREF,
jointable: 'hosps_preferences', //'hosps_preferences',
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist,
noshowlabel: true,
icon: 'fas fa-asterisk',
@@ -2043,7 +2044,7 @@ export const colmyBachecas = [
label_trans: 'sectors.name',
fieldtype: costanti.FieldType.select,
required: true,
jointable: toolsext.TABSECTORS,
jointable: getTabSector(),
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist,
visible: true,
icon: 'category',
@@ -2055,7 +2056,7 @@ export const colmyBachecas = [
fieldtype: costanti.FieldType.select,
jointable: 'skills',
addnone: true,
filter_table: toolsext.TABSECTORS,
filter_table: getTabSector(),
filter_field: 'idSector',
noshowlabel: true,
icon: 'engineering',
@@ -4607,7 +4608,7 @@ export const fieldsTable = {
noshow: true,
},
{
value: toolsext.TABTYPECASH,
value: 'typecash', // toolsext.TABTYPECASH,
label: 'Ingresso/Uscita',
columns: colTableGeneric,
colkey: 'value',
@@ -4734,7 +4735,7 @@ export const fieldsTable = {
noshow: true,
},
{
value: toolsext.TABTIPODIATTIVITA,
value: 'tipodiattivitas', //toolsext.TABTIPODIATTIVITA,
label: 'Tipo di Attivita',
columns: colTableTipoDiAttivita,
colkey: 'value',
@@ -4785,7 +4786,7 @@ export const fieldsTable = {
collabel: (rec: any) => `${rec.descr}`,
},
{
value: toolsext.TABMYHOSPS,
value: 'myhosps', // toolsext.TABMYHOSPS,
label: 'Ospitalità',
columns: colmyHosp,
colkey: '_id',
@@ -4806,7 +4807,7 @@ export const fieldsTable = {
collabel: (rec: any) => `${rec.name}`,
},
{
value: toolsext.TABATTIVITA,
value: 'attivita', //toolsext.TABATTIVITA,
label: 'Attivita',
columns: colAttivita,
colkey: '_id',
@@ -4827,7 +4828,7 @@ export const fieldsTable = {
collabel: 'descr',
},
{
value: toolsext.TABCALDATE,
value: 'caldate', // toolsext.TABCALDATE,
label: 'Date',
columns: colCalDate,
colkey: '_id',
@@ -4835,7 +4836,7 @@ export const fieldsTable = {
noshow: true,
},
{
value: toolsext.TABCALALLDATE,
value: 'calalldate', //toolsext.TABCALALLDATE,
label: 'Date',
columns: colCalDate,
colkey: '_id',
@@ -4859,7 +4860,7 @@ export const fieldsTable = {
collabel: 'descr',
},
{
value: toolsext.TABSECTORS,
value: getTabSector(),
label: 'Settori',
columns: colSectors,
colkey: '_id',
@@ -5004,7 +5005,7 @@ export const fieldsTable = {
collabel: 'label',
},
{
value: toolsext.TABTYPEHOSP,
value: 'typehosps', // toolsext.TABTYPEHOSP,
label: 'Tipo Ospitalità',
columns: colTableGeneric,
colkey: 'value',
@@ -5013,7 +5014,7 @@ export const fieldsTable = {
noshow: true,
},
{
value: toolsext.TABPEOPLE,
value: 'people', // toolsext.TABPEOPLE,
label: 'Persone',
columns: colTableGeneric,
colkey: 'value',
@@ -5022,7 +5023,7 @@ export const fieldsTable = {
noshow: true,
},
{
value: toolsext.TABTYPEACCOM,
value: 'typeaccoms', //toolsext.TABTYPEACCOM,
label: 'Tipo di Accomodazione',
columns: colTableGeneric,
colkey: 'value',
@@ -5031,7 +5032,7 @@ export const fieldsTable = {
noshow: true,
},
{
value: toolsext.TABLOCACCOM,
value: 'locaccoms', // toolsext.TABLOCACCOM,
label: 'Locazione',
columns: colTableGeneric,
colkey: 'value',
@@ -5040,7 +5041,7 @@ export const fieldsTable = {
noshow: true,
},
{
value: toolsext.TABPREF,
value: 'hosps_preferences',
label: 'Preferenze',
columns: colTableGeneric,
colkey: 'value',
@@ -5049,7 +5050,7 @@ export const fieldsTable = {
noshow: true,
},
{
value: toolsext.TABUNITS,
value: 'units',
label: 'Unità di Misura',
columns: colTableGeneric,
colkey: 'value',