Group Page : visibility, some info, members views.
This commit is contained in:
@@ -61,6 +61,7 @@ export default defineComponent({
|
||||
const col_tabfooter = ref('mycities')
|
||||
|
||||
const strextra = ref('')
|
||||
const myoptions = ref(<any>[])
|
||||
|
||||
|
||||
const col = ref(<IColGridTable>{})
|
||||
@@ -195,6 +196,20 @@ export default defineComponent({
|
||||
col_footer.value = obj.col_footer
|
||||
col_tabfooter.value = obj.col_tabfooter
|
||||
|
||||
if (props.table === toolsext.TABMYGROUPS) {
|
||||
myoptions.value = [
|
||||
{ label: '🌎 Tutti', value: tools.FILTER_ALL },
|
||||
{ label: '👤 Gruppi che Gestisci', value: tools.FILTER_MYREC },
|
||||
// {label: 'Seguo', value: tools.FILTER_MYFOLLOW},
|
||||
]
|
||||
|
||||
} else {
|
||||
myoptions.value = [
|
||||
{ label: '🌎 Tutti', value: tools.FILTER_ALL },
|
||||
{ label: '👤 Personali', value: tools.FILTER_MYREC },
|
||||
// {label: 'Seguo', value: tools.FILTER_MYFOLLOW},
|
||||
]
|
||||
}
|
||||
|
||||
function getFilterSkills(recSkill: any, index: number, arr: any) {
|
||||
const recsectors: any = searchList.value.find((rec) => rec.table === toolsext.TABSECTORS)
|
||||
@@ -843,7 +858,7 @@ export default defineComponent({
|
||||
},
|
||||
{
|
||||
label: 'Visiblità',
|
||||
table: 'visibility',
|
||||
table: 'visibilGroup',
|
||||
key: 'visibility',
|
||||
type: costanti.FieldType.multiselect,
|
||||
value: tools.getCookie(tools.COOK_SEARCH + 'visibility', costanti.FILTER_TUTTI),
|
||||
@@ -1257,6 +1272,7 @@ export default defineComponent({
|
||||
visuType,
|
||||
hint,
|
||||
strextra,
|
||||
myoptions,
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user