Merge branch '20220907-异议投诉名称修改为异议回复' into 'release_20220923'
9.23 异议投诉名称修改为异议回复 See merge request eshop/fe_service_ebtp_frontend!3
This commit is contained in:
@ -196,24 +196,24 @@ const Promenu: React.FC<{}> = () => {
|
|||||||
setAnchorEl(null);
|
setAnchorEl(null);
|
||||||
};
|
};
|
||||||
const initChatUI = () => { //智慧客服
|
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('非谈判类项目【评标】阶段禁止沟通')
|
message.warn('非谈判类项目【评标】阶段禁止沟通')
|
||||||
}else{
|
} else {
|
||||||
var tempForm = document.getElementById('tempForm_CustomerService') as HTMLFormElement
|
var tempForm = document.getElementById('tempForm_CustomerService') as HTMLFormElement
|
||||||
if(tempForm){
|
if (tempForm) {
|
||||||
var hideInput = document.getElementById('tempInput_CustomerService') as HTMLInputElement
|
var hideInput = document.getElementById('tempInput_CustomerService') as HTMLInputElement
|
||||||
if(hideInput){
|
if (hideInput) {
|
||||||
hideInput.value= window.location.pathname
|
hideInput.value = window.location.pathname
|
||||||
}else{
|
} else {
|
||||||
hideInput = document.createElement("input")
|
hideInput = document.createElement("input")
|
||||||
hideInput.id = 'tempInput_CustomerService'
|
hideInput.id = 'tempInput_CustomerService'
|
||||||
hideInput.type="hidden"
|
hideInput.type = "hidden"
|
||||||
hideInput.name= 'sceneUrl'
|
hideInput.name = 'sceneUrl'
|
||||||
hideInput.value= window.location.pathname
|
hideInput.value = window.location.pathname
|
||||||
tempForm.appendChild(hideInput)
|
tempForm.appendChild(hideInput)
|
||||||
}
|
}
|
||||||
tempForm.submit();
|
tempForm.submit();
|
||||||
}else{
|
} else {
|
||||||
message.warn('请先选择跟进的项目')
|
message.warn('请先选择跟进的项目')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -236,11 +236,11 @@ const Promenu: React.FC<{}> = () => {
|
|||||||
history.push("/ProjectLayout/Archive/projectArchive")
|
history.push("/ProjectLayout/Archive/projectArchive")
|
||||||
setButtonValue(stepButtonClick(data?.[data?.length - 1]))
|
setButtonValue(stepButtonClick(data?.[data?.length - 1]))
|
||||||
}}>项目归档</Button> : null,
|
}}>项目归档</Button> : null,
|
||||||
<Button key="customerservice" onClick={() =>{
|
<Button key="customerservice" onClick={() => {
|
||||||
initChatUI() //智慧客服
|
initChatUI() //智慧客服
|
||||||
}} icon={<CustomerServiceTwoTone />}>我要咨询</Button>,
|
}} icon={<CustomerServiceTwoTone />}>我要咨询</Button>,
|
||||||
((randerRole == 'ebtp-agency-project-manager' || randerRole == 'ebtp-purchase' || randerRole == 'ebtp-supervision') && MethodDict != "procurement_mode_7")
|
((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")
|
(randerRole == 'ebtp-supplier' && MethodDict != "procurement_mode_7")
|
||||||
? <Button key="supplieryiyi" onClick={() => history.push("/Project/ProjectManage/Supplier/ObjectionComplaint")}>异议投诉</Button> : null,
|
? <Button key="supplieryiyi" onClick={() => history.push("/Project/ProjectManage/Supplier/ObjectionComplaint")}>异议投诉</Button> : null,
|
||||||
<Button key="fanhui1" type="primary" onClick={() => history.push(getReturnURL())}>返回</Button>
|
<Button key="fanhui1" type="primary" onClick={() => history.push(getReturnURL())}>返回</Button>
|
||||||
|
Reference in New Issue
Block a user