From 3751dde545a4998824b53d22227992da55763200 Mon Sep 17 00:00:00 2001 From: jl-zhoujl2 Date: Mon, 27 Mar 2023 10:18:56 +0800 Subject: [PATCH] =?UTF-8?q?3.27=20=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BidPreliminaryReviewLeader/index.tsx | 36 ++++++++++--------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/src/pages/Evaluation/BidPreliminary/BidPreliminaryReviewLeader/index.tsx b/src/pages/Evaluation/BidPreliminary/BidPreliminaryReviewLeader/index.tsx index bb46357..6f5598e 100644 --- a/src/pages/Evaluation/BidPreliminary/BidPreliminaryReviewLeader/index.tsx +++ b/src/pages/Evaluation/BidPreliminary/BidPreliminaryReviewLeader/index.tsx @@ -910,26 +910,28 @@ const Index: React.FC<{}> = () => { }, [count]); /** - * 风控中心校验 - */ + * 风控中心校验 + */ const verificationRiskControl = () => { const remarkList = getRemarkList(ref.current); - 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(); - } + if (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 (