完善通过评查点的显示优化

This commit is contained in:
2025-05-27 10:05:12 +08:00
parent ed3ff4c3b3
commit 742a789244
5 changed files with 34 additions and 30 deletions
+2 -1
View File
@@ -13,6 +13,7 @@ interface FileInfo {
pageCount: number;
uploadTime: string;
uploadUser: string;
fileType: string;
}
// 合同信息
@@ -133,7 +134,7 @@ export function FileDetails({ fileInfo, contractInfo, reviewInfo }: FileDetailsP
{renderInfoSection('文件基本信息', 'ri-file-info-line', 'blue', (
<div className="grid grid-cols-1 md:grid-cols-2 gap-4">
{renderInfoRow('文件名称', fileInfo.fileName)}
{renderInfoRow('合同编号', fileInfo.contractNumber)}
{renderInfoRow(fileInfo.fileType != "1" ? '卷宗编号' : '合同编号', fileInfo.contractNumber)}
{renderInfoRow('文件大小', fileInfo.fileSize)}
{renderInfoRow('文件格式', fileInfo.fileFormat)}
{renderInfoRow('页数', `${fileInfo.pageCount}`)}