refresh pagina attivazioni
This commit is contained in:
@@ -2,7 +2,10 @@
|
||||
<table class="table table-sm table-striped table-responsive-lg">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>
|
||||
|
||||
<button type="button" class="btn btn-sm btn-warning btn-block" @onclick="close()"><i class="fas fa-times"></i></button>
|
||||
</th>
|
||||
<th>#</th>
|
||||
<th>Impiego</th>
|
||||
<th>Chiave</th>
|
||||
|
||||
@@ -13,10 +13,7 @@ namespace LiMan.UI.Components
|
||||
{
|
||||
#region Private Fields
|
||||
|
||||
private int currPage = 1;
|
||||
private List<SubLicenzaModel> ListRecords;
|
||||
private int numRecord = 10;
|
||||
private List<SubLicenzaModel> SearchRecords;
|
||||
|
||||
#endregion Private Fields
|
||||
|
||||
@@ -88,11 +85,6 @@ namespace LiMan.UI.Components
|
||||
ListRecords = null;
|
||||
await Task.Delay(1);
|
||||
ListRecords = await DataService.AttivazioniGetByLic(MasterLicence.IdxLic);
|
||||
#if false
|
||||
SearchRecords = await DataService.AttivazioniGetByLic(MasterLicence.IdxLic);
|
||||
totalCount = SearchRecords.Count();
|
||||
ListRecords = SearchRecords.Skip(numRecord * (currPage - 1)).Take(numRecord).ToList();
|
||||
#endif
|
||||
isLoading = false;
|
||||
}
|
||||
|
||||
@@ -100,6 +92,10 @@ namespace LiMan.UI.Components
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
protected void close()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// formatta testo secondo scadenza:
|
||||
/// scadenza < oggi --> verde
|
||||
|
||||
Reference in New Issue
Block a user