首页加客服入口
This commit is contained in:
@ -13,6 +13,7 @@ import { getURLInformation } from '@/utils/CommonUtils';
|
||||
import MessageDetail from '@/pages/SystemMessage/message/components/messageDetail'
|
||||
import NoticeDetail from '@/pages/notice/noticeList/components/NoticeDetail'
|
||||
import QuestDetail from '@/pages/SystemMessage/message/components/questDetail'
|
||||
import {submitHiddenForm, createHiddenForm} from '@/utils/CustomerService' //智慧客服
|
||||
@connect(({ dashboard, loading }) => ({
|
||||
...dashboard,
|
||||
fetchtPageList: loading.effects['dashboard/fetchtPageList'],
|
||||
@ -117,12 +118,63 @@ class manager extends PureComponent {
|
||||
// sessionStorage.setItem('defId', JSON.stringify('auction'));
|
||||
history.push('/ProjectLayout/Auction/AuctionInfoManage')
|
||||
};
|
||||
//触发客服
|
||||
initChatUI = ()=>{
|
||||
let roleAuthority = sessionStorage.getItem('roleAuthority');
|
||||
let data = getSessionUserData();
|
||||
const inputList = [
|
||||
{
|
||||
label:null,
|
||||
paraName:'origin',
|
||||
isEncode:false,
|
||||
paraVal:'eBid',
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'organizationId',
|
||||
isEncode:false,
|
||||
paraVal: data.organizationId,
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'tenderAgencyId',
|
||||
isEncode:false,
|
||||
paraVal:'EMPTY',
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'tenderAgencyName',
|
||||
isEncode:true,
|
||||
paraVal:'招标采购中心客服',
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'roleAuthority',
|
||||
isEncode:false,
|
||||
paraVal:JSON.parse(roleAuthority)[0],
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'module',
|
||||
isEncode:false,
|
||||
paraVal:'2',
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'custType',
|
||||
isEncode:false,
|
||||
paraVal:'1',
|
||||
},
|
||||
]
|
||||
createHiddenForm(inputList, window.location.pathname)
|
||||
submitHiddenForm()
|
||||
}
|
||||
render() {
|
||||
const { projectlist, staloading, tlist, trelist, pagelist, disposalList } = this.props;
|
||||
const { datevalue, messId, messageDetail, detailId, noticeDetail, questData, questVisible, } = this.state;
|
||||
return (
|
||||
<>
|
||||
{/* <a className={isFlash && !isModalVisible ? "talk text-effect":"talk"} onClick={() => this.initChatUI()}>咨询服务︵<span>8:30</span><span>|</span><span>12:30</span><span>13:00</span><span>|</span><span>17:00</span>︶<img src={talkPng} /></a> */}
|
||||
<a className="talk" onClick={() => this.initChatUI()}>系统操作咨询︵<span>8:30</span><span>|</span><span>12:30</span><span>13:00</span><span>|</span><span>17:00</span>︶<img src={talkPng} /></a>
|
||||
<div className="dashboard" style={{ height: innerHeight - 70, overflow: "hidden" }}>
|
||||
<Row className="topt">
|
||||
<Col span={8}><Card title="我的消息" bordered={false} className="cardtre" style={{ marginRight: "10px" }} extra={<div className="moret" onClick={() => history.push('/SystemMessage/message')}>更多<RightOutlined /></div>}>
|
||||
|
@ -266,7 +266,7 @@
|
||||
right: 0;
|
||||
bottom: 100px;
|
||||
width: 38px;
|
||||
height: 300px;
|
||||
height: 320px;
|
||||
border-top-left-radius: 10px;
|
||||
border-bottom-left-radius: 10px;
|
||||
padding: 10px 6px 0;
|
||||
|
@ -16,6 +16,7 @@ import NoticeDetail from '@/pages/notice/noticeList/components/NoticeDetail'
|
||||
import QuestDetail from '@/pages/SystemMessage/message/components/questDetail'
|
||||
import { getQuestList } from '@/pages/SystemMessage/message/service'
|
||||
import ApprovalDetail from '@/pages/SystemMessage/message/components/approvalDetail'
|
||||
import {submitHiddenForm, createHiddenForm} from '@/utils/CustomerService' //智慧客服
|
||||
@connect(({ dashboard, loading }) => ({
|
||||
...dashboard,
|
||||
downlistLoading: loading.effects['dashboard/fetchDowntlist'],
|
||||
@ -149,12 +150,63 @@ class manager extends PureComponent {
|
||||
await followUpAProjectManager(data);
|
||||
history.push('/ProjectLayout/Manager/HomePageSectionList');
|
||||
};
|
||||
//触发客服
|
||||
initChatUI = ()=>{
|
||||
let roleAuthority = sessionStorage.getItem('roleAuthority');
|
||||
let data = getSessionUserData();
|
||||
const inputList = [
|
||||
{
|
||||
label:null,
|
||||
paraName:'origin',
|
||||
isEncode:false,
|
||||
paraVal:'eBid',
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'organizationId',
|
||||
isEncode:false,
|
||||
paraVal: data.organizationId,
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'tenderAgencyId',
|
||||
isEncode:false,
|
||||
paraVal:'EMPTY',
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'tenderAgencyName',
|
||||
isEncode:true,
|
||||
paraVal:'招标采购中心客服',
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'roleAuthority',
|
||||
isEncode:false,
|
||||
paraVal:JSON.parse(roleAuthority)[0],
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'module',
|
||||
isEncode:false,
|
||||
paraVal:'2',
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'custType',
|
||||
isEncode:false,
|
||||
paraVal:'1',
|
||||
},
|
||||
]
|
||||
createHiddenForm(inputList, window.location.pathname)
|
||||
submitHiddenForm()
|
||||
}
|
||||
render() {
|
||||
const { downlist, projectlist, staloading, tlist, trelist, idList, dateNum } = this.props;
|
||||
const { datevalue, messId, messageDetail, detailId, noticeDetail, questData, questVisible, mainDetail, } = this.state;
|
||||
return (
|
||||
<>
|
||||
{/* <a className="talk" >咨询服务︵<span>8:30</span><span>|</span><span>12:30</span><span>13:00</span><span>|</span><span>17:00</span>︶<img src={talkPng} /></a> */}
|
||||
<a className="talk" onClick={() => this.initChatUI()}>系统操作咨询︵<span>8:30</span><span>|</span><span>12:30</span><span>13:00</span><span>|</span><span>17:00</span>︶<img src={talkPng} /></a>
|
||||
<div className="dashboard" style={{ height: innerHeight - 70, overflow: "hidden" }}>
|
||||
<Row className="topt">
|
||||
<Col span={8}><Card title="我的消息" bordered={false} className="cardtre" style={{ marginRight: "10px" }} extra={<div className="moret" onClick={() => {
|
||||
|
@ -16,7 +16,7 @@ import NoticeModal from '@/pages/Auction/NoticeModal/noticeModal'
|
||||
import StopReason from '@/pages/Auction/NoticeModal/stopReason'
|
||||
import QuestDetail from '@/pages/SystemMessage/message/components/questDetail'
|
||||
import { getQuestList } from '@/pages/SystemMessage/message/service'
|
||||
|
||||
import {submitHiddenForm, createHiddenForm} from '@/utils/CustomerService' //智慧客服
|
||||
@connect(({ dashboard, loading }) => ({
|
||||
...dashboard,
|
||||
fetchtShotList: loading.effects['dashboard/fetchtShotList'],
|
||||
@ -141,13 +141,63 @@ class manager extends PureComponent {
|
||||
sessionStorage.setItem('projectData', JSON.stringify(projectData));
|
||||
window.open("/AuctionViewAuctions/Index");
|
||||
}
|
||||
|
||||
//触发客服
|
||||
initChatUI = ()=>{
|
||||
let roleAuthority = sessionStorage.getItem('roleAuthority');
|
||||
let data = getSessionUserData();
|
||||
const inputList = [
|
||||
{
|
||||
label:null,
|
||||
paraName:'origin',
|
||||
isEncode:false,
|
||||
paraVal:'eBid',
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'organizationId',
|
||||
isEncode:false,
|
||||
paraVal: data.organizationId,
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'tenderAgencyId',
|
||||
isEncode:false,
|
||||
paraVal:'EMPTY',
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'tenderAgencyName',
|
||||
isEncode:true,
|
||||
paraVal:'招标采购中心客服',
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'roleAuthority',
|
||||
isEncode:false,
|
||||
paraVal:JSON.parse(roleAuthority)[0],
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'module',
|
||||
isEncode:false,
|
||||
paraVal:'2',
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'custType',
|
||||
isEncode:false,
|
||||
paraVal:'1',
|
||||
},
|
||||
]
|
||||
createHiddenForm(inputList, window.location.pathname)
|
||||
submitHiddenForm()
|
||||
}
|
||||
render() {
|
||||
const { projectlist, staloading, tlist, trelist, shotList, Participants } = this.props;
|
||||
const { datevalue, messId, messageDetail, detailId, noticeDetail, noticeModalVis, projectId, isModalVisible, tpid, questData, questVisible, } = this.state;
|
||||
return (
|
||||
<>
|
||||
{/* <a className={isFlash && !isChatModalVisible ? "talk text-effect":"talk"} onClick={() => this.initChatUI()}>咨询服务︵<span>8:30</span><span>|</span><span>12:30</span><span>13:00</span><span>|</span><span>17:00</span>︶<img src={talkPng} /></a> */}
|
||||
<a className="talk" onClick={() => this.initChatUI()}>系统操作咨询︵<span>8:30</span><span>|</span><span>12:30</span><span>13:00</span><span>|</span><span>17:00</span>︶<img src={talkPng} /></a>
|
||||
<div className="dashboard" style={{ height: innerHeight - 70, overflow: "hidden" }}>
|
||||
<Row className="topt">
|
||||
<Col span={8}><Card title="我的消息" bordered={false} className="cardtre" style={{ marginRight: "10px" }} extra={<div className="moret" onClick={() => history.push('/SystemMessage/message')}>更多<RightOutlined /></div>}>
|
||||
|
@ -16,6 +16,7 @@ import NoticeDetail from '@/pages/notice/noticeList/components/NoticeDetail'
|
||||
import QuestDetail from '@/pages/SystemMessage/message/components/questDetail'
|
||||
import { getQuestList } from '@/pages/SystemMessage/message/service'
|
||||
import ApprovalDetail from '@/pages/SystemMessage/message/components/approvalDetail'
|
||||
import {submitHiddenForm, createHiddenForm} from '@/utils/CustomerService' //智慧客服
|
||||
@connect(({ dashboard, loading }) => ({
|
||||
...dashboard,
|
||||
downlistLoading: loading.effects['dashboard/fetchDowntlist'],
|
||||
@ -131,13 +132,63 @@ class manager extends PureComponent {
|
||||
await followUpAProjectManager(data);
|
||||
history.push('/ProjectLayout/Manager/HomePageSectionList');
|
||||
};
|
||||
|
||||
//触发客服
|
||||
initChatUI = ()=>{
|
||||
let roleAuthority = sessionStorage.getItem('roleAuthority');
|
||||
let data = getSessionUserData();
|
||||
const inputList = [
|
||||
{
|
||||
label:null,
|
||||
paraName:'origin',
|
||||
isEncode:false,
|
||||
paraVal:'eBid',
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'organizationId',
|
||||
isEncode:false,
|
||||
paraVal: data.organizationId,
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'tenderAgencyId',
|
||||
isEncode:false,
|
||||
paraVal:'EMPTY',
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'tenderAgencyName',
|
||||
isEncode:true,
|
||||
paraVal:'招标采购中心客服',
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'roleAuthority',
|
||||
isEncode:false,
|
||||
paraVal:JSON.parse(roleAuthority)[0],
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'module',
|
||||
isEncode:false,
|
||||
paraVal:'2',
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'custType',
|
||||
isEncode:false,
|
||||
paraVal:'1',
|
||||
},
|
||||
]
|
||||
createHiddenForm(inputList, window.location.pathname)
|
||||
submitHiddenForm()
|
||||
}
|
||||
render() {
|
||||
const { downlist, projectlist, staloading, tlist, trelist, idList, dateNum } = this.props;
|
||||
const { datevalue, messId, messageDetail, detailId, noticeDetail, questData, questVisible, mainDetail, } = this.state; //智慧客服state
|
||||
return (
|
||||
<>
|
||||
{/* <a className={isFlash && !isModalVisible ? "talk text-effect":"talk"}onClick={() => this.initChatUI()}>咨询服务︵<span>8:30</span><span>|</span><span>12:30</span><span>13:00</span><span>|</span><span>17:00</span>︶<img src={talkPng} /></a> */}
|
||||
<a className="talk" onClick={() => this.initChatUI()}>系统操作咨询︵<span>8:30</span><span>|</span><span>12:30</span><span>13:00</span><span>|</span><span>17:00</span>︶<img src={talkPng} /></a>
|
||||
<div className="dashboard" style={{ height: innerHeight - 70, overflow: "hidden" }}>
|
||||
<Row className="topt">
|
||||
<Col span={8}><Card title="我的消息" bordered={false} className="cardtre" style={{ marginRight: "10px" }} extra={<div className="moret" onClick={() => history.push('/SystemMessage/message')}>更多<RightOutlined /></div>}>
|
||||
|
@ -18,6 +18,7 @@ import IParticipateIn from '@/utils/IParticipateIn'
|
||||
import InvitationLetter from '@/utils/InvitationLetter'
|
||||
import QuestDetail from '@/pages/SystemMessage/message/components/questDetail'
|
||||
import { getQuestList } from '@/pages/SystemMessage/message/service'
|
||||
import {submitHiddenForm, createHiddenForm} from '@/utils/CustomerService' //智慧客服
|
||||
@connect(({ dashboard, loading }) => ({
|
||||
...dashboard,
|
||||
downlistLoading: loading.effects['dashboard/fetchDowntlist'],
|
||||
@ -176,12 +177,63 @@ class supplier extends PureComponent {
|
||||
invitationDetail: true
|
||||
})
|
||||
}
|
||||
//触发客服
|
||||
initChatUI = ()=>{
|
||||
let roleAuthority = sessionStorage.getItem('roleAuthority');
|
||||
let data = getSessionUserData();
|
||||
const inputList = [
|
||||
{
|
||||
label:null,
|
||||
paraName:'origin',
|
||||
isEncode:false,
|
||||
paraVal:'eBid',
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'organizationId',
|
||||
isEncode:false,
|
||||
paraVal: data.organizationId,
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'tenderAgencyId',
|
||||
isEncode:false,
|
||||
paraVal:'EMPTY',
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'tenderAgencyName',
|
||||
isEncode:true,
|
||||
paraVal:'招标采购中心客服',
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'roleAuthority',
|
||||
isEncode:false,
|
||||
paraVal:JSON.parse(roleAuthority)[0],
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'module',
|
||||
isEncode:false,
|
||||
paraVal:'2',
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'custType',
|
||||
isEncode:false,
|
||||
paraVal:'2',
|
||||
},
|
||||
]
|
||||
createHiddenForm(inputList, window.location.pathname)
|
||||
submitHiddenForm()
|
||||
}
|
||||
render() {
|
||||
const { supplieruplist, supplierleftlist, supplierrightlist, staloading, tlist, trelist, idList, dateNum } = this.props;
|
||||
const { datevalue, messId, messageDetail, mainDetail, detailId, noticeDetail, joinData, joinDetail, invitationData, invitationDetail, questData, questVisible,} = this.state;
|
||||
return (
|
||||
<>
|
||||
{/* <a className="talk" onClick={() => this.initChatUI()}>咨询服务︵<span>8:30</span><span>|</span><span>12:30</span><span>13:00</span><span>|</span><span>17:00</span>︶<img src={talkPng} /></a> */}
|
||||
<a className="talk" onClick={() => this.initChatUI()}>系统操作咨询︵<span>8:30</span><span>|</span><span>12:30</span><span>13:00</span><span>|</span><span>17:00</span>︶<img src={talkPng} /></a>
|
||||
<div className="dashboard" style={{ height: innerHeight - 70, overflow: "hidden" }}>
|
||||
<Row className="topt">
|
||||
<Col span={8}><Card title="我的消息" bordered={false} className="cardtre" style={{ marginRight: "10px" }} extra={<div className="moret" onClick={() => history.push('/SystemMessage/message')}>更多<RightOutlined /></div>}>
|
||||
|
Reference in New Issue
Block a user