- CMyPopupEdit

- CMyEditor
 - MySkills
This commit is contained in:
Paolo Arena
2021-10-28 00:37:48 +02:00
parent 48128235f8
commit 57cda99f9c
66 changed files with 4831 additions and 247 deletions

View File

@@ -347,6 +347,19 @@ export const colmySkills = [
fieldtype: costanti.FieldType.multiselect,
jointable: 'statusSkills',
}),
AddCol({
name: 'idCity',
label_trans: 'skill.city',
fieldtype: costanti.FieldType.multiselect,
jointable: 'cities',
}),
AddCol({
name: 'photos',
label_trans: 'skill.photos',
fieldtype: costanti.FieldType.listimages,
jointable: '',
}),
AddCol({ name: 'subTitle', label_trans: 'event.title' }),
AddCol({ name: 'note', label_trans: 'proj.longdescr', fieldtype: costanti.FieldType.html }),
AddCol(DeleteRec),
AddCol(DuplicateRec),
@@ -760,6 +773,11 @@ export const fieldsTable = {
if (myrec) return myrec.label
return ''
},
getTitleImgByTable(mytable: string): string {
const myrec = this.getrecTableList(mytable)
if (myrec) return myrec.label
return ''
},
getIconByTable(mytable: string): string {
const myrec: any = this.getrecTableList(mytable)
if (myrec) return ((myrec.icon) ? myrec.icon : '')
@@ -1102,9 +1120,8 @@ export const fieldsTable = {
label_trans: 'reg.consiglio',
fieldtype: costanti.FieldType.boolean,
}),
AddCol({
name: 'profile.motivazioni', field: 'profile', subfield: 'motivazioni', label_trans: 'reg.motivazioni',
}),
AddCol({ name: 'profile.motivazioni', field: 'profile', subfield: 'motivazioni', label_trans: 'reg.motivazioni', }),
AddCol({ name: 'profile.biografia', field: 'profile', subfield: 'biografia', label_trans: 'reg.biografia', }),
AddCol({
name: 'profile.competenze_professionalita',
field: 'profile',
@@ -1216,6 +1233,10 @@ export const fieldsTable = {
AddCol({ name: 'notes', label_trans: 'reg.note' }),
],
tableForUsers: [
'myskills'
],
tablesList: [
{
value: 'operators',
@@ -1454,7 +1475,7 @@ export const fieldsTable = {
collabel: 'descr',
},
{
value: 'citys',
value: 'cities',
label: 'Città',
columns: colCitys,
colkey: '_id',