Nuovo Sistema di registrazione:
tramite il BOT, viene memorizzato l'username telegram e si usa quello come username per la APP, e l'ID telegram viene passato direttamente, senza chiedere la verifica. - ospitalità (inizio).
This commit is contained in:
0
src/root/hosp/hosp.scss
Executable file
0
src/root/hosp/hosp.scss
Executable file
36
src/root/hosp/hosp.ts
Executable file
36
src/root/hosp/hosp.ts
Executable file
@@ -0,0 +1,36 @@
|
||||
import {
|
||||
defineComponent, ref, computed,
|
||||
} from 'vue'
|
||||
|
||||
import { tools } from '@src/store/Modules/tools'
|
||||
import { toolsext } from '@src/store/Modules/toolsext'
|
||||
import { CSkill } from '@/components/CSkill'
|
||||
import { CFinder } from '@/components/CFinder'
|
||||
import { Footer } from '@/components/Footer'
|
||||
import { CDashboard } from '@/components/CDashboard'
|
||||
import { CChartMap } from '@src/components/CChartMap'
|
||||
import { CUserNonVerif } from '@/components/CUserNonVerif'
|
||||
import { CTitlePage } from '@/components/CTitlePage'
|
||||
import { CMapsEsempio } from '@src/components/CMapsEsempio'
|
||||
import { CVerifyEmail } from '@src/components/CVerifyEmail'
|
||||
import { CVerifyTelegram } from '@src/components/CVerifyTelegram'
|
||||
import { useGlobalStore } from '@store/globalStore'
|
||||
import { useUserStore } from '@store/UserStore'
|
||||
import { static_data } from '@/db/static_data'
|
||||
import MixinBase from '@/mixins/mixin-base'
|
||||
import MixinUsers from '@/mixins/mixin-users'
|
||||
|
||||
import { colmyHosp } from '@store/Modules/fieldsTable'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'hosp',
|
||||
components: { CSkill, CChartMap, CMapsEsempio, CFinder, CVerifyEmail, CVerifyTelegram, CDashboard, CUserNonVerif, CTitlePage, Footer },
|
||||
setup() {
|
||||
return {
|
||||
colmyHosp,
|
||||
tools,
|
||||
toolsext,
|
||||
static_data,
|
||||
}
|
||||
},
|
||||
})
|
||||
32
src/root/hosp/hosp.vue
Executable file
32
src/root/hosp/hosp.vue
Executable file
@@ -0,0 +1,32 @@
|
||||
<template>
|
||||
<q-page class="">
|
||||
|
||||
<div v-if="tools.isLogged()">
|
||||
|
||||
<div v-if="tools.isUserOk()">
|
||||
<CTitlePage :ind="2" />
|
||||
|
||||
<CFinder
|
||||
:ind="2"
|
||||
:table="toolsext.TABMYHOSPS">
|
||||
|
||||
</CFinder>
|
||||
|
||||
<CDashboard></CDashboard>
|
||||
|
||||
</div>
|
||||
<div v-else>
|
||||
<CUserNonVerif></CUserNonVerif>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<Footer></Footer>
|
||||
</q-page>
|
||||
|
||||
</template>
|
||||
<script lang="ts" src="./hosp.ts">
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
@import './hosp.scss';
|
||||
</style>
|
||||
Reference in New Issue
Block a user