瀏覽代碼

修补合并后报错的地方(选择颗粒导出)

zhangjiaxin 3 年之前
父節點
當前提交
5691d48562
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      OTSIncAReportApp/1-UI/Control_ECharts/EChart_ParticlesComposition.cs

+ 2 - 2
OTSIncAReportApp/1-UI/Control_ECharts/EChart_ParticlesComposition.cs

@@ -140,7 +140,7 @@ namespace OTSIncAReportApp.Control_ECharts
                 if (ComSel == "PSize")
                 {
                     ComSel = "PSizeCombin";
-                    m_ReportApp.dataCombin = JsonConvert.SerializeObject(GetListJsonStrByChartStruct()[0]);
+                    m_ReportApp.dataCombin = JsonConvert.SerializeObject(GetListJsonStrByChartStruct(sel)[0]);
                 }
                 else
                 {
@@ -973,7 +973,7 @@ namespace OTSIncAReportApp.Control_ECharts
             DataTable dtp = particledata.GetParticleAll(filedAndParticl);
 
             //计算分类整个表的数据
-            DataTable dt = ClassificationIntegration(path);
+            DataTable dt = ClassificationIntegration(path, sel);
             List<string> listClassificationName = new List<string>();
             //ListName
             for (int i = 0; i < dt.Rows.Count; i++)