소스 검색

报告程序清洁度筛选分布显示BUG修复

zhangjiaxin 9 달 전
부모
커밋
a1813037eb
2개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      OTSIncAReportApp/1-UI/OTSReportExport/Category.cs
  2. 2 1
      OTSIncAReportApp/1-UI/OTSReportExport/OTSReport_Template_CleannessA.cs

+ 1 - 1
OTSIncAReportApp/1-UI/OTSReportExport/Category.cs

@@ -52,7 +52,7 @@ namespace OTSIncAReportApp._1_UI.OTSReportExport
                 {
                     for (int a = 0; a < CheckTheOptions.Count; a++)
                     {
-                        if (checkedListBox1.Items[i].ToString() == CheckTheOptions[a].ToString())
+                        if (ElementList.Rows[i]["STDId"].ToString() == CheckTheOptions[a].ToString())
                             checkedListBox1.SetItemChecked(i, true);
                     }
                 }

+ 2 - 1
OTSIncAReportApp/1-UI/OTSReportExport/OTSReport_Template_CleannessA.cs

@@ -766,7 +766,8 @@ namespace OTSIncAReportApp.OTSTemplateDesigner
             }
 
             
-            Category category = new Category(vs, ReadClassification(comboBox1.SelectedIndex));
+            //Category category = new Category(vs, ReadClassification(comboBox1.SelectedIndex));
+            Category category = new Category(m_OTSReport_Export.m_mbszclass.list_str_MainPriority_Serial, ReadClassification(comboBox1.SelectedIndex));
             category.ShowDialog();
             List<string> ls = category.OutElementList;
             TCCleannessAList = category.vs;