- nella lista circuiti ora si vedono tutti gli annunci del circuito stesso
This commit is contained in:
@@ -920,7 +920,11 @@ export default defineComponent({
|
||||
obj[myfield] = item.value
|
||||
if (myfield) {
|
||||
if (item.value !== '' && item.value !== costanti.FILTER_TUTTI) {
|
||||
filtersearch3and.push({ "profile.mycircuits.circuitname": item.value.name })
|
||||
let nomecircuito = item.value
|
||||
if (tools.isObject(item.value))
|
||||
nomecircuito = item.value.name
|
||||
|
||||
filtersearch3and.push({ "profile.mycircuits.circuitname": nomecircuito })
|
||||
}
|
||||
}
|
||||
|
||||
@@ -990,7 +994,11 @@ export default defineComponent({
|
||||
});
|
||||
} else if (myitemsingle === shared_consts.FILTER_USER_NO_TELEGRAM_ID) {
|
||||
filtercustom.push({ 'profile.teleg_id': { $lt: 1 } });
|
||||
|
||||
} else if (myitemsingle === shared_consts.FILTER_FACILITATORE) {
|
||||
filtercustom.push({
|
||||
perm: { $bitsAnySet: 0b1000 }
|
||||
})
|
||||
// { 'perm': { $bit: { and: } } });
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
@@ -112,7 +112,10 @@
|
||||
></q-btn>
|
||||
</div>
|
||||
|
||||
<div v-if="!(item.filteradv && !showfilteradv)">
|
||||
<div
|
||||
v-if="!(item.filteradv && !showfilteradv)"
|
||||
v-show="item.visible"
|
||||
>
|
||||
<CMySelect
|
||||
:col="fieldsTable.getColByColumns(mycolumns, item.key)"
|
||||
v-if="
|
||||
@@ -777,6 +780,7 @@
|
||||
item.type === costanti.FieldType.select ||
|
||||
item.type === costanti.FieldType.select_by_server
|
||||
"
|
||||
v-show="item.visible"
|
||||
:label="labelcombo(item)"
|
||||
v-model:value="item.value"
|
||||
@update:value="searchval(item.value, item.table)"
|
||||
@@ -810,6 +814,7 @@
|
||||
|
||||
<CMySelect
|
||||
v-if="item.type === costanti.FieldType.multiselect_by_server"
|
||||
v-show="item.visible"
|
||||
:col="fieldsTable.getColByColumns(mycolumns, item.key)"
|
||||
:multiselect_by_server="true"
|
||||
:label="labelcombo(item)"
|
||||
@@ -836,6 +841,7 @@
|
||||
<q-select
|
||||
:behavior="$q.platform.is.ios === true ? 'dialog' : 'menu'"
|
||||
v-if="item.type === costanti.FieldType.multiselect"
|
||||
v-show="item.visible"
|
||||
v-model="item.arrvalue"
|
||||
label-color="primary"
|
||||
:label="labelcombo(item)"
|
||||
|
||||
Reference in New Issue
Block a user