Members, Circuits

This commit is contained in:
Paolo Arena
2022-10-21 21:25:54 +02:00
parent 9d40649af3
commit 6c306b36f3
73 changed files with 4424 additions and 93 deletions

View File

@@ -12,6 +12,7 @@ import { useRoute, useRouter } from 'vue-router'
import { CUserNonVerif } from '@/components/CUserNonVerif'
import { CSaldo } from '@/components/CSaldo'
import { toolsext } from '@store/Modules/toolsext'
import { useGlobalStore } from '@store/globalStore'
export default defineComponent({
name: 'CMyCircuit',
@@ -43,6 +44,8 @@ export default defineComponent({
const $router = useRouter()
const $route = useRoute()
const globalStore = useGlobalStore()
const circuit = ref(<ICircuit | null>null)
const account = computed(() => circuit.value ? userStore.getAccountByCircuitId(circuit.value._id) : null )
@@ -51,6 +54,8 @@ export default defineComponent({
const table = ref(toolsext.TABCIRCUITS)
const showingtooltip = ref(false)
watch(() => props.mycircuit, (newval, oldval) => {
mounted()
})
@@ -101,6 +106,8 @@ export default defineComponent({
account,
qtarem,
saldo,
globalStore,
showingtooltip,
}
},
})