5.10 风险点接口屏蔽
This commit is contained in:
@ -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(
|
||||
<Tooltip title="当前存在风险项">
|
||||
<ExclamationCircleOutlined style={{ color: 'rgb(250,173,20)', position: 'absolute', fontSize: 26, top: 12 }} />
|
||||
</Tooltip>
|
||||
)
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
// async function isRisky() {
|
||||
// await getRiskStatus({ assessRoomId: roomId, tpId: tpId }).then((res) => {
|
||||
// if (res.code == 200) {
|
||||
// if (res?.data) {
|
||||
// riskySet(
|
||||
// <Tooltip title="当前存在风险项">
|
||||
// <ExclamationCircleOutlined style={{ color: 'rgb(250,173,20)', position: 'absolute', fontSize: 26, top: 12 }} />
|
||||
// </Tooltip>
|
||||
// )
|
||||
// }
|
||||
// }
|
||||
// })
|
||||
// }
|
||||
|
||||
//评审结果页签点击事件
|
||||
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)
|
||||
//供应商是否显示评审进展判断(招标类不显示)
|
||||
|
Reference in New Issue
Block a user