From e2475d5ea1a62911082e5b0f89a84c5261c00b0a Mon Sep 17 00:00:00 2001 From: fangjiakai <450850793@qq.com> Date: Wed, 31 Dec 2025 09:01:27 +0800 Subject: [PATCH] =?UTF-8?q?fix(inspection):=20=E4=BF=AE=E5=A4=8D=E7=94=B3?= =?UTF-8?q?=E8=BE=A9=E9=99=84=E4=BB=B6=E6=98=BE=E7=A4=BA=E5=92=8C=E8=AE=A1?= =?UTF-8?q?=E5=88=92=E7=8A=B6=E6=80=81=E9=80=BB=E8=BE=91=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修复申辩附件名称和下载功能的数据字段映射 - 添加确认模态框隐藏编号状态管理 - 禁用隐患数为0时的申辩选项 - 延长检查表单空闲超时时间至50秒 - 修复检查详情页面部门名称显示逻辑 - 添加检查详情页面打印功能按钮 - 修复计划执行和管理列表的过期状态显示 - 修正计划编辑和删除权限控制逻辑 --- .../BranchCompany/Inspection/Defense/List/index.js | 6 +++--- .../Inspection/Inspected/List/index.js | 6 ++++++ .../Inspection/Inspection/Add/index.js | 4 ++-- .../BranchCompany/InspectionView/index.js | 14 ++------------ .../BranchCompany/Plan/Execute/List/index.js | 3 +++ .../BranchCompany/Plan/Management/List/index.js | 7 +++++-- 6 files changed, 21 insertions(+), 19 deletions(-) diff --git a/src/pages/Container/BranchCompany/Inspection/Defense/List/index.js b/src/pages/Container/BranchCompany/Inspection/Defense/List/index.js index 3e35220..15651e3 100644 --- a/src/pages/Container/BranchCompany/Inspection/Defense/List/index.js +++ b/src/pages/Container/BranchCompany/Inspection/Defense/List/index.js @@ -258,13 +258,13 @@ function DefenseRecordModalComponent(props) { ) }, { title: "签字图片", dataIndex: "signature", render: (_, record) => (record.signature && ) }, - { title: "申辩附件名称", dataIndex: "name", width: 200 }, + { title: "申辩附件名称", dataIndex: "name", width: 200,render: (_, record) => record.files?.[0]?.fileName || "无" }, { title: "申辩附件", dataIndex: "url", render: (_, record) => ( - record.url && ( + record.files?.[0]?.filePath && ( }>
@@ -88,7 +84,7 @@ function InspectionView(props) { items={[ { label: "被检查单位", children: info.inspectedPartyConfirmation?.departmentName }, { label: "被检查单位现场负责人", children: info.inspectedPartyConfirmation?.userName }, - { label: "牵头检查部门", children: currentInspectorDepartmentName.join(",") }, + { label: "牵头检查部门", children: info.inspector?.departmentName }, { label: "检查人", children: currentInspectorUserName.join(",") }, { label: "检查类型", children: info.typeName }, { label: "检查时间", children: `${info.timeStart}至${info.timeEnd}` }, @@ -215,12 +211,6 @@ function InspectionView(props) { ]} />
-
- - - {/* {query.isExport !== "0" && } */} - -
{hiddenViewModalOpen && ( { - (props.permission(props.updatePermissionKey || "inspection-qy-plan-list-edit") && !isBeforeStart && query.entrance !== "statistics") && ( + (props.permission(props.updatePermissionKey || "inspection-qy-plan-list-edit") && isBeforeStart && query.entrance !== "statistics") && (