- corretto problema ROGNOSO : Risolvere la questione "Sessioni multiple", se apro 2 browser l'ultimo va a cancellare il precedente, e mi da errore di email non valida !
Il problema era sulla fetch nel service worker, gestita in quel modo personalizzato, andava in conflitto, non tenendo le chiamate bloccanti, ma uscivano prima che arrivasse la risposta del server. - Per chi è da tanto che non si collega a RISO, compare "Email non verificata"... (si risolve chiudendo su ESCI e riloggandosi)... però andrebbe sistemata. (stesso problema di prima).
This commit is contained in:
@@ -2479,22 +2479,53 @@ export default defineComponent({
|
||||
let msg = '';
|
||||
|
||||
for (col of mycolumns.value) {
|
||||
if (!msg) {
|
||||
if (col.showonlyif_dipersona) {
|
||||
const valori = myrec['idStatusSkill'];
|
||||
let check =
|
||||
col.showifIsStatusDiPersona !== undefined ||
|
||||
col.showifIsStatusOnLine !== undefined;
|
||||
if (check) {
|
||||
let show = false;
|
||||
const valori = myrec['idStatusSkill'];
|
||||
|
||||
if (
|
||||
valori &&
|
||||
valori.length === 1 &&
|
||||
valori.includes(shared_consts.STATUSSKILL_ONLINE)
|
||||
) {
|
||||
col.required = false;
|
||||
} else {
|
||||
col.required = true;
|
||||
}
|
||||
show =
|
||||
(valori &&
|
||||
valori.includes(shared_consts.STATUSSKILL_ONLINE) &&
|
||||
col.showifIsStatusOnLine) ||
|
||||
(valori.includes(shared_consts.STATUSSKILL_DI_PERSONA) &&
|
||||
col.showifIsStatusDiPersona);
|
||||
|
||||
col.visible = col.required;
|
||||
col.visible = show;
|
||||
}
|
||||
let checkrequired =
|
||||
col.requiredifIsStatusDiPersona || col.requiredifIsStatusOnLine;
|
||||
if (checkrequired) {
|
||||
let required = false;
|
||||
const valori = myrec['idStatusSkill'];
|
||||
|
||||
required =
|
||||
(valori &&
|
||||
valori.includes(shared_consts.STATUSSKILL_ONLINE) &&
|
||||
col.requiredifIsStatusOnLine) ||
|
||||
(valori.includes(shared_consts.STATUSSKILL_DI_PERSONA) &&
|
||||
col.requiredifIsStatusDiPersona);
|
||||
|
||||
col.required = required;
|
||||
}
|
||||
if (col.showonlyif_dipersona) {
|
||||
const valori = myrec['idStatusSkill'];
|
||||
|
||||
if (
|
||||
valori &&
|
||||
valori.length === 1 &&
|
||||
valori.includes(shared_consts.STATUSSKILL_ONLINE)
|
||||
) {
|
||||
col.required = false;
|
||||
} else {
|
||||
col.required = true;
|
||||
}
|
||||
|
||||
col.visible = col.required;
|
||||
}
|
||||
if (!msg) {
|
||||
if (col.required) {
|
||||
// console.log('newRecord.value', newRecord.value, newRecord.value[col.name])
|
||||
if (tools.isArray(myrec[col.name])) {
|
||||
|
||||
@@ -1556,7 +1556,7 @@
|
||||
col.foredit
|
||||
"
|
||||
>
|
||||
<div class="">
|
||||
<div class="q-mb-sm">
|
||||
<CMyPopupEdit
|
||||
:table="mytable"
|
||||
:canEdit="true"
|
||||
|
||||
Reference in New Issue
Block a user