- Aggiornato grafica Pagina Gruppi

- Lista Utenti appartenenti al gruppo
- Lista richieste gruppo
- Nome e Cognome tolti
This commit is contained in:
paoloar77
2022-02-08 23:06:22 +01:00
parent 980ff4b48e
commit a2f7f7a8d2
97 changed files with 1141 additions and 441 deletions

View File

@@ -21,7 +21,7 @@ export default defineComponent({
required: false,
},
optlab: {
type: String,
type: [String, Function],
required: true,
},
optval: {
@@ -111,7 +111,7 @@ export default defineComponent({
if (mydata.label)
mydata.label = mydata.label[0]
} else {
mydata.label = rec[props.optlab]
mydata.label = tools.getValueByFunzOrVal(rec, props.optlab)
}
// console.log('mydata.label', mydata.label)
@@ -141,7 +141,7 @@ export default defineComponent({
if (mydata.label)
mydata.label = mydata.label[0]
} else {
mydata.label = rec[props.optlab]
mydata.label = tools.getValueByFunzOrVal(rec, props.optlab)
}
if (props.opticon)
@@ -155,7 +155,7 @@ export default defineComponent({
} else {
if (tools.isBitActive(myval.value, rec[props.optval])) {
const mydata = {
label: t(rec[props.optlab]),
label: t(tools.getValueByFunzOrVal(rec, props.optlab)),
value: rec[props.optval],
valbool: tools.isBitActive(myval.value, rec[props.optval]),
icon: '',