4.11 消息列表审批类型名称变更,公告审批类型消息查看页跟进逻辑
This commit is contained in:
@ -40,8 +40,8 @@ const ApprovalDetail: React.FC<ApprovalDetailProps> = (props) => {
|
||||
// if(res.code == 200){
|
||||
if (res?.servicecode) {
|
||||
let detailMess = JSON.parse(res.servicecode)
|
||||
setProjectId(detailMess.tpId)
|
||||
setRoomType(detailMess.roomType)
|
||||
setProjectId(detailMess.tp_id)
|
||||
setRoomType(detailMess.room_type)
|
||||
} else {
|
||||
// message.error('项目数据错误,无法获取流程,请联系管理员!')
|
||||
setDisFollowUp(true)
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { followUpAProjectManager, followUpAProjectSupplier, getSessionRoleData } from "@/utils/session";
|
||||
import { followUpAProjectManager, followUpAProjectSupplier, getDefId, getSessionRoleData } from "@/utils/session";
|
||||
import { Button, Form, Input, Modal } from "antd"
|
||||
import React, { useEffect, useState } from "react"
|
||||
import { describeSiteMsgDetail, selectMsgRead, getProjectById } from '../service'
|
||||
@ -90,6 +90,31 @@ const filesManageComponents: React.FC<filesManageComponents> = (props) => {
|
||||
} else {
|
||||
history.push('/ProjectLayout/Tender/ProjectManager/ClarifyTheList?roomType=2')
|
||||
}
|
||||
} else if (routeType == 'approval') { //公告审批
|
||||
const defId = getDefId();
|
||||
if (roomType == '1' && (defId == 'bid_prequalification' || defId == 'comparison_one_prequalification')) { //公开招标资格预审,公开比选一阶段资格预审
|
||||
history.push('/ProjectLayout/ZYuShen/senior/Notice?roomType=1')
|
||||
} else if (roomType == '2' && (defId == 'bid_prequalification' || defId == 'comparison_one_prequalification')) { //公开招标资格预审后审阶段,公开比选一阶段资格预审后审阶段
|
||||
history.push('/ProjectLayout/biddingAnnouncement/BiddingInvitationList?roomType=2')
|
||||
} else if (
|
||||
defId == 'bid_qualification' ||
|
||||
defId == 'comparison_one' ||
|
||||
defId == 'comparison_multi' ||
|
||||
defId == 'recruit' ||
|
||||
defId == 'negotiation_competitive_public'
|
||||
) { //公开招标后审,公开比选一阶段后审,公开比选多阶段,招募单轮,竞争性谈判发公告
|
||||
history.push('/ProjectLayout/biddingAnnouncement/BiddingAnnouncementList')
|
||||
} else if (
|
||||
defId == 'bid_invitation' ||
|
||||
defId == 'negotiation_competitive_invite' ||
|
||||
defId == 'negotiation_single'
|
||||
) { //邀请招标,竞争性谈判发邀请函,单一来源
|
||||
history.push('/ProjectLayout/biddingAnnouncement/BiddingInvitationList')
|
||||
} else if (
|
||||
defId == 'recruit_multi'
|
||||
) { //多轮招募
|
||||
history.push('/ProjectLayout/ZZhaoMu/Bid/BiddingAnnouncement/BiddingAnnouncementList')
|
||||
}
|
||||
} else {
|
||||
history.push('/ProjectLayout/Tender/ProjectManager/MentionDoubtReply')
|
||||
}
|
||||
|
@ -34,7 +34,7 @@ const FilesList: React.FC<{}> = () => {
|
||||
1: { text: '提疑消息' },
|
||||
2: { text: '澄清消息' },
|
||||
3: { text: '调查问卷' },
|
||||
4: { text: '审批消息' },
|
||||
4: { text: '公告审批' },
|
||||
},
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user