vedere le Richieste di Fiducia solo se si è verificati Telegram
Corretto il mio account che doveva confermare in automatico... non lo faceva... "Riregistrarsi se l'invitante non ha ancora confermato l'invito. Annullo la richiesta precedente. (inviando un msg di annullamento. (Si è già registrato con un alto invito.)" CMyEditor: non posso andare in edit sul HTML (nella table) Aggiornare il msg di benvenuto ! (prendere da msgtemplate) Dal Profilo: è possibile inviarsi il messaggio da condividere agli Amici Visualizzare la data d'inserimento dell'annuncio e l'ultima modifica fatta Link alla pagina di un Evento o Bene o Servizio ! Se aggiornamento: mettere messaggio che dice di chiudere e riaprire per aggiornare. Quando un utente chiede di entrare nel Gruppo, mettere l'abilitazione anche su Telegram. (e correggere il msg)
This commit is contained in:
@@ -128,11 +128,11 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
function extraparams() {
|
||||
let lk_tab = ''
|
||||
let lk_LF = ''
|
||||
let lk_FF = ''
|
||||
let lk_as = ''
|
||||
let af_objId_tab = ''
|
||||
let lk_tab = 'users'
|
||||
let lk_LF = 'userId'
|
||||
let lk_FF = '_id'
|
||||
let lk_as = 'user'
|
||||
let af_objId_tab = 'myId'
|
||||
|
||||
return {
|
||||
lookup1: {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<CMyPage title="Pagina:"
|
||||
<CMyPage title="Evento"
|
||||
imgbackground="images/calendario_eventi.jpg"
|
||||
sizes="max-height: 120px" styleadd="bottom: -20px !important;">
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
<CMyCardPopup
|
||||
v-if="!!idBacheca"
|
||||
:table="toolsext.TABMYBACHECAS"
|
||||
:nopopup="true"
|
||||
:idRec="idBacheca">
|
||||
|
||||
</CMyCardPopup>
|
||||
|
||||
18
src/views/user/mypagegood/mypagegood.scss
Executable file
18
src/views/user/mypagegood/mypagegood.scss
Executable file
@@ -0,0 +1,18 @@
|
||||
.profile {
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
max-width: 450px;
|
||||
}
|
||||
|
||||
.myrow{
|
||||
display: flex;
|
||||
@media (max-width: 600px) {
|
||||
flex-flow: column;
|
||||
}
|
||||
}
|
||||
|
||||
.qualifica{
|
||||
border: solid 2px #4198ef;
|
||||
border-radius: 1rem;
|
||||
padding: 5px;
|
||||
}
|
||||
31
src/views/user/mypagegood/mypagegood.ts
Executable file
31
src/views/user/mypagegood/mypagegood.ts
Executable file
@@ -0,0 +1,31 @@
|
||||
import { computed, defineComponent, onMounted, ref, watch } from 'vue'
|
||||
import { useUserStore } from '@store/UserStore'
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
import { useI18n } from '@/boot/i18n'
|
||||
import { useQuasar } from 'quasar'
|
||||
import { CMyCardPopup } from '@/components/CMyCardPopup'
|
||||
import { CMyPage } from '@/components/CMyPage'
|
||||
import { CCheckIfIsLogged } from '@/components/CCheckIfIsLogged'
|
||||
import { toolsext } from '@store/Modules/toolsext'
|
||||
import { tools } from '@store/Modules/tools'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'mypagegood',
|
||||
components: { CMyCardPopup, CMyPage, CCheckIfIsLogged },
|
||||
props: {},
|
||||
setup() {
|
||||
const userStore = useUserStore()
|
||||
const $route = useRoute()
|
||||
const $q = useQuasar()
|
||||
const { t } = useI18n()
|
||||
|
||||
const idGood = computed(() => $route.params.idGood ? $route.params.idGood.toString() : 0)
|
||||
|
||||
return {
|
||||
t,
|
||||
idGood,
|
||||
toolsext,
|
||||
tools,
|
||||
}
|
||||
}
|
||||
})
|
||||
30
src/views/user/mypagegood/mypagegood.vue
Executable file
30
src/views/user/mypagegood/mypagegood.vue
Executable file
@@ -0,0 +1,30 @@
|
||||
<template>
|
||||
<CMyPage title="Bene"
|
||||
imgbackground="images/calendario_eventi.jpg"
|
||||
sizes="max-height: 120px" styleadd="bottom: -20px !important;">
|
||||
|
||||
<div v-if="!tools.isLogged()">
|
||||
<CCheckIfIsLogged></CCheckIfIsLogged>
|
||||
</div>
|
||||
|
||||
<CMyCardPopup
|
||||
v-if="!!idGood"
|
||||
:table="toolsext.TABMYGOODS"
|
||||
:nopopup="true"
|
||||
:idRec="idGood">
|
||||
|
||||
</CMyCardPopup>
|
||||
|
||||
<br>
|
||||
<br>
|
||||
|
||||
</CMyPage>
|
||||
</template>
|
||||
|
||||
<script lang="ts" src="./mypagegood.ts">
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import './mypagegood.scss';
|
||||
</style>
|
||||
|
||||
@@ -122,12 +122,19 @@
|
||||
:href="getLinkWebSite()" target="__blank">
|
||||
</q-btn>
|
||||
</div>
|
||||
|
||||
<CCopyBtn v-if="myuser.username === myusername()" :title="$t('reg.link_reg')"
|
||||
:texttocopy="getRefLink(username)">
|
||||
|
||||
</CCopyBtn>
|
||||
|
||||
</div>
|
||||
<div class="myrow justify-evenly items-center q-pa-sm q-ma-sm">
|
||||
<div v-if="myuser._id" class="col-12">
|
||||
<q-btn
|
||||
v-if="myuser.username === myusername()"
|
||||
icon="fas fa-share-alt"
|
||||
color="blue"
|
||||
size="md"
|
||||
rounded
|
||||
:label="$t('reg.link_reg_and_msg')"
|
||||
@click="tools.sendMsgTelegramCmd($q, $t, shared_consts.MsgTeleg.SHARE_MSGREG)">
|
||||
</q-btn>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div v-else class="fit column no-wrap justify-evenly items-center content-start">
|
||||
|
||||
@@ -3,6 +3,7 @@ import { CTitleBanner } from '@/components/CTitleBanner'
|
||||
import { CProfile } from '@/components/CProfile'
|
||||
import { CDateTime } from '@/components/CDateTime'
|
||||
import { CMyPage } from '@/components/CMyPage'
|
||||
import { CMyCardPopup } from '@/components/CMyCardPopup'
|
||||
import { CCheckIfIsLogged } from '@/components/CCheckIfIsLogged'
|
||||
import { CSkill } from '@/components/CSkill'
|
||||
import { tools } from '@store/Modules/tools'
|
||||
@@ -23,7 +24,7 @@ import { colCitys } from '@store/Modules/fieldsTable'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'myservice',
|
||||
components: { CProfile, CTitleBanner, CMyFieldDb, CSkill, CDateTime, CMyPage, CCheckIfIsLogged },
|
||||
components: { CProfile, CTitleBanner, CMyFieldDb, CSkill, CDateTime, CMyPage, CCheckIfIsLogged, CMyCardPopup },
|
||||
props: {},
|
||||
setup() {
|
||||
const userStore = useUserStore()
|
||||
@@ -43,7 +44,7 @@ export default defineComponent({
|
||||
|
||||
const myskill = ref(<IMySkill>{})
|
||||
|
||||
const username = computed(() => (myskill.value && myskill.value.username) ? myskill.value.username : 'Pagina')
|
||||
const username = computed(() => (myskill.value && myskill.value.username) ? myskill.value.username : 'Servizio')
|
||||
|
||||
function profile() {
|
||||
return userStore.my.profile
|
||||
@@ -56,6 +57,7 @@ export default defineComponent({
|
||||
function loadSkill() {
|
||||
// Carica il profilo di quest'utente
|
||||
if (idSkill.value) {
|
||||
/*
|
||||
userStore.loadSkill(idSkill.value).then((ris) => {
|
||||
myskill.value = ris
|
||||
if (ris.userId) {
|
||||
@@ -63,7 +65,7 @@ export default defineComponent({
|
||||
|
||||
}
|
||||
})
|
||||
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
@@ -88,6 +90,7 @@ export default defineComponent({
|
||||
tools,
|
||||
costanti,
|
||||
myskill,
|
||||
toolsext,
|
||||
shared_consts,
|
||||
checkifShow,
|
||||
globalStore,
|
||||
@@ -101,6 +104,7 @@ export default defineComponent({
|
||||
colCitys,
|
||||
table,
|
||||
username,
|
||||
idSkill,
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
@@ -6,7 +6,17 @@
|
||||
<div v-if="!tools.isLogged()">
|
||||
<CCheckIfIsLogged></CCheckIfIsLogged>
|
||||
</div>
|
||||
<div v-else>
|
||||
<CMyCardPopup
|
||||
v-if="!!idSkill"
|
||||
:table="toolsext.TABMYSKILLS"
|
||||
:nopopup="true"
|
||||
:idRec="idSkill">
|
||||
|
||||
</CMyCardPopup>
|
||||
</div>
|
||||
|
||||
<!--
|
||||
<div class="q-ma-sm q-gutter-sm q-pa-xs">
|
||||
<div v-if="!!myskill.note" v-html="myskill.note"></div>
|
||||
|
||||
@@ -27,20 +37,8 @@
|
||||
</CSkill>
|
||||
</div>
|
||||
|
||||
<!--
|
||||
<div class="row justify-evenly q-mt-md">
|
||||
<q-btn
|
||||
type="a" rounded size="md"
|
||||
color="white" text-color="blue" :icon="`img:`+userStore.getImgByUsername(myskill.username)"
|
||||
:to="'/my/'+myskill.username"
|
||||
:label="myskill.username"
|
||||
>
|
||||
</q-btn>
|
||||
|
||||
</div>
|
||||
-->
|
||||
|
||||
</div>
|
||||
-->
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user