From bf654f54e6c14ded438cc675d15b58e4b69c909c Mon Sep 17 00:00:00 2001 From: "zaccaria.majid" Date: Fri, 4 Nov 2022 16:13:02 +0100 Subject: [PATCH] resetSelect visibile solo se record selezionato + refresh dopo creazione dossier --- MP.SPEC/Components/ListDossiers.razor.cs | 11 +++++++++-- MP.SPEC/Components/ListODL.razor | 5 ++++- MP.SPEC/Components/ListPARAMS.razor | 5 ++++- MP.SPEC/Components/ListPODL.razor | 8 ++++++-- MP.SPEC/MP.SPEC.csproj | 2 +- MP.SPEC/Pages/Articoli.razor | 7 +++++-- MP.SPEC/Resources/ChangeLog.html | 2 +- MP.SPEC/Resources/VersNum.txt | 2 +- MP.SPEC/Resources/manifest.xml | 2 +- 9 files changed, 32 insertions(+), 12 deletions(-) diff --git a/MP.SPEC/Components/ListDossiers.razor.cs b/MP.SPEC/Components/ListDossiers.razor.cs index 6acba0e4..a7b3c903 100644 --- a/MP.SPEC/Components/ListDossiers.razor.cs +++ b/MP.SPEC/Components/ListDossiers.razor.cs @@ -219,7 +219,7 @@ namespace MP.SPEC.Components isEditing = false; await Task.Delay(1); StateHasChanged(); - NavManager.NavigateTo(NavManager.Uri, true); + await flushCache(); } return; } @@ -413,7 +413,14 @@ namespace MP.SPEC.Components await RecordSelFlux.InvokeAsync(currFluxLogDto); await Task.Delay(1); } - + public async Task flushCache() + { + await Task.Delay(1); + await MDService.FlushRedisCache(); + await Task.Delay(1); + // rimando a pagina corrente + NavManager.NavigateTo(NavManager.Uri, true); + } private string css() { string answ = ""; diff --git a/MP.SPEC/Components/ListODL.razor b/MP.SPEC/Components/ListODL.razor index 7c66823d..ed2e24d7 100644 --- a/MP.SPEC/Components/ListODL.razor +++ b/MP.SPEC/Components/ListODL.razor @@ -31,7 +31,10 @@ else - + @if (currRecord != null) + { + + } Articolo Fase diff --git a/MP.SPEC/Components/ListPARAMS.razor b/MP.SPEC/Components/ListPARAMS.razor index d49a30f6..70fc3a12 100644 --- a/MP.SPEC/Components/ListPARAMS.razor +++ b/MP.SPEC/Components/ListPARAMS.razor @@ -17,7 +17,10 @@ else - + @if (currRecord != null) + { + + } Data Macchina diff --git a/MP.SPEC/Components/ListPODL.razor b/MP.SPEC/Components/ListPODL.razor index 4bcc0552..6b87bbb8 100644 --- a/MP.SPEC/Components/ListPODL.razor +++ b/MP.SPEC/Components/ListPODL.razor @@ -17,7 +17,10 @@ else - + @if (currRecord != null) + { + + } Articolo Fase @@ -45,7 +48,8 @@ else { } + + } @record.CodArticolo diff --git a/MP.SPEC/MP.SPEC.csproj b/MP.SPEC/MP.SPEC.csproj index 2f3a613f..25febf97 100644 --- a/MP.SPEC/MP.SPEC.csproj +++ b/MP.SPEC/MP.SPEC.csproj @@ -5,7 +5,7 @@ enable enable MP.SPEC - 6.16.2211.414 + 6.16.2211.416 diff --git a/MP.SPEC/Pages/Articoli.razor b/MP.SPEC/Pages/Articoli.razor index 2cc76697..e067d09a 100644 --- a/MP.SPEC/Pages/Articoli.razor +++ b/MP.SPEC/Pages/Articoli.razor @@ -120,7 +120,10 @@ - + @if (currRecord != null) + { + + } Articolo Disegno @@ -136,7 +139,7 @@ - +
@record.CodArticolo
diff --git a/MP.SPEC/Resources/ChangeLog.html b/MP.SPEC/Resources/ChangeLog.html index f769f4ca..3d2a01e5 100644 --- a/MP.SPEC/Resources/ChangeLog.html +++ b/MP.SPEC/Resources/ChangeLog.html @@ -1,6 +1,6 @@ Modulo MAPOSPEC -

Versione: 6.16.2211.414

+

Versione: 6.16.2211.416


Note di rilascio: