diff --git a/src/components/BiddingRoom/index.js b/src/components/BiddingRoom/index.js index aa1832f..0a8ef57 100644 --- a/src/components/BiddingRoom/index.js +++ b/src/components/BiddingRoom/index.js @@ -35,7 +35,7 @@ const BiddingRoom = (props) => { const roomId = getRoomId(); const [list, setList] = useState(); const [selectedPath, setSelectedPath] = useState(window.location.pathname.replace('ReviewResults/Jury', 'ReviewResults').replace('ReviewResults/GroupLeader', 'ReviewResults')); - const [risky, riskySet] = useState(); + // const [risky, riskySet] = useState(); //字段类型(两种) 评标,评审 let sectionTypeTwo = MethodDict == "procurement_mode_1" || MethodDict == "procurement_mode_2" ? "评标" : "评审" //字段类型(三种) 评标,评审,谈判 @@ -156,19 +156,19 @@ const BiddingRoom = (props) => { }, []) //风险点展示获取是否有风险 - async function isRisky() { - await getRiskStatus({ assessRoomId: roomId, tpId: tpId }).then((res) => { - if (res.code == 200) { - if (res?.data) { - riskySet( - - - - ) - } - } - }) - } + // async function isRisky() { + // await getRiskStatus({ assessRoomId: roomId, tpId: tpId }).then((res) => { + // if (res.code == 200) { + // if (res?.data) { + // riskySet( + // + // + // + // ) + // } + // } + // }) + // } //评审结果页签点击事件 const onclick = async (path, id) => { @@ -285,7 +285,7 @@ const BiddingRoom = (props) => { //初始化数据 const listRender = async () => { - await isRisky(); + // await isRisky(); //供应商是否用ipass解密判断 IPassDecode == 0 ? null : supplierList.splice(2, 1) //供应商是否显示评审进展判断(招标类不显示)