- invita amico
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -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,
|
||||
};
|
||||
},
|
||||
});
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user