线下评审、评审室
This commit is contained in:
@ -5,7 +5,7 @@ import styles from './index.less';
|
|||||||
import { connect } from "dva";
|
import { connect } from "dva";
|
||||||
import { routerRedux } from 'dva/router';
|
import { routerRedux } from 'dva/router';
|
||||||
import React, { useState, useEffect, useReducer } from 'react';
|
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 { getURLInformation } from '@/utils/CommonUtils';
|
||||||
import { getLeader, isShowResult, isShowCount, getErrorStatus, getRiskStatus, isShowRiskModal, saveConfirm, isLeaderConfirm } from './service';
|
import { getLeader, isShowResult, isShowCount, getErrorStatus, getRiskStatus, isShowRiskModal, saveConfirm, isLeaderConfirm } from './service';
|
||||||
import logo from '@/assets/logo.svg';
|
import logo from '@/assets/logo.svg';
|
||||||
@ -389,7 +389,7 @@ const BiddingRoom = (props) => {
|
|||||||
}
|
}
|
||||||
//代理&项目经理
|
//代理&项目经理
|
||||||
if (role == "ebtp-agency-project-manager" || role == "ebtp-purchase") {//代理和采购经理
|
if (role == "ebtp-agency-project-manager" || role == "ebtp-purchase") {//代理和采购经理
|
||||||
if(true){
|
if(roomReviewMethod == 1){
|
||||||
setList(managerOffList);
|
setList(managerOffList);
|
||||||
}else {
|
}else {
|
||||||
setList(managerList);
|
setList(managerList);
|
||||||
|
@ -7,7 +7,7 @@ import { getDictBidMethodDict, getProMethod, getRoomId, getDefId, getQuotationMe
|
|||||||
import { saveLeaderId, getJuryData, checkOpenBidSupplier, getPackageList, createReviewRoom, closingReviewRoom } from './components/service';
|
import { saveLeaderId, getJuryData, checkOpenBidSupplier, getPackageList, createReviewRoom, closingReviewRoom } from './components/service';
|
||||||
import './index.less';
|
import './index.less';
|
||||||
import { connect } from "dva";
|
import { connect } from "dva";
|
||||||
import { routerRedux } from 'dva/router';
|
// import { routerRedux } from 'dva/router';
|
||||||
import { getProId, getProSignDict } from '@/utils/session';
|
import { getProId, getProSignDict } from '@/utils/session';
|
||||||
import ReviewDevided from '@/pages/BidEvaluation/components/ReviewDevided';
|
import ReviewDevided from '@/pages/BidEvaluation/components/ReviewDevided';
|
||||||
import CreateReviewRoom from '@/pages/BidEvaluation/components/CreateReviewRoom';
|
import CreateReviewRoom from '@/pages/BidEvaluation/components/CreateReviewRoom';
|
||||||
@ -67,7 +67,8 @@ class manager extends PureComponent {
|
|||||||
flowConfig = (record) => {
|
flowConfig = (record) => {
|
||||||
sessionStorage.setItem("roomId", record.id)
|
sessionStorage.setItem("roomId", record.id)
|
||||||
this.savePageAndParams();
|
this.savePageAndParams();
|
||||||
this.props.dispatch(routerRedux.push(`/ProjectLayout/FlowConfig`))
|
history.push(`/ProjectLayout/FlowConfig`)
|
||||||
|
// this.props.dispatch()
|
||||||
}
|
}
|
||||||
//查询评审室列表
|
//查询评审室列表
|
||||||
getManagerList = (params) => {
|
getManagerList = (params) => {
|
||||||
@ -428,7 +429,8 @@ class manager extends PureComponent {
|
|||||||
}
|
}
|
||||||
// 跳转组建评委会
|
// 跳转组建评委会
|
||||||
onRedirectRate = () => {
|
onRedirectRate = () => {
|
||||||
this.props.dispatch(routerRedux.push('/JudgingPanel/list'))
|
// this.props.dispatch(history.push('/JudgingPanel/list'))
|
||||||
|
history.push(`/JudgingPanel/list`)
|
||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
|
Reference in New Issue
Block a user