Quellcode durchsuchen

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

zhangjiaxin vor 5 Monaten
Ursprung
Commit
a1813037eb

+ 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;