Commit 41b0e82f authored by 盖献康's avatar 盖献康

Merge branch 'gaixiankang' into 'dev'

企业留档文件 - 其余内容

See merge request !162
parents 354b5c59 aabd85e5
......@@ -147,7 +147,7 @@ public class PdfTemplateManagementServiceImpl implements PdfTemplateManagementSe
document.setParagraph("检验中心名称", 12f, 0, 30,15f, 20f);
// 创建表格
List<String> list = Arrays.asList("文件名称", "文件目录", "标准章节", "标准要求", "审查要点");
float[] columnWidths = {20, 20, 20, 70, 70};
float[] columnWidths = {30, 25, 25, 60, 60};
PdfPTable table = document.createWithHeaderTable(list, columnWidths);
// 查询数据
List<ReviewEnterpriseArchiveViewVO> viewList = reviewEnterpriseArchiveService.view(taskId);
......@@ -161,6 +161,13 @@ public class PdfTemplateManagementServiceImpl implements PdfTemplateManagementSe
});
}
document.addContent(table);
// 最后结尾签字
PdfPTable signTable = new PdfPTable(new float[]{40, 15});
signTable.setWidthPercentage(100);
signTable.setSpacingBefore(40);
document.writeNoBorderCell("车企负责人签字:", Element.ALIGN_RIGHT, 1, 1, signTable);
document.writeBottomCell("", Element.ALIGN_RIGHT, 1, 1, signTable);
document.addContent(signTable);
// 关闭
document.close();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment