41 lines
938 B
C#
41 lines
938 B
C#
using Microsoft.AspNetCore.Components;
|
|
using Microsoft.JSInterop;
|
|
using MP.Data.DbModels;
|
|
using MP.SPEC.Data;
|
|
|
|
namespace MP.SPEC.Components.ProdKit
|
|
{
|
|
public partial class KitVerify
|
|
{
|
|
|
|
[Parameter]
|
|
public string KeyFilt { get; set; } = "";
|
|
|
|
|
|
[Inject]
|
|
protected IJSRuntime JSRuntime { get; set; } = null!;
|
|
|
|
[Inject]
|
|
protected MpDataService MDService { get; set; } = null!;
|
|
|
|
protected override void OnParametersSet()
|
|
{
|
|
ReloadData();
|
|
}
|
|
|
|
private List<TksScoreModel> ListRecords = new List<TksScoreModel>();
|
|
|
|
private List<TksScoreModel> SearchRecord = new List<TksScoreModel>();
|
|
|
|
private void ReloadData()
|
|
{
|
|
SearchRecord = MDService.TksScore(KeyFilt, 1000, true);
|
|
ListRecords = SearchRecord.ToList();
|
|
}
|
|
|
|
private void DoCreatePOdl(TksScoreModel currRec)
|
|
{
|
|
|
|
}
|
|
}
|
|
} |