Click per mandare un messaggio al Destinatario dei RIS, se non è entrato ancora in RIS ITALIA.

This commit is contained in:
Surya Paolo
2023-11-19 23:40:50 +01:00
parent 0642375eaf
commit 446b555b46
20 changed files with 335 additions and 18 deletions

View File

@@ -312,6 +312,29 @@
><br />
</q-banner>
<q-banner
v-if="circuitStore.IsNationalAndNotEnterInLocal(circuit.name)"
rounded
class="bg-red text-white"
style="text-align: center"
>
<template v-slot:avatar>
<q-icon
class="vertical-align center"
name="fas fa-info"
color="red"
size="sm"
/>
</template>
<em style="font-weight: bold">{{
$t('circuit.beforeentertolocalcircuit')
}}</em
><br />
</q-banner>
<div class="centermydiv q-mt-md">
<q-btn
v-if="
@@ -319,6 +342,7 @@
!userStore.IsAskedCircuitByName(circuit.name) &&
!userStore.IsRefusedCircuitByName(circuit.name)
"
:disable="circuitStore.IsNationalAndNotEnterInLocal(circuit.name)"
icon="fas fa-user-plus"
color="primary"
:label="$t('circuit.ask')"
@@ -337,7 +361,7 @@
<q-item
clickable
v-close-popup
v-if="saldo === 0"
v-if="saldo === 0 || !saldo"
@click="
tools.removeFromMyCircuits(
$q,

View File

@@ -58,6 +58,8 @@ export default defineComponent({
const idnotif = computed(() => $route.query.idnotif ? $route.query.idnotif.toString() : '')
const isDebugOn = computed(() => tools.isDebugOn())
const sendRIS = computed(() => !!$route.query.sendris ? $route.query.sendris : 0)
const $router = useRouter()
const filtroutente = ref(<any[]>[])
const showPic = ref(false)
@@ -210,6 +212,7 @@ export default defineComponent({
globalStore,
getLinkWebSite,
gotoPage,
sendRIS,
}
}
})

View File

@@ -641,6 +641,7 @@
<CContactUser
:myuser="userStore.userprofile"
:showBtnActivities="true"
:sendRIS="sendRIS"
/>
</div>