Merge branch 'master' of http://gitlab.tianti.tg.unicom.local/eshop/fe_service_ebtp_frontend into release_electronic_bid_evaluation_room
This commit is contained in:
@ -9,9 +9,9 @@ export async function getMenu(params: any) {
|
||||
}
|
||||
|
||||
export async function fgetUserMsg(params: any) {
|
||||
return request('/api/biz-service-ebtp-extend/v1/userinfo/get', {
|
||||
return request('/api/core-service-ebtp-userinfo/v1/userinfo/get', {
|
||||
method: 'GET',
|
||||
headers: {'Authorization': params},
|
||||
headers: { 'Authorization': params },
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
@ -196,24 +196,24 @@ const Promenu: React.FC<{}> = () => {
|
||||
setAnchorEl(null);
|
||||
};
|
||||
const initChatUI = () => { //智慧客服
|
||||
if(MethodDict!='procurement_mode_6' && MethodDict!='procurement_mode_7' && window.location.pathname.indexOf('BidEvaluation')!=-1){
|
||||
if (MethodDict != 'procurement_mode_6' && MethodDict != 'procurement_mode_7' && window.location.pathname.indexOf('BidEvaluation') != -1) {
|
||||
message.warn('非谈判类项目【评标】阶段禁止沟通')
|
||||
}else{
|
||||
} else {
|
||||
var tempForm = document.getElementById('tempForm_CustomerService') as HTMLFormElement
|
||||
if(tempForm){
|
||||
if (tempForm) {
|
||||
var hideInput = document.getElementById('tempInput_CustomerService') as HTMLInputElement
|
||||
if(hideInput){
|
||||
hideInput.value= window.location.pathname
|
||||
}else{
|
||||
if (hideInput) {
|
||||
hideInput.value = window.location.pathname
|
||||
} else {
|
||||
hideInput = document.createElement("input")
|
||||
hideInput.id = 'tempInput_CustomerService'
|
||||
hideInput.type="hidden"
|
||||
hideInput.name= 'sceneUrl'
|
||||
hideInput.value= window.location.pathname
|
||||
hideInput.type = "hidden"
|
||||
hideInput.name = 'sceneUrl'
|
||||
hideInput.value = window.location.pathname
|
||||
tempForm.appendChild(hideInput)
|
||||
}
|
||||
tempForm.submit();
|
||||
}else{
|
||||
} else {
|
||||
message.warn('请先选择跟进的项目')
|
||||
}
|
||||
}
|
||||
@ -236,11 +236,11 @@ const Promenu: React.FC<{}> = () => {
|
||||
history.push("/ProjectLayout/Archive/projectArchive")
|
||||
setButtonValue(stepButtonClick(data?.[data?.length - 1]))
|
||||
}}>项目归档</Button> : null,
|
||||
<Button key="customerservice" onClick={() =>{
|
||||
<Button key="customerservice" onClick={() => {
|
||||
initChatUI() //智慧客服
|
||||
}} icon={<CustomerServiceTwoTone />}>我要咨询</Button>,
|
||||
((randerRole == 'ebtp-agency-project-manager' || randerRole == 'ebtp-purchase' || randerRole == 'ebtp-supervision') && MethodDict != "procurement_mode_7")
|
||||
? <Button key="manageyiyi" onClick={() => history.push("/Project/ProjectManage/ProjectManager/ObjectionComplaint")}>异议投诉</Button> : null,
|
||||
? <Button key="manageyiyi" onClick={() => history.push("/Project/ProjectManage/ProjectManager/ObjectionComplaint")}>异议回复</Button> : null,
|
||||
(randerRole == 'ebtp-supplier' && MethodDict != "procurement_mode_7")
|
||||
? <Button key="supplieryiyi" onClick={() => history.push("/Project/ProjectManage/Supplier/ObjectionComplaint")}>异议投诉</Button> : null,
|
||||
<Button key="fanhui1" type="primary" onClick={() => history.push(getReturnURL())}>返回</Button>
|
||||
|
Reference in New Issue
Block a user