- Find Friends by Region or Province

This commit is contained in:
Surya Paolo
2023-03-22 22:45:00 +01:00
parent 396028748d
commit 9745133e81
8 changed files with 40 additions and 12 deletions

View File

@@ -76,6 +76,23 @@ export default defineComponent({
let af_objId_tab = 'myId'
return {
lookup1: {
lk_tab: 'provinces',
lk_LF: 'profile.resid_province',
lk_FF: 'prov',
lk_as: 'mycities',
lk_proj: {
username: 1,
name: 1,
surname: 1,
'profile.img': 1,
'profile.mygroups': 1,
'profile.qualifica': 1,
'profile.resid_province': 1,
'mycities.reg': 1,
}
},
}
}

View File

@@ -14,11 +14,7 @@
</q-banner>
-->
<CMyFriends
v-if="searchList.length > 0"
v-model="filter"
:finder="true"
>
<CMyFriends v-if="searchList.length > 0" v-model="filter" :finder="true">
<CGridTableRec
prop_mytable="users"
prop_mytitle=""
@@ -40,8 +36,8 @@
:prop_searchList="searchList"
:showType="costanti.SHOW_USERINFO"
:showCol="false"
:extraparams="extraparams()">
:extraparams="extraparams()"
>
</CGridTableRec>
</CMyFriends>
</div>

View File

@@ -189,6 +189,7 @@ export default defineComponent({
quanteHandShakeInCommon,
usersList,
handshake_inCommon,
globalStore,
}
}
})

View File

@@ -657,6 +657,13 @@
"
label="Cellulare"
/>
<CLabel
v-if="!!userStore.userprofile.profile.resid_province"
v-bind="$attrs"
:copy="true"
:value="globalStore.getProvinceByProv(userStore.userprofile.profile.resid_province)"
label="Provincia"
/>
<!--
<CMyFieldRec