20250616 评价报告导出增加上传日期

This commit is contained in:
2025-06-16 14:17:56 +08:00
parent fbcfd95f73
commit a17575585c
8 changed files with 54 additions and 28 deletions
@@ -2120,6 +2120,8 @@ namespace FineUIPro.Web.Evaluation
ws.GetRow(rowIndex).GetCell(24).SetCellValue(p.SES_No);
if (ws.GetRow(rowIndex).GetCell(25) == null) ws.GetRow(rowIndex).CreateCell(25);
ws.GetRow(rowIndex).GetCell(25).SetCellValue(p.CompletionDate != null ? p.CompletionDate.Value.ToString("yyyy/MM/dd") : "");
if (ws.GetRow(rowIndex).GetCell(26) == null) ws.GetRow(rowIndex).CreateCell(26);
ws.GetRow(rowIndex).GetCell(26).SetCellValue(p.CreateDate != null ? p.CreateDate.Value.ToString("yyyy/MM/dd") : "");
if ((int)(90 * (rowIndex) / totalNum) > percent)
{
@@ -2244,6 +2246,8 @@ namespace FineUIPro.Web.Evaluation
wsCm.GetRow(rowIndex).GetCell(14).SetCellValue(p.User_Representative);
if (wsCm.GetRow(rowIndex).GetCell(15) == null) wsCm.GetRow(rowIndex).CreateCell(15);
wsCm.GetRow(rowIndex).GetCell(15).SetCellValue(p.BycDept);
if (wsCm.GetRow(rowIndex).GetCell(16) == null) wsCm.GetRow(rowIndex).CreateCell(16);
wsCm.GetRow(rowIndex).GetCell(16).SetCellValue(p.UploadDate != null ? p.UploadDate.Value.ToString("yyyy/MM/dd") : "");
if ((int)((90 * (rowIndex + punishCount )) / totalNum) > percent)
{
@@ -2910,6 +2914,8 @@ namespace FineUIPro.Web.Evaluation
ws.GetRow(rowIndex).GetCell(24).SetCellValue(p.SES_No);
if (ws.GetRow(rowIndex).GetCell(25) == null) ws.GetRow(rowIndex).CreateCell(25);
ws.GetRow(rowIndex).GetCell(25).SetCellValue(p.CompletionDate != null ? p.CompletionDate.Value.ToString("yyyy/MM/dd") : "");
if (ws.GetRow(rowIndex).GetCell(26) == null) ws.GetRow(rowIndex).CreateCell(26);
ws.GetRow(rowIndex).GetCell(26).SetCellValue(p.CreateDate != null ? p.CreateDate.Value.ToString("yyyy/MM/dd") : "");
if ((int)(90 * (rowIndex) / totalNum) > percent)
{
@@ -3034,6 +3040,8 @@ namespace FineUIPro.Web.Evaluation
wsCm.GetRow(rowIndex).GetCell(14).SetCellValue(p.User_Representative);
if (wsCm.GetRow(rowIndex).GetCell(15) == null) wsCm.GetRow(rowIndex).CreateCell(15);
wsCm.GetRow(rowIndex).GetCell(15).SetCellValue(p.BycDept);
if (wsCm.GetRow(rowIndex).GetCell(16) == null) wsCm.GetRow(rowIndex).CreateCell(16);
wsCm.GetRow(rowIndex).GetCell(16).SetCellValue(p.UploadDate != null ? p.UploadDate.Value.ToString("yyyy/MM/dd") : "");
if ((int)((90 * (rowIndex + punishCount)) / totalNum) > percent)
{