Entra circuito se hai aggiunto bene o servizio

This commit is contained in:
Surya Paolo
2022-12-04 19:50:07 +01:00
parent 0498ba891a
commit 077c2dbd9e
8 changed files with 348 additions and 142 deletions

View File

@@ -1093,6 +1093,7 @@
v-model="newRecordBool"
@hide="hidewindow"
:maximized="$q.screen.lt.sm"
permanent
>
<q-card class="dialog_card">
<q-bar dense class="bg-primary text-white">

View File

@@ -12,6 +12,7 @@ import { useQuasar } from 'quasar'
import { useI18n } from '@/boot/i18n'
import { CMyCardPopup } from '@/components/CMyCardPopup'
import { CCurrencyValue } from '@/components/CCurrencyValue'
import { useRouter } from 'vue-router'
// import { useRouter } from 'vue-router'
export default defineComponent({
@@ -43,6 +44,8 @@ export default defineComponent({
const showingtooltip = ref(false)
const $router = useRouter()
watch(() => props.prop_myrec, (newval, oldval) => {
mounted()
@@ -62,13 +65,17 @@ export default defineComponent({
emit('cmdext', cmd, val1, val2)
}
function naviga(path: string) {
$router.push(path)
}
onMounted(mounted)
return {
t,
circuit,
costanti,
// naviga,
naviga,
setCmd,
shared_consts,
userStore,

View File

@@ -102,6 +102,10 @@
<div>
<div v-if="!tools.isLogged()" style="margin: 5px; padding: 5px;" class="home">
<q-btn
v-if="site.confpages.enableReg && site.confpages.enableRegByBot"
type="a" rounded size="lg" color="primary" href="/bot" :label="$t('reg.submit')" class="buttreg">
</q-btn>
<q-btn
rounded size="lg" color="primary" @click="PagLogin"
class="btn-start">
@@ -174,6 +178,10 @@
<div>
<div v-if="!tools.isLogged()" style="margin: 5px; padding: 5px;" class="home">
<q-btn
v-if="site.confpages.enableReg && site.confpages.enableRegByBot"
type="a" rounded size="lg" color="primary" href="/bot" :label="$t('reg.submit')" class="buttreg">
</q-btn>
<q-btn
rounded size="lg" color="primary" @click="PagLogin"
class="btn-start">

View File

@@ -85,8 +85,8 @@ export default defineComponent({
function checkifpolling() {
if (userStore.my.profile) {
if (!tools.isUserOk() && tools.appid() === tools.IDAPP_RISO)
NUMSEC_TO_POLLING.value = 10
//if (!tools.isUserOk() && tools.appid() === tools.IDAPP_RISO)
// NUMSEC_TO_POLLING.value = 10
}
if (eseguipolling.value) {