二次分配结果工作量系数显示

parent ac9358bd
...@@ -217,7 +217,10 @@ public List<SecondColumnDictionary> GetTableHeaderDictionary(ComputeMode compute ...@@ -217,7 +217,10 @@ public List<SecondColumnDictionary> GetTableHeaderDictionary(ComputeMode compute
.Where(w => w.Items == null || w.Items.Count == 0) .Where(w => w.Items == null || w.Items.Count == 0)
.Any(w => item.Title.EqualsIgnoreCase(w.WorkloadScore) || item.Title.EqualsIgnoreCase(w.AssessmentScore) || item.Title.EqualsIgnoreCase(w.WorkPerformance)); .Any(w => item.Title.EqualsIgnoreCase(w.WorkloadScore) || item.Title.EqualsIgnoreCase(w.AssessmentScore) || item.Title.EqualsIgnoreCase(w.WorkPerformance));
if (!isExist) if (!isExist)
maps.Add(new SecondColumnDictionary(item.Value, item.Title, false, ++workloadSort, type: "Workload", color: $"workload_color{index}")); {
string factor = item.Title.StartsWith("Workload_") ? $"({item.State ?? 0:0.####})" : "";
maps.Add(new SecondColumnDictionary($"{item.Value}{factor}", item.Title, false, ++workloadSort, type: "Workload", color: $"workload_color{index}"));
}
} }
// 多工作量加载 // 多工作量加载
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment