2023-04-28

This commit is contained in:
2023-04-28 14:56:47 +08:00
parent f2ab2d5b73
commit 5b740e7bda
35 changed files with 1321 additions and 519 deletions
+11 -1
View File
@@ -1451,7 +1451,17 @@
sb.Append("<table width=\"100% \" cellspacing=\"0\" rules=\"all\" border=\"0\" style=\"border-collapse:collapse;font-size: 10.5pt;\">");
sb.Append("<tr style=\"height: 35px\">");
sb.AppendFormat("<td align=\"left\" style=\"width:25%; \">{0}</td> ", "姓名:" + testName);
if (!string.IsNullOrEmpty(getTestRecord.Signature))
{
sb.AppendFormat("<td align=\"left\" style=\"width:25%; \"><img width='100' height='100' src='" + (Funs.SGGLUrl + getTestRecord.Signature).Replace('\\', '/') + "'></img></td> ");
}
else
{
sb.AppendFormat("<td align=\"left\" style=\"width:25%; \"><img width='100' height='100' src='~/res/qiaming.png'></img></td> ");
//sb.AppendFormat("<td align=\"left\" style=\"width:25%; \">{0}</td> ", "姓名:" + testName);
}
sb.AppendFormat("<td align=\"left\" style=\"width:50%;\">{0}</td> ", "身份证号:" + idCard);
sb.AppendFormat("<td align=\"left\" style=\"width:25%;\">{0}</td> ", "分数:" + (getTestRecord.TestScores ?? 0).ToString());
sb.Append("</tr>");