diff --git a/Projects/WebClient/Web.Tra/Components/Module/BlockLabel.razor b/Projects/WebClient/Web.Tra/Components/Module/BlockLabel.razor new file mode 100644 index 0000000..4664aed --- /dev/null +++ b/Projects/WebClient/Web.Tra/Components/Module/BlockLabel.razor @@ -0,0 +1,11 @@ + + @Text + + +@code { + [Parameter] + public string Text { get; set; } + + [Parameter] + public string MaxWidth { get; set; } +} diff --git a/Projects/WebClient/Web.Tra/Components/Module/TitleCard.razor b/Projects/WebClient/Web.Tra/Components/Module/TitleCard.razor new file mode 100644 index 0000000..e6fcf23 --- /dev/null +++ b/Projects/WebClient/Web.Tra/Components/Module/TitleCard.razor @@ -0,0 +1,23 @@ + + + + + + + @ChildContent + + + +@code { + [Parameter] + public RenderFragment? ChildContent { get; set; } + + [Parameter] + public string HeaderText { get; set; } + + [Parameter] + public string ContentsHeight { get; set; } + + [Parameter] + public string CardStyle { get; set; } +} diff --git a/Projects/WebClient/Web.Tra/Components/Module/TraGrid.razor b/Projects/WebClient/Web.Tra/Components/Module/TraGrid.razor index 07e7cb7..3b35f38 100644 --- a/Projects/WebClient/Web.Tra/Components/Module/TraGrid.razor +++ b/Projects/WebClient/Web.Tra/Components/Module/TraGrid.razor @@ -18,9 +18,10 @@ @foreach (var col in typeof(TDataModel).GetProperties()) { - @* if(DisableColums?.Contains(col.Name.ToLower()) == true) - continue; *@ - + if (col.Name.ToLower().Contains("navigation") || col.Name.ToLower().Contains("stepversion") || col.Name.ToLower().Contains("isglobal") + || col.Name.ToLower().Contains("updatedt") || col.Name.ToLower().Contains("enable")) + continue; + if (col.Name.ToLower().Equals("testdate")) { @@ -71,6 +72,15 @@ } + else if (col.Name.ToLower().Contains("activate")) + { + + + + } else { diff --git a/Projects/WebClient/Web.Tra/Components/Pages/TRA.razor b/Projects/WebClient/Web.Tra/Components/Pages/TRA.razor index 4f0d2be..91a59cf 100644 --- a/Projects/WebClient/Web.Tra/Components/Pages/TRA.razor +++ b/Projects/WebClient/Web.Tra/Components/Pages/TRA.razor @@ -90,16 +90,11 @@ - - - - - - - - - - + + @* + + *@ + @@ -138,27 +133,20 @@ else { - } + } - - - - - - - - - + + @foreach (var prop in history.GetType().GetProperties()) { @prop.Name - @prop.GetValue(history) + } - - + + } diff --git a/Projects/WebClient/Web.Tra/Components/Pages/TestListGrid.razor b/Projects/WebClient/Web.Tra/Components/Pages/TestListGrid.razor index d011961..a0b6440 100644 --- a/Projects/WebClient/Web.Tra/Components/Pages/TestListGrid.razor +++ b/Projects/WebClient/Web.Tra/Components/Pages/TestListGrid.razor @@ -4,12 +4,104 @@ @page "/testlist/{ProductNo}/{TestCode}/{StepVersion}" @inject CPXV2LogService CPXV2LogService - - - + + + + + @if(GetTestList?.StorTestListFile is not null) + { + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + } + else + { + + + + +
+ + + +
+
+ } +
+
+
+ + + + + +
+ @code { [Parameter] public string ProductNo { get; set; }