Merge branch 'master' of http://gitlab.tianti.tg.unicom.local/eshop/fe_service_ebtp_frontend into master_jnryy_customerservice
This commit is contained in:
@ -3,11 +3,11 @@ import { history } from 'umi';
|
||||
import { Row, Col, Tooltip, Card, List, DatePicker, Button, Statistic, Spin, Empty, message } from 'antd';
|
||||
import { connect } from 'dva';
|
||||
import './index.less';
|
||||
import talkPng from '@/images/talk/talk.png';
|
||||
// import talkPng from '@/images/talk/talk.png';
|
||||
import { routerRedux } from 'dva/router';
|
||||
import { RightOutlined } from '@ant-design/icons';
|
||||
import moment from 'moment';
|
||||
import { auctionFollowUpAProjectManager, getSessionUserData, getRA } from '@/utils/session';
|
||||
import { auctionFollowUpAProjectManager, getRA } from '@/utils/session';
|
||||
import { getDefId } from './service';
|
||||
import { getURLInformation } from '@/utils/CommonUtils';
|
||||
import MessageDetail from '@/pages/SystemMessage/message/components/messageDetail'
|
||||
@ -42,20 +42,20 @@ class manager extends PureComponent {
|
||||
this.props.dispatch({
|
||||
type: "dashboard/fetchtPageList",
|
||||
payload: { pageNo: 1, pageSize: 4, limit: 4 }
|
||||
}),
|
||||
})
|
||||
this.props.dispatch({
|
||||
type: "dashboard/fetchtlistre",
|
||||
payload: { pageNo: 1, pageSize: 7 }
|
||||
}),
|
||||
NTKF_PARAM = {
|
||||
siteid: "bl_1000", //企业ID,,为固定值
|
||||
settingid: "bl_1000_1492484340268", //接待组ID,为固定值,必填
|
||||
uid: getSessionUserData()?.userId,
|
||||
uname: getSessionUserData()?.deptName + "-" + getSessionUserData()?.fullName, //用户名,未登录可以为空,但是不能给null,uname赋予的值显示到小能客户端
|
||||
isvip: "0", //是否为vip用户,0代表非会员,1代表会员,取值显示到小能客户端
|
||||
userlevel: "1", //网站自定义会员级别,1-N,可根据选择判断,取值显示到小能客户端
|
||||
erpparam: "abc" //erpparam为erp功能的扩展字段,可选,购买erp功能后用于erp功能集成
|
||||
}
|
||||
})
|
||||
// NTKF_PARAM = {
|
||||
// siteid: "bl_1000", //企业ID,,为固定值
|
||||
// settingid: "bl_1000_1492484340268", //接待组ID,为固定值,必填
|
||||
// uid: getSessionUserData()?.userId,
|
||||
// uname: getSessionUserData()?.deptName + "-" + getSessionUserData()?.fullName, //用户名,未登录可以为空,但是不能给null,uname赋予的值显示到小能客户端
|
||||
// isvip: "0", //是否为vip用户,0代表非会员,1代表会员,取值显示到小能客户端
|
||||
// userlevel: "1", //网站自定义会员级别,1-N,可根据选择判断,取值显示到小能客户端
|
||||
// erpparam: "abc" //erpparam为erp功能的扩展字段,可选,购买erp功能后用于erp功能集成
|
||||
// }
|
||||
}
|
||||
onChange = (date, dateString) => {
|
||||
this.setState({
|
||||
@ -99,14 +99,14 @@ class manager extends PureComponent {
|
||||
toParticipate = async (servicecode) => {//问卷调查弹窗
|
||||
const { questId } = JSON.parse(servicecode);
|
||||
await getQuestList({ id: questId }).then(res => {
|
||||
if (res?.code == 200 && res?.success) {
|
||||
this.setState({
|
||||
questData: res?.data,
|
||||
questVisible: true,
|
||||
})
|
||||
}
|
||||
if (res?.code == 200 && res?.success) {
|
||||
this.setState({
|
||||
questData: res?.data,
|
||||
questVisible: true,
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
closeParticipate = () => { // 关闭问卷调查弹窗
|
||||
this.setState({
|
||||
questVisible: false
|
||||
@ -171,7 +171,7 @@ class manager extends PureComponent {
|
||||
}
|
||||
render() {
|
||||
const { projectlist, staloading, tlist, trelist, pagelist, disposalList } = this.props;
|
||||
const { datevalue, messId, messageDetail, detailId, noticeDetail, questData, questVisible, } = this.state;
|
||||
const { datevalue, messId, messageDetail, detailId, noticeDetail, 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>
|
||||
@ -241,8 +241,8 @@ class manager extends PureComponent {
|
||||
</Col>
|
||||
</Row>
|
||||
</div>
|
||||
{messageDetail ? <MessageDetail messId={messId} onCancel={() => { this.closeModel(), this.props.dispatch({type: "dashboard/fetchtlistre", payload: { pageNo: 1, pageSize: 7 }}) }} modalVisible={messageDetail} /> : null }
|
||||
{questVisible ? <QuestDetail questData={questData} onCancel={() => { this.closeParticipate(), this.props.dispatch({type: "dashboard/fetchtlistre", payload: { pageNo: 1, pageSize: 7 }}) }} modalVisible={questVisible} /> : null}
|
||||
{messageDetail ? <MessageDetail messId={messId} onCancel={() => { this.closeModel(), this.props.dispatch({ type: "dashboard/fetchtlistre", payload: { pageNo: 1, pageSize: 7 } }) }} modalVisible={messageDetail} /> : null}
|
||||
{questVisible ? <QuestDetail questData={questData} onCancel={() => { this.closeParticipate(), this.props.dispatch({ type: "dashboard/fetchtlistre", payload: { pageNo: 1, pageSize: 7 } }) }} modalVisible={questVisible} /> : null}
|
||||
{noticeDetail && <NoticeDetail detailId={detailId} onCancel={() => { this.noticeModel() }} modalVisible={noticeDetail} />}
|
||||
</>
|
||||
)
|
||||
|
Reference in New Issue
Block a user