- Nella Lavagna, cliccando sul nome dell'invitato, compaiono le sue informazioni sugli step rimasti, in dettaglio.

- Ogni utente puo' cosi scegliere di regalare un proprio invitato, cliccando sull'invitato, scrivendo l'username del destinatario e premendo il bottone 'Regala Invitato'.
Al destinatario gli arriverà un messaggio sul Bot Telegram che indica che gli è stato regalato un'invitato.
This commit is contained in:
Paolo Arena
2020-02-02 04:07:24 +01:00
parent 4b54a9ce52
commit 20cd0f2e52
56 changed files with 881 additions and 132 deletions

View File

@@ -127,6 +127,10 @@ export default class Eventlist extends Vue {
return this
}
set mythis(my) {
//
}
get mostra() {
return this.$route.name
}

View File

@@ -4,6 +4,7 @@ import { Component } from 'vue-property-decorator'
import { CGridTableRec } from '@components'
import { CMyPage } from '../../../components/CMyPage/index'
import { fieldsTable } from '@src/store/Modules/fieldsTable'
import { shared_consts } from '@src/common/shared_vuejs'
@Component({
components: { CGridTableRec, CMyPage }
@@ -11,7 +12,24 @@ import { fieldsTable } from '@src/store/Modules/fieldsTable'
export default class ExtraList extends Vue {
public arrfilterand = [
{
label: 'Non Registrati',
value: shared_consts.FILTER_EXTRALIST_NOT_REGISTERED
},
{
label: 'Non Contattati',
value: shared_consts.FILTER_EXTRALIST_NOT_CONTACTED
},
{
label: 'Con Note',
value: shared_consts.FILTER_EXTRALIST_WITH_NOTE
}
]
get db_fieldsTable() {
return fieldsTable
}
}

View File

@@ -5,7 +5,9 @@
:prop_mycolumns="db_fieldsTable.colTableExtraList"
prop_colkey="_id"
nodataLabel="Nessun Utente"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
noresultLabel="Il filtro selezionato non ha trovato nessun risultato"
:arrfilters="arrfilterand"
>
</CGridTableRec>
</CMyPage>

View File

@@ -3,7 +3,8 @@
<CGridTableRec :prop_mytitle="$t('otherpages.admin.tableslist')"
nodataLabel="Nessun Dato"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato"
:tablesList="gettablesList">
:tablesList="gettablesList"
>
</CGridTableRec>
</CMyPage>

View File

@@ -4,12 +4,46 @@ import { Component } from 'vue-property-decorator'
import { CGridTableRec } from '@components'
import { CMyPage } from '../../../components/CMyPage/index'
import { fieldsTable } from '@src/store/Modules/fieldsTable'
import { shared_consts } from '@src/common/shared_vuejs'
import { tools } from '../../../store/Modules/tools'
@Component({
components: { CGridTableRec, CMyPage }
})
export default class UsersList extends Vue {
public arrfilterand = []
public mounted() {
if (tools.appid() === '7')
this.arrfilterand = [
{
label: 'Non hanno visto Zoom',
value: shared_consts.FILTER_USER_NO_ZOOM
},
{
label: 'Non hanno l\'Invitante',
value: shared_consts.FILTER_USER_NO_INVITANTE
},
{
label: 'No Telegram ID',
value: shared_consts.FILTER_USER_NO_TELEGRAM_ID
},
{
label: 'Verifica Telegram interrotta',
value: shared_consts.FILTER_USER_CODICE_AUTH_TELEGRAM
},
{
label: 'Email non Verificata',
value: shared_consts.FILTER_USER_NO_EMAIL_VERIFICATA
},
{
label: 'Non hanno compilato il sogno',
value: shared_consts.FILTER_USER_NO_DREAM
}
]
}
get db_fieldsTable() {
return fieldsTable

View File

@@ -5,7 +5,8 @@
:prop_mycolumns="db_fieldsTable.colTableUsers"
prop_colkey="_id"
nodataLabel="Nessun Utente"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
noresultLabel="Il filtro selezionato non ha trovato nessun risultato"
:arrfilters="arrfilterand">
</CGridTableRec>
</CMyPage>