From 5f3130e792d951a4f299fdfcaef7e27bc220487f Mon Sep 17 00:00:00 2001 From: LiuJiaNan <15703339975@163.com> Date: Wed, 21 Jan 2026 15:33:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=89=E5=85=A8=E7=8E=AF=E4=BF=9D=E6=A3=80?= =?UTF-8?q?=E6=9F=A5=E5=A2=9E=E5=8A=A0=E7=94=B3=E8=BE=A9=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BranchCompany/InspectionView/index.js | 41 ++----------------- 1 file changed, 3 insertions(+), 38 deletions(-) diff --git a/src/pages/Container/BranchCompany/InspectionView/index.js b/src/pages/Container/BranchCompany/InspectionView/index.js index 9337e64..0555306 100644 --- a/src/pages/Container/BranchCompany/InspectionView/index.js +++ b/src/pages/Container/BranchCompany/InspectionView/index.js @@ -5,7 +5,6 @@ import { useReactToPrint } from "react-to-print"; import HiddenInfo from "zy-react-library/components/HiddenInfo/gwj"; import Page from "zy-react-library/components/Page"; import PreviewImg from "zy-react-library/components/PreviewImg"; -import PreviewPdf from "zy-react-library/components/PreviewPdf"; import Table from "zy-react-library/components/Table"; import { UPLOAD_FILE_TYPE_ENUM } from "zy-react-library/enum/uploadFile/gwj"; import useGetFile from "zy-react-library/hooks/useGetFile"; @@ -163,7 +162,7 @@ function InspectionView(props) { 序号 隐患描述 - {/*隐患部位*/} + {/* 隐患部位 */} @@ -172,7 +171,7 @@ function InspectionView(props) { {index + 1} {item.hiddenDesc} - {/*{item.hiddenPartName}*/} + {/* {item.hiddenPartName} */} )) } @@ -220,43 +219,9 @@ function InspectionView(props) { styles={{ label: { width: 200 } }} items={[ { label: "被检查单位现场负责人(签字)", children: () }, + { label: "申辩描述", children: defenseInfo.content }, ]} /> - { - Object.keys(defenseInfo).length > 0 && ( - <> - 申辩说明 - -
{defenseInfo.isPass === 0 && "未审批"}
-
{defenseInfo.isPass === 1 && "通过"}
-
{defenseInfo.isPass === 2 && "未通过"}
- - ) }, - { label: "申辩状态", children: defenseInfo.content }, - { label: "签字图片", children: () }, - ...( - defenseInfo.files?.length > 0 - ? [ - { label: "申辩附件", children: () }, - ] - : [] - ), - { label: "检查人签字", children: () }, - { label: "检查人意见", children: defenseInfo.checkRemarks }, - { label: "审批时间", children: defenseInfo.checkSignTime }, - ]} - /> - - ) - } {hiddenViewModalOpen && (