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 && (