Files
Mapo-IOB/SMGen/Pages/SMEvent2State.razor
T
zaccaria.majid 2939dfb093 fix grafici
2023-08-04 16:29:59 +02:00

48 lines
1.7 KiB
Plaintext

@page "/SMEvent2State"
<h3>SMEvent2State</h3>
<p>
Deve permettere upload file *.rul (NUOVO, diverso/semplificato) e generazione righe regole (come x csv)
</p>
<p>
I dati generati potrebbero andare direttamente sul DB, nella tab <b>TransizioneStatiNew</b> (da creare...):
<br />
select * from TransizioneStatiNew
</p>
<p>
Vista in preview si può poi inserire in prod se confermato
</p>
<div class="w-100 shadow-lg p-3 rounded mb-2">
<div class="d-flex justify-content-between w-100">
<div class="mb-2">
<InputFile OnChange="@LoadFiles" multiple />
</div>
<div class="d-flex justify-content-center">
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" @bind="@CalcItself" id="flexCheckDefault">
<label class="form-check-label" for="flexCheckDefault">
Stesso stato
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" @bind="@CalcEmptyState" id="flexCheckDefault2">
<label class="form-check-label" for="flexCheckDefault2">
Stato zero
</label>
</div>
</div>
</div>
<FilesList PagerResetReq="pgResetReq" updateRecordCount="UpdateTotCount" currFilter="@currFilter" hasBit="false" calcItSelf="@CalcItself" calcEmptyState="@CalcEmptyState"></FilesList>
</div>
<div class="w-100 shadow-lg p-3 bg-body rounded mb-2">
<DataPager @ref="pagerSMIn2Ev" PageSize="@numRecord" currPage="@currPage" numRecordChanged="@ForceReload" numPageChanged="@ForceReloadPage" totalCount="@totalCount" />
</div>