- 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

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,
};
},
});