From 6cd814d1d601ed55bc1209df2647fdf1a56c79d2 Mon Sep 17 00:00:00 2001 From: jl-zhoujl2 Date: Mon, 20 Feb 2023 16:56:26 +0800 Subject: [PATCH] =?UTF-8?q?2.20=20=E4=BF=AE=E6=94=B9=E6=AF=94=E9=80=89?= =?UTF-8?q?=E4=B8=80=E9=98=B6=E6=AE=B5=E4=BA=8C=E6=AC=A1=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E5=90=88=E6=A0=BC=E4=BE=9B=E5=BA=94=E5=95=86=E4=B8=BA=E4=B8=80?= =?UTF-8?q?=E5=AE=B6=E6=97=B6=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/PreliminarySummary.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/pages/Evaluation/BidPreliminary/BidPreliminaryManager/components/PreliminarySummary.tsx b/src/pages/Evaluation/BidPreliminary/BidPreliminaryManager/components/PreliminarySummary.tsx index 6b7a1f3..1846bb3 100644 --- a/src/pages/Evaluation/BidPreliminary/BidPreliminaryManager/components/PreliminarySummary.tsx +++ b/src/pages/Evaluation/BidPreliminary/BidPreliminaryManager/components/PreliminarySummary.tsx @@ -34,6 +34,8 @@ const PreliminarySummary: React.FC = (props) => { const [fileId, setFileId] = useState(''); //比选一阶段二次项目自定义评审流程单选数值存储 const [processValue, setProcessValue] = useState(); + //是否公开比选一阶段二次项目 + const [isBxOneSecond, setIsBxOneSecond] = useState(false); //每页显示数量常量 const pageSize = 3; const { TextArea } = Input; @@ -240,6 +242,7 @@ const PreliminarySummary: React.FC = (props) => { if (response.data?.continueStatus == 1) { setFileId(response.data?.fileId) setProcessValue(response?.data?.customizeFlowStatus); + setIsBxOneSecond(response?.data?.bxOneSecondProjectStatus); form.setFieldsValue({ remarks: response.data?.remarks }) @@ -290,13 +293,13 @@ const PreliminarySummary: React.FC = (props) => { {isShowFoot ? (
- {isNotEmpty(processValue) ? '合格供应商仅一家,是否继续进行' : '合格供应商不足三家,是否继续进行详审'}: + {(isBxOneSecond && isNotEmpty(processValue)) ? '合格供应商仅一家,是否继续进行' : '合格供应商不足三家,是否继续进行详审'}: 是,继续进行 否,终止评审
- {isNotEmpty(processValue) &&
+ {isBxOneSecond && isNotEmpty(processValue) &&
是否需自定义评审流程: 是,需自定义评审流程