Merge branch '20220601-bidSmartReview' of http://10.124.128.2:8888/eshop/fe_service_ebtp_frontend into 20220601-bidSmartReview

This commit is contained in:
zhangyx
2022-06-17 15:23:21 +08:00

View File

@ -14,9 +14,11 @@ const BidDocSmartCheckFormModal: React.FC<BidDocSmartCheckFormModalProps> = (pro
const [bidDocSmartCheckList, setBidDocSmartCheckList] = useState([]); const [bidDocSmartCheckList, setBidDocSmartCheckList] = useState([]);
//查看详情窗口record //查看详情窗口record
const [juryTableShow, setJuryTableShow] = useState<boolean>(true);// const [juryTableShow, setJuryTableShow] = useState<boolean>(true);
//是否显示法人及投标人名称对比结果;false-不显示结果true-显示结果 //是否显示法人及投标人名称对比结果;false-不显示结果true-显示结果
const [checkLegalAndNameResult, setCheckLegalAndNameResult] = useState<boolean>(true);// const [checkLegalAndNameResult, setCheckLegalAndNameResult] = useState<boolean>(true);
var roleId = getSessionRoleData().roleCode; var roleId = getSessionRoleData().roleCode;
@ -87,7 +89,7 @@ const BidDocSmartCheckFormModal: React.FC<BidDocSmartCheckFormModalProps> = (pro
setCheckLegalAndNameResult(res?.data?.isCheckLegalAndName); setCheckLegalAndNameResult(res?.data?.isCheckLegalAndName);
if(res?.data?.isCheckOpen){ if(res?.data?.isCheckOpen){
setJuryTableShow(true); setJuryTableShow(true);
setBidDocSmartCheckList(res.data.checkResults) setBidDocSmartCheckList(res.data?.checkResults)
} }
} else { } else {
setBidDocSmartCheckList(ret.data); setBidDocSmartCheckList(ret.data);