PASSAGGIO A VITE !
AGG. 1.1.23
This commit is contained in:
@@ -1,30 +1,31 @@
|
||||
import { CGridTableRec } from '@/components/CGridTableRec'
|
||||
import { CMyFriends } from '@/components/CMyFriends'
|
||||
import { CMyUser } from '@/components/CMyUser'
|
||||
import { CTitleBanner } from '@/components/CTitleBanner'
|
||||
import { CProfile } from '@/components/CProfile'
|
||||
import { CCheckIfIsLogged } from '@/components/CCheckIfIsLogged'
|
||||
import { CMyFieldRec } from '@/components/CMyFieldRec'
|
||||
import { CCurrencyValue } from '@/components/CCurrencyValue'
|
||||
import { CSaldo } from '@/components/CSaldo'
|
||||
import { CSendCoins } from '@/components/CSendCoins'
|
||||
import { CUserNonVerif } from '@/components/CUserNonVerif'
|
||||
import { CTitleSec } from '@/components/CTitleSec'
|
||||
import { CSkill } from '@/components/CSkill'
|
||||
import { CFinder } from '@/components/CFinder'
|
||||
import { CDateTime } from '@/components/CDateTime'
|
||||
import { tools } from '@store/Modules/tools'
|
||||
import { CGridTableRec } from '@src/components/CGridTableRec'
|
||||
import { CMyFriends } from '@src/components/CMyFriends'
|
||||
import { CMyUser } from '@src/components/CMyUser'
|
||||
import { CTitleBanner } from '@src/components/CTitleBanner'
|
||||
import { CProfile } from '@src/components/CProfile'
|
||||
import { CCheckIfIsLogged } from '@src/components/CCheckIfIsLogged'
|
||||
import { CMyFieldRec } from '@src/components/CMyFieldRec'
|
||||
import { CCurrencyValue } from '@src/components/CCurrencyValue'
|
||||
import { CSaldo } from '@src/components/CSaldo'
|
||||
import { CSendCoins } from '@src/components/CSendCoins'
|
||||
import { CUserNonVerif } from '@src/components/CUserNonVerif'
|
||||
import { CTitleSec } from '@src/components/CTitleSec'
|
||||
import { CSkill } from '@src/components/CSkill'
|
||||
import { CFinder } from '@src/components/CFinder'
|
||||
import { CDateTime } from '@src/components/CDateTime'
|
||||
import { tools } from '@tools'
|
||||
import { computed, defineComponent, onMounted, ref, watch } from 'vue'
|
||||
import { useUserStore } from '@store/UserStore'
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
import { useGlobalStore } from '@store/globalStore'
|
||||
import { useI18n } from '@/boot/i18n'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { toolsext } from '@store/Modules/toolsext'
|
||||
import { useQuasar } from 'quasar'
|
||||
import { CNotifAtTop } from '@src/components/CNotifAtTop'
|
||||
import { costanti } from '@costanti'
|
||||
import { ICity, IFriends, ICircuit, ISearchList, IUserFields, IAccount, IMyGroup } from 'model'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
import type { ICity, IFriends, ICircuit, ISearchList, IAccount, IMyGroup } from 'model';
|
||||
import { IUserFields } from 'model'
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { colmyUserPeople, colmyUserPeopleSaldi, colmyUserCircuit, colmyMovement, colmyMovementTable, colmyUserGroup } from '@store/Modules/fieldsTable'
|
||||
import { useNotifStore } from '@store/NotifStore'
|
||||
import { useCircuitStore } from '@store/CircuitStore'
|
||||
@@ -73,7 +74,7 @@ export default defineComponent({
|
||||
|
||||
const card = ref(<any>{})
|
||||
|
||||
const circuit = ref({} as ICircuit | null)
|
||||
const circuit = ref(<ICircuit | undefined>undefined)
|
||||
const account = ref(<IAccount | null>null)
|
||||
const mystatus = ref(0 as number)
|
||||
const users_in_circuit = ref([] as IFriends[])
|
||||
@@ -177,13 +178,13 @@ export default defineComponent({
|
||||
|
||||
searchList.value = []
|
||||
if (circuit.value) {
|
||||
let addquerysingle = [
|
||||
const addquerysingle = [
|
||||
|
||||
];
|
||||
|
||||
filterextra.value = [{
|
||||
$match: {
|
||||
idapp: process.env.APP_ID,
|
||||
idapp: tools.getEnv('VITE_APP_ID'),
|
||||
'profile.mycircuits': {
|
||||
$elemMatch: { circuitname: { $eq: circuit.value.name } },
|
||||
},
|
||||
@@ -257,7 +258,7 @@ export default defineComponent({
|
||||
|
||||
filterextra_group.value = [{
|
||||
$match: {
|
||||
idapp: process.env.APP_ID,
|
||||
idapp: tools.getEnv('VITE_APP_ID'),
|
||||
'mycircuits': {
|
||||
$elemMatch: { circuitname: { $eq: circuit.value.name } },
|
||||
},
|
||||
@@ -499,7 +500,7 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
function getRegulation(reg: string) {
|
||||
let strreg = reg + ''
|
||||
const strreg = reg + ''
|
||||
if (!reg) {
|
||||
const mystringa = t('circuit.regolamento', { nomecircuito: circuit.value!.name })
|
||||
return mystringa
|
||||
@@ -516,7 +517,7 @@ export default defineComponent({
|
||||
loadSaldo.value = false
|
||||
}
|
||||
|
||||
|
||||
|
||||
onMounted(mounted)
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user