interface FileInfoProps { fileInfo: { fileName: string; contractNumber: string; fileSize?: string; fileFormat?: string; pageCount?: number; uploadTime?: string; uploadUser?: string; auditStatus?: number; path?: string; previousRoute?: string; }; onConfirmResults: () => void; } export function FileInfo({ fileInfo }: FileInfoProps) { // const handleExportReport = () => { // alert('导出评查报告功能'); // }; return (

{fileInfo.fileName}

合同编号:{fileInfo.contractNumber} {fileInfo.fileSize && ( | {fileInfo.fileSize} | {fileInfo.fileFormat} | {fileInfo.pageCount}页 )} {fileInfo.uploadTime && (
上传时间:{fileInfo.uploadTime} | 上传用户:{fileInfo.uploadUser}
)}
); }