This commit is contained in:
gaofei
2022-05-22 10:13:35 +08:00
parent 54fc77e7c1
commit 16110c1501
14 changed files with 751 additions and 585 deletions
+24 -1
View File
@@ -1010,6 +1010,18 @@ namespace FineUIPro.Web
{
html = (row.FindControl("lbCheckManNames") as AspNet.Label).Text;
}
if (column.ColumnID == "State" && (row.FindControl("lblState") as AspNet.Label) != null)
{
html = (row.FindControl("lblState") as AspNet.Label).Text;
}
if (column.ColumnID == "AuditMan" && (row.FindControl("lblAuditMan") as AspNet.Label) != null)
{
html = (row.FindControl("lblAuditMan") as AspNet.Label).Text;
}
if (column.ColumnID == "State2" && (row.FindControl("lblState2") as AspNet.Label) != null)
{
html = (row.FindControl("lblState2") as AspNet.Label).Text;
}
// 处理CheckBox
if (html.Contains("f-grid-static-checkbox"))
{
@@ -1022,7 +1034,18 @@ namespace FineUIPro.Web
html = "√";
}
}
sb.AppendFormat("<td style='vnd.ms-excel.numberformat:@;width:140px;'>{0}</td>", html);
if (column.ColumnID == "Name")
{
sb.AppendFormat("<td style='vnd.ms-excel.numberformat:@;width:640px;'>{0}</td>", html);
}
else if (column.ColumnID == "ShowId")
{
sb.AppendFormat("<td width:400px;'>{0}</td>", html);
}
else
{
sb.AppendFormat("<td style='vnd.ms-excel.numberformat:@;width:140px;'>{0}</td>", html);
}
// sb.AppendFormat("<td>{0}</td>", html);
}
}