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} + />} )