- Aggiungere numero di persone registrate, e num di competenze, e numGruppi

This commit is contained in:
paoloar77
2022-02-11 01:07:46 +01:00
parent c63ed7e6d3
commit 7c0c2fef39
14 changed files with 344 additions and 106 deletions

View File

@@ -0,0 +1,30 @@
import { computed, defineComponent, PropType, ref } from 'vue'
import { ICalcStat, IOperators } from '../../model'
import { useUserStore } from '../../store/UserStore'
import { useRouter } from 'vue-router'
import { useGlobalStore } from '../../store/globalStore'
import { useI18n } from '../../boot/i18n'
import { tools } from '@store/Modules/tools'
export default defineComponent({
name: 'CDashboard',
props: {
},
setup(props) {
const userStore = useUserStore()
const $router = useRouter()
const globalStore = useGlobalStore()
const { t } = useI18n();
const calcstat = computed(() => userStore.my.calcstat ? userStore.my.calcstat : {numUsersReg: 0, numMySkills: 0} )
return {
userStore,
tools,
calcstat
}
},
})