dev-tmp1
tangjie 2026-08-18 11:02:47 +08:00
parent f2c03e879e
commit cc68fb3c9e
2 changed files with 4 additions and 20 deletions

View File

@ -34,14 +34,7 @@ import StatCardGroup from "~/components/StatCardGroup";
import "./index.less";
/**
* 变更时间2026-08-11
* 变更原因需求机构端报告库批量报送 + 查看详情样式优化
* 1) 列表支持勾选未报送报告并一次性批量报送调用 evalReportBatchSubmit接口未就绪时降级逐条 submit
* 2) 查看详情改为与上传历史报告表单一致的排版更贴近新增报告的录入样式附件支持图片放大预览
* 其他文件点击新窗口预览/下载
* 相关约束后端代码不修改仅作为接口/字段对照依据批量报送接口需后端按约定契约新增
*/
const { router } = tools;
const { TextArea } = Input;
@ -574,7 +567,6 @@ const EvalReportLibrary = (props) => {
ellipsis: true,
render: (text, record) => (
<div className="erl-file-cell">
<i>{getFileExt(record.fileName || record.fileUrl || text)}</i>
<a onClick={() => handleViewDetail(record)} title={text}>
{text || "-"}
</a>
@ -1104,18 +1096,10 @@ const EvalReportLibrary = (props) => {
</div>
</Modal>
{/* 2026-08-11
* 变更原因原型要求查看沿用新增报告的录入排版字段顺序分组与上传弹窗对齐降低阅读认知成本
* 附件主报告/合同/过程文档使用 PreviewUrlButton 图片点击放大预览其他文件点击新窗口预览/下载
*/}
<Modal
title={
<div className="erl-modal-title">
<div>报告详情</div>
<div className="erl-modal-subtitle">
报告库档案信息与上传录入样式一致
</div>
</div>
'报告详情'
}
open={detailVisible}
onCancel={() => setDetailVisible(false)}

View File

@ -47,7 +47,7 @@
}
.erl-report-no {
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 14px;
}