From a1a6759ea6d6e42c25ff0f47d3dccf8a70b28113 Mon Sep 17 00:00:00 2001 From: SHM Date: Wed, 17 Sep 2025 16:44:33 +0900 Subject: [PATCH] =?UTF-8?q?[=EC=84=B1=ED=98=84=EB=AA=A8]=20TestList=20?= =?UTF-8?q?=EC=A1=B0=ED=9A=8C=20=ED=8E=98=EC=9D=B4=EC=A7=80=20=EA=B0=9C?= =?UTF-8?q?=EC=84=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Components/Module/BlockLabel.razor | 11 ++ .../Web.Tra/Components/Module/TitleCard.razor | 23 ++++ .../Web.Tra/Components/Module/TraGrid.razor | 16 ++- .../Web.Tra/Components/Pages/TRA.razor | 34 ++---- .../Components/Pages/TestListGrid.razor | 100 +++++++++++++++++- 5 files changed, 154 insertions(+), 30 deletions(-) create mode 100644 Projects/WebClient/Web.Tra/Components/Module/BlockLabel.razor create mode 100644 Projects/WebClient/Web.Tra/Components/Module/TitleCard.razor 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; }