3.27 比选二次项目,选择结束评审增加参数
This commit is contained in:
@ -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<{}> = () => {
|
||||
</Modal>
|
||||
{/**风控组件 */}
|
||||
{riskVisible && <RiskPreventionSoft
|
||||
modalVisible={riskVisible}
|
||||
onCancel={() => {
|
||||
setRiskVisible(false);
|
||||
setRiskData([]);
|
||||
}}
|
||||
onSubmit={() => finalSubmit()}
|
||||
data={riskData}
|
||||
/>}
|
||||
modalVisible={riskVisible}
|
||||
onCancel={() => {
|
||||
setRiskVisible(false);
|
||||
setRiskData([]);
|
||||
}}
|
||||
onSubmit={() => finalSubmit()}
|
||||
data={riskData}
|
||||
/>}
|
||||
</Spin>
|
||||
</>
|
||||
)
|
||||
|
Reference in New Issue
Block a user