- check updates

- risolto problema della generazione dei PDF, avevo modificato in CMyPageElem , se si cambia qualcosa occorre stare attenti a mettere !hideHeader
This commit is contained in:
Surya Paolo
2025-11-01 12:00:49 +01:00
parent df98ec9471
commit d179581b23
78 changed files with 3593139 additions and 304 deletions

View File

@@ -264,7 +264,7 @@ async function Request(
if (import.meta.env.DEV) {
console.log('ERROR using', path);
if (error && error.response) {
console.log('error.response=', JSON.stringify(error.response, null, 2));
// console.log('error.response=', JSON.stringify(error.response, null, 2));
}
}
let mycode = 0;

View File

@@ -27,7 +27,8 @@ export const serv_constants = {
RIS_CODE_OK: 1,
RIS_CODE_LOGIN_OK: 1,
RIS_ISCRIZIONE_OK: 5,
RIS_CODE__HTTP_FORBIDDEN_INVALID_TOKEN: 403,
RIS_CODE__HTTP_FORBIDDEN_INVALID_TOKEN: 401,
RIS_CODE__HTTP_FORBIDDEN_PERMESSI: 403,
RIS_CODE__HTTP_FORBIDDEN_TOKEN_EXPIRED: 408,
RIS_CODE_TOKEN_RESETPASSWORD_NOT_FOUND: -23,

View File

@@ -2668,13 +2668,14 @@ export const useGlobalStore = defineStore('GlobalStore', {
getMsgServerError() {
if (this.serverError) {
if (this.serverMsgError) {
let mymsg = this.serverMsgError.msgerr || this.serverMsgError.data!.msgerr || this.serverMsgError.msgerr!.message
if (this.serverMsgError.status === 500) {
return 'Errore Interno del Server';
} else if (this.serverMsgError.msgerr === '') {
} else if (mymsg === '') {
return 'Codice Errore ' + this.serverMsgError.status;
}
try {
return this.serverMsgError.msgerr.message;
return mymsg
} catch (e) {
return this.serverMsgError.msgerr;
}