- invita amico

This commit is contained in:
Surya Paolo
2025-11-19 10:09:45 +01:00
parent 05dc22dac6
commit 05a3617103
10 changed files with 1496 additions and 1211 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -62,9 +62,13 @@ export default defineComponent({
const tabevents = ref('new');
const circuitSel = ref('');
const spinner_visible = ref(false)
const showrules = ref(false);
const sendRIS = computed(() => ($route.query.sr ? $route.query.sr : ''));
const causalDest = computed(() => ($route.query.cd ? $route.query.cd : ''));
const requestToEnterCircuit = ref(false);
const mycards = computed(() => {
@@ -183,6 +187,9 @@ export default defineComponent({
async function mounted() {
loading.value = true;
if (sendRIS.value) spinner_visible.value = true;
await loadGroup();
searchList.value = [];
@@ -299,7 +306,7 @@ export default defineComponent({
function getRegulation(reg: string) {
const strreg = reg + '';
if (!reg) {
let name = CircuitSel.value
let name = CircuitSel.value;
const mystringa = t('circuit.regolamento', { nomecircuito: name });
return mystringa;
} else {
@@ -307,6 +314,10 @@ export default defineComponent({
}
}
function showed() {
spinner_visible.value = false
}
onMounted(mounted);
return {
@@ -364,6 +375,10 @@ export default defineComponent({
showrules,
circuit,
getRegulation,
spinner_visible,
sendRIS,
causalDest,
showed,
};
},
});

View File

@@ -856,6 +856,12 @@
<div v-if="!tools.isLogged()">
<CCheckIfIsLogged></CCheckIfIsLogged>
</div>
<q-inner-loading :showing="spinner_visible">
<q-spinner-tail
size="3em"
color="primary"
/>
</q-inner-loading>
<q-dialog
v-model="showPic"
full-height
@@ -941,12 +947,17 @@
</q-card-actions>
</q-card>
</q-dialog>
<div v-if="showsendCoinTo">
<div v-if="showsendCoinTo || sendRIS">
<CSendCoins
:showprop="showsendCoinTo"
:to_group="mygrp"
circuitname=""
@close="showsendCoinTo = false"
:sendRIS="sendRIS"
:causalDest="causalDest"
@close="
showsendCoinTo = false;
loading = false;
"
@showed="showed"
>
</CSendCoins>
</div>