From 8d1f793e79a335783aaf8b1208362d0daa19321d Mon Sep 17 00:00:00 2001 From: jlzhangyx5 Date: Wed, 16 Jul 2025 15:14:40 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BA=BF=E4=B8=8B=E8=AF=84=E5=AE=A1=E3=80=81?= =?UTF-8?q?=E8=AF=84=E5=AE=A1=E5=AE=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/BiddingRoom/index.js | 4 ++-- src/pages/BidEvaluation/manager.js | 8 +++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/components/BiddingRoom/index.js b/src/components/BiddingRoom/index.js index e705b6f..1efe6d2 100644 --- a/src/components/BiddingRoom/index.js +++ b/src/components/BiddingRoom/index.js @@ -5,7 +5,7 @@ import styles from './index.less'; import { connect } from "dva"; import { routerRedux } from 'dva/router'; import React, { useState, useEffect, useReducer } from 'react'; -import { getSessionUserData, getRoomId, getRoomStatus, getProMethod, getSessionRoleData, getIPassDecode, getDefId, getProId } from '@/utils/session'; +import { getSessionUserData, getRoomId, getRoomStatus, getProMethod, getSessionRoleData, getIPassDecode, getDefId, getProId, getOfflineStatusById } from '@/utils/session'; import { getURLInformation } from '@/utils/CommonUtils'; import { getLeader, isShowResult, isShowCount, getErrorStatus, getRiskStatus, isShowRiskModal, saveConfirm, isLeaderConfirm } from './service'; import logo from '@/assets/logo.svg'; @@ -389,7 +389,7 @@ const BiddingRoom = (props) => { } //代理&项目经理 if (role == "ebtp-agency-project-manager" || role == "ebtp-purchase") {//代理和采购经理 - if(true){ + if(roomReviewMethod == 1){ setList(managerOffList); }else { setList(managerList); diff --git a/src/pages/BidEvaluation/manager.js b/src/pages/BidEvaluation/manager.js index fcfdfc5..d460a77 100644 --- a/src/pages/BidEvaluation/manager.js +++ b/src/pages/BidEvaluation/manager.js @@ -7,7 +7,7 @@ import { getDictBidMethodDict, getProMethod, getRoomId, getDefId, getQuotationMe import { saveLeaderId, getJuryData, checkOpenBidSupplier, getPackageList, createReviewRoom, closingReviewRoom } from './components/service'; import './index.less'; import { connect } from "dva"; -import { routerRedux } from 'dva/router'; +// import { routerRedux } from 'dva/router'; import { getProId, getProSignDict } from '@/utils/session'; import ReviewDevided from '@/pages/BidEvaluation/components/ReviewDevided'; import CreateReviewRoom from '@/pages/BidEvaluation/components/CreateReviewRoom'; @@ -67,7 +67,8 @@ class manager extends PureComponent { flowConfig = (record) => { sessionStorage.setItem("roomId", record.id) this.savePageAndParams(); - this.props.dispatch(routerRedux.push(`/ProjectLayout/FlowConfig`)) + history.push(`/ProjectLayout/FlowConfig`) + // this.props.dispatch() } //查询评审室列表 getManagerList = (params) => { @@ -428,7 +429,8 @@ class manager extends PureComponent { } // 跳转组建评委会 onRedirectRate = () => { - this.props.dispatch(routerRedux.push('/JudgingPanel/list')) + // this.props.dispatch(history.push('/JudgingPanel/list')) + history.push(`/JudgingPanel/list`) } render() {