20240513 修改控制点检查检测

This commit is contained in:
2024-05-13 22:58:13 +08:00
parent c4e495aacb
commit b25a98ad43
11 changed files with 17 additions and 27 deletions
@@ -230,9 +230,8 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
//更新书签内容
Document doc = new Aspose.Words.Document(newUrl);
DocumentBuilder builder = new DocumentBuilder(doc);
//builder.CellFormat.VerticalAlignment = CellVerticalAlignment.Center;
//builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;
#region
//业主单位
var unitsYz = (from x in db.Base_Unit
@@ -344,13 +343,16 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
row.Cells.Add(CreateCell(item.TargetValue, doc, table.FirstRow.Cells[3].CellFormat.Width));
row.Cells.Add(CreateCell(item.MonthPer, doc, table.FirstRow.Cells[4].CellFormat.Width));
row.Cells.Add(CreateCell(item.Remarks, doc, table.FirstRow.Cells[5].CellFormat.Width));
table.Rows.Insert(numberIndex, row);
numberIndex += 1;
}
//自动设置表格样式
table.AutoFit(AutoFitBehavior.FixedColumnWidths);
//table.Alignment = Aspose.Words.Tables.TableAlignment.Center;
//builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;
#endregion
#region