fix grafici + nav link mappa stato cancella record idx macchina selezionata
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
}
|
||||
@if (odlOk)
|
||||
{
|
||||
<div class="px-1 col-6">
|
||||
<div class="px-1 @ConfCssWidth">
|
||||
<button class="btn btn-sm @ConfBg py-2 px-4" style="width: 100%" @onclick="()=>ToggleConfProd()">
|
||||
<i class="fa-solid fa-check pe-1"></i><span>@ConfTitle</span>
|
||||
</button>
|
||||
|
||||
@@ -53,6 +53,10 @@ namespace MP_TAB_SERV.Components
|
||||
{
|
||||
get => showInnov ? "Nascondi conferma" : "Mostra conferma";
|
||||
}
|
||||
protected string ConfCssWidth
|
||||
{
|
||||
get => enableMagPrint ? "col-6" : "col-12";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Dati produzioen rilevati
|
||||
|
||||
@@ -7,16 +7,9 @@
|
||||
<div class="cardObj p-2 mt-2">
|
||||
@if (enableScarti)
|
||||
{
|
||||
@if (RecMSE.IdxOdl > 0)
|
||||
{
|
||||
<div class="mb-2">
|
||||
<ScrapEditor RecMSE="@RecMSE" E_Updated="doUpdate"></ScrapEditor>
|
||||
</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
<div class="alert bg-danger text-dark fw-bold">ODL non presente!</div>
|
||||
}
|
||||
<div class="mb-2">
|
||||
<ScrapEditor RecMSE="@RecMSE" E_Updated="doUpdate"></ScrapEditor>
|
||||
</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using global::Microsoft.AspNetCore.Components;
|
||||
using MP.Data.DatabaseModels;
|
||||
using MP.Data.Services;
|
||||
|
||||
namespace MP_TAB_SERV.Components
|
||||
{
|
||||
@@ -16,6 +17,8 @@ namespace MP_TAB_SERV.Components
|
||||
|
||||
[Inject]
|
||||
protected NavigationManager navManager { get; set; } = null!;
|
||||
[Inject]
|
||||
protected MessageService MsgServ { get; set; } = null!;
|
||||
|
||||
#endregion Protected Properties
|
||||
|
||||
@@ -29,6 +32,10 @@ namespace MP_TAB_SERV.Components
|
||||
protected async Task SetPage(string tgtUrl)
|
||||
{
|
||||
await Task.Delay(1);
|
||||
if (tgtUrl.Contains("status-map"))
|
||||
{
|
||||
await MsgServ.IdxMaccSet("");
|
||||
}
|
||||
navManager.NavigateTo(tgtUrl);
|
||||
}
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<Version>6.16.2312.515</Version>
|
||||
<Version>6.16.2312.608</Version>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<RootNamespace>MP_TAB_SERV</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<body>
|
||||
<i>Modulo MAPOSPEC </i>
|
||||
<h4>Versione: 6.16.2312.515</h4>
|
||||
<h4>Versione: 6.16.2312.608</h4>
|
||||
<br /> Note di rilascio:
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
@@ -1 +1 @@
|
||||
6.16.2312.515
|
||||
6.16.2312.608
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>6.16.2312.515</version>
|
||||
<version>6.16.2312.608</version>
|
||||
<url>https://nexus.steamware.net/repository/SWS/MP-TAB-SERV/stable/LAST/MP-TAB-SERV.zip</url>
|
||||
<changelog>https://nexus.steamware.net/repository/SWS/MP-TAB-SERV/stable/LAST/ChangeLog.html</changelog>
|
||||
<mandatory>false</mandatory>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
foreach (var item in MenuItems)
|
||||
{
|
||||
<div class="nav-item px-2">
|
||||
<NavLink class="nav-link px-2" href="@item.NavigateUrl">
|
||||
<NavLink class="nav-link px-2" @onclick="()=>SetPage(item.NavigateUrl)">
|
||||
<i class="fa fa-lg @item.icona pe-2" aria-hidden="true"></i> @item.Testo
|
||||
</NavLink>
|
||||
</div>
|
||||
@@ -28,4 +28,19 @@
|
||||
|
||||
[Parameter]
|
||||
public List<LinkMenu> MenuItems { get; set; } = new List<LinkMenu>();
|
||||
|
||||
[Inject]
|
||||
protected MessageService MsgServ { get; set; } = null!;
|
||||
[Inject]
|
||||
protected NavigationManager navManager { get; set; } = null!;
|
||||
|
||||
protected async Task SetPage(string tgtUrl)
|
||||
{
|
||||
await Task.Delay(1);
|
||||
if (tgtUrl.Contains("status-map"))
|
||||
{
|
||||
await MsgServ.IdxMaccSet("");
|
||||
}
|
||||
navManager.NavigateTo(tgtUrl);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user