From 44297fc1d907b33e6fb7c61ae7de93bf7a376ac4 Mon Sep 17 00:00:00 2001 From: jl-zhoujl2 Date: Mon, 27 Mar 2023 10:09:58 +0800 Subject: [PATCH] =?UTF-8?q?3.27=20=E6=AF=94=E9=80=89=E4=BA=8C=E6=AC=A1?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=EF=BC=8C=E9=80=89=E6=8B=A9=E7=BB=93=E6=9D=9F?= =?UTF-8?q?=E8=AF=84=E5=AE=A1=E5=A2=9E=E5=8A=A0=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BidPreliminaryReviewLeader/index.tsx | 67 ++++++++++--------- 1 file changed, 36 insertions(+), 31 deletions(-) diff --git a/src/pages/Evaluation/BidPreliminary/BidPreliminaryReviewLeader/index.tsx b/src/pages/Evaluation/BidPreliminary/BidPreliminaryReviewLeader/index.tsx index 4010ac0..057ec19 100644 --- a/src/pages/Evaluation/BidPreliminary/BidPreliminaryReviewLeader/index.tsx +++ b/src/pages/Evaluation/BidPreliminary/BidPreliminaryReviewLeader/index.tsx @@ -840,6 +840,11 @@ const Index: React.FC<{}> = () => { } else { data["operationType"] = 0 } + } else if (radioValue == 0) { + if (isBxOneSecond) {//比选一阶段二次项目 + data["operationType"] = 1 + data["customizeFlowStatus"] = 0 + } } const remarkList = getRemarkList(ref.current) if (remarkList) { @@ -904,30 +909,30 @@ const Index: React.FC<{}> = () => { }) }, [count]); -/** - * 风控中心校验 - * @param params - */ - const verificationRiskControl = () => { - const remarkList = getRemarkList(ref.current); - console.log(remarkList); - let submitData = { - reviewStatus: '2', - reviewTurnId: getURLInformation("turnId"), - reviewType: '1', - remarkList: remarkList, - } - beforeRiskControl(submitData).then(res => { - if (res?.code == 200) { - if (res?.data.length > 0) { - setRiskData(res?.data); - setRiskVisible(true); - } else { - finalSubmit(); - } + /** + * 风控中心校验 + * @param params + */ + const verificationRiskControl = () => { + const remarkList = getRemarkList(ref.current); + console.log(remarkList); + let submitData = { + reviewStatus: '2', + reviewTurnId: getURLInformation("turnId"), + reviewType: '1', + remarkList: remarkList, } - }) -} + beforeRiskControl(submitData).then(res => { + if (res?.code == 200) { + if (res?.data.length > 0) { + setRiskData(res?.data); + setRiskVisible(true); + } else { + finalSubmit(); + } + } + }) + } return ( <> @@ -1126,14 +1131,14 @@ const Index: React.FC<{}> = () => { {/**风控组件 */} {riskVisible && { - setRiskVisible(false); - setRiskData([]); - }} - onSubmit={() => finalSubmit()} - data={riskData} - />} + modalVisible={riskVisible} + onCancel={() => { + setRiskVisible(false); + setRiskData([]); + }} + onSubmit={() => finalSubmit()} + data={riskData} + />} )