二次分配显示"备注"

parent d063889a
...@@ -39,7 +39,7 @@ public SecondColumnDictionary() ...@@ -39,7 +39,7 @@ public SecondColumnDictionary()
{ {
} }
public SecondColumnDictionary(string label, string key, bool isTrue, int sort, string site = "Table", string type = "", string color = "") public SecondColumnDictionary(string label, string key, bool isTrue, int sort, string site = "Table", string type = "", string color = "", int? width = null)
{ {
Label = label; Label = label;
Key = key; Key = key;
...@@ -48,7 +48,7 @@ public SecondColumnDictionary(string label, string key, bool isTrue, int sort, s ...@@ -48,7 +48,7 @@ public SecondColumnDictionary(string label, string key, bool isTrue, int sort, s
Site = site; Site = site;
Type = type; Type = type;
Color = color; Color = color;
Width = ((label ?? "").Length * 20 + 10).ToString(); Width = width.HasValue ? width.ToString() : ((label ?? "").Length * 20 + 10).ToString();
} }
} }
} }
...@@ -192,6 +192,7 @@ public List<SecondColumnDictionary> GetTableHeaderDictionary(ComputeMode compute ...@@ -192,6 +192,7 @@ public List<SecondColumnDictionary> GetTableHeaderDictionary(ComputeMode compute
new SecondColumnDictionary("医院其他绩效",nameof(ag_bodysource.OtherPerformance),false,801, color: "referto_color" ), new SecondColumnDictionary("医院其他绩效",nameof(ag_bodysource.OtherPerformance),false,801, color: "referto_color" ),
new SecondColumnDictionary("实发绩效",nameof(ag_bodysource.ReferToRealAmount),false,802, color: "referto_color"), new SecondColumnDictionary("实发绩效",nameof(ag_bodysource.ReferToRealAmount),false,802, color: "referto_color"),
new SecondColumnDictionary("备注",nameof(ag_bodysource.Remark),false,803,width:200),
}; };
// 工作量 // 工作量
......
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