2023-04-28
This commit is contained in:
@@ -1453,14 +1453,11 @@
|
||||
sb.Append("<tr style=\"height: 35px\">");
|
||||
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> ");
|
||||
sb.AppendFormat("<td align=\"left\" style=\"width:25%; \"><img width='91' height='30' 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: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());
|
||||
@@ -1503,6 +1500,10 @@
|
||||
|
||||
}
|
||||
sb.AppendFormat("<td align=\"left\" style=\"width:100%; \">{0}</td> ", str);
|
||||
|
||||
sb.Append("</tr>");
|
||||
sb.Append("<tr style=\"height: 30px\">");
|
||||
sb.AppendFormat("<td align=\"right\" style=\"width:100%; \">正确答案:{0}</td> ", item.AnswerItems);
|
||||
sb.Append("</tr>");
|
||||
num++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user