10.11 注掉小优客服
This commit is contained in:
@ -3,11 +3,11 @@ import { Row, Col, Tooltip, Card, List, DatePicker, Button, Statistic } from 'an
|
||||
import { history } from 'umi';
|
||||
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 { jurySaveInfo, getSessionUserData, getRA } from '@/utils/session';
|
||||
import { jurySaveInfo, getRA } from '@/utils/session';
|
||||
import NoticeDetail from '@/pages/notice/noticeList/components/NoticeDetail'
|
||||
import ExpertEnter from '@/pages/BidEvaluation/components/ExpertEnter';
|
||||
@connect(({ dashboard, loading }) => ({
|
||||
@ -38,15 +38,15 @@ class Jury extends PureComponent {
|
||||
type: "dashboard/fetchtlist",
|
||||
payload: { limit: 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({
|
||||
@ -96,7 +96,7 @@ class Jury extends PureComponent {
|
||||
})
|
||||
}
|
||||
render() {
|
||||
const { datevalue, detailId, noticeDetail, recordData, enterVisible, } = this.state;
|
||||
const { datevalue, detailId, noticeDetail, recordData, enterVisible, } = this.state;
|
||||
const { Juryuplist, Jurydownlist, staloading, tlist } = this.props;
|
||||
return (
|
||||
<>
|
||||
@ -172,7 +172,7 @@ class Jury extends PureComponent {
|
||||
</div>
|
||||
{noticeDetail && <NoticeDetail detailId={detailId} onCancel={() => { this.noticeModel() }} modalVisible={noticeDetail} />}
|
||||
{recordData == '' ? null :
|
||||
<ExpertEnter modalVisible={enterVisible} onCancel={() => { this.enterModel() }} onRefresh={() => { this.onRefresh() }} recordData={recordData} />}
|
||||
<ExpertEnter modalVisible={enterVisible} onCancel={() => { this.enterModel() }} onRefresh={() => { this.onRefresh() }} recordData={recordData} />}
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
@ -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'
|
||||
@ -41,20 +41,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({
|
||||
@ -98,14 +98,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
|
||||
@ -119,7 +119,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={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> */}
|
||||
@ -189,8 +189,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} />}
|
||||
</>
|
||||
)
|
||||
|
@ -4,11 +4,11 @@ import { Row, Col, Tooltip, Card, List, DatePicker, Button, Statistic, Spin, Emp
|
||||
// import PageHeaderWrapper from '@/components/PageHeaderWrapper';
|
||||
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 { followUpAProjectManager, getSessionUserData, getRA } from '@/utils/session';
|
||||
import { followUpAProjectManager, getRA } from '@/utils/session';
|
||||
import { getDefId } from './service';
|
||||
import { getURLInformation } from '@/utils/CommonUtils';
|
||||
import MessageDetail from '@/pages/SystemMessage/message/components/messageDetail'
|
||||
@ -62,15 +62,15 @@ class manager extends PureComponent {
|
||||
type: "dashboard/fetchtClarify",
|
||||
payload: { authorizestate: '0', templatetype: '4', size: 6 }
|
||||
})
|
||||
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功能集成
|
||||
// }
|
||||
this.approvalDetail()
|
||||
}
|
||||
onChange = (date, dateString) => {
|
||||
@ -151,7 +151,7 @@ class manager extends PureComponent {
|
||||
};
|
||||
render() {
|
||||
const { downlist, projectlist, staloading, tlist, trelist, idList, dateNum } = this.props;
|
||||
const { datevalue, messId, messageDetail, detailId, noticeDetail, questData, questVisible, mainDetail, } = this.state;
|
||||
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> */}
|
||||
@ -159,7 +159,7 @@ class manager extends PureComponent {
|
||||
<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>}>
|
||||
}}>更多<RightOutlined /></div>}>
|
||||
{trelist != [] && trelist.map((item, index) => {
|
||||
return (
|
||||
<div onClick={() => { item.templatetype == '3' ? this.toParticipate(item.servicecode) : this.lookDetail(item.msgId) }} className="messagetre" key={item.id}>
|
||||
|
@ -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 { getSessionUserData, getRA } from '@/utils/session';
|
||||
import { getRA } from '@/utils/session';
|
||||
import { getURLInformation } from '@/utils/CommonUtils';
|
||||
import NoticeDetail from '@/pages/notice/noticeList/components/NoticeDetail'
|
||||
|
||||
@ -24,15 +24,15 @@ class manager extends PureComponent {
|
||||
type: "dashboard/fetchtlist",
|
||||
payload: { limit: 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功能集成
|
||||
// }
|
||||
}
|
||||
lookInfo = (id) => { // 公告查看
|
||||
this.setState({
|
||||
@ -48,7 +48,7 @@ class manager extends PureComponent {
|
||||
|
||||
render() {
|
||||
const { tlist, trelist } = this.props;
|
||||
const { detailId, noticeDetail,} = this.state; //智慧客服state
|
||||
const { detailId, noticeDetail, } = 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> */}
|
||||
@ -58,7 +58,7 @@ class manager extends PureComponent {
|
||||
{tlist != [] && tlist.map((item, index) => {
|
||||
return (
|
||||
<div className="messagetre" onClick={() => { this.lookInfo(item.id) }} key={item.id}>
|
||||
<div className="round">{index+1}</div>
|
||||
<div className="round">{index + 1}</div>
|
||||
<div className="txt" title={item.noticeTitle}>{item.noticeTitle}</div>
|
||||
<div className="time">{item.updateDate}</div>
|
||||
</div>
|
||||
|
@ -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 { getSessionUserData, getRA } from '@/utils/session';
|
||||
import { getRA } from '@/utils/session';
|
||||
import { getURLInformation } from '@/utils/CommonUtils';
|
||||
import NoticeDetail from '@/pages/notice/noticeList/components/NoticeDetail'
|
||||
@connect(({ dashboard, loading }) => ({
|
||||
@ -23,15 +23,15 @@ class manager extends PureComponent {
|
||||
type: "dashboard/fetchtlist",
|
||||
payload: { limit: 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功能集成
|
||||
// }
|
||||
}
|
||||
lookInfo = (id) => { // 公告查看
|
||||
this.setState({
|
||||
@ -44,10 +44,10 @@ class manager extends PureComponent {
|
||||
noticeDetail: false
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
render() {
|
||||
const { tlist, trelist } = this.props;
|
||||
const { detailId, noticeDetail, } = this.state;
|
||||
const { detailId, noticeDetail, } = 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> */}
|
||||
@ -57,7 +57,7 @@ class manager extends PureComponent {
|
||||
{tlist != [] && tlist.map((item, index) => {
|
||||
return (
|
||||
<div className="messagetre" onClick={() => { this.lookInfo(item.id) }} key={item.id}>
|
||||
<div className="round">{index+1}</div>
|
||||
<div className="round">{index + 1}</div>
|
||||
<div className="txt" title={item.noticeTitle}>{item.noticeTitle}</div>
|
||||
<div className="time">{item.updateDate}</div>
|
||||
</div>
|
||||
|
@ -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 { getSessionUserData, getRA } from '@/utils/session';
|
||||
import { getRA } from '@/utils/session';
|
||||
import { getDefId } from './service';
|
||||
import { getURLInformation } from '@/utils/CommonUtils';
|
||||
import MessageDetail from '@/pages/SystemMessage/message/components/messageDetail'
|
||||
@ -36,7 +36,7 @@ class manager extends PureComponent {
|
||||
isModalVisible: false, // 中止原因弹窗
|
||||
questData: {},//问卷数据
|
||||
questVisible: false, //问卷弹窗服
|
||||
roleIds:'',//智慧客服
|
||||
roleIds: '',//智慧客服
|
||||
}
|
||||
componentDidMount() {
|
||||
this.props.dispatch({
|
||||
@ -51,19 +51,19 @@ class manager extends PureComponent {
|
||||
type: "dashboard/fetchtShotList",
|
||||
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功能集成
|
||||
}
|
||||
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功能集成
|
||||
// }
|
||||
}
|
||||
onChange = (date, dateString) => {
|
||||
this.setState({
|
||||
@ -109,14 +109,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
|
||||
@ -141,10 +141,10 @@ class manager extends PureComponent {
|
||||
sessionStorage.setItem('projectData', JSON.stringify(projectData));
|
||||
window.open("/AuctionViewAuctions/Index");
|
||||
}
|
||||
|
||||
|
||||
render() {
|
||||
const { projectlist, staloading, tlist, trelist, shotList, Participants } = this.props;
|
||||
const { datevalue, messId, messageDetail, detailId, noticeDetail, noticeModalVis, projectId, isModalVisible, tpid, questData, questVisible, } = this.state;
|
||||
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> */}
|
||||
@ -231,8 +231,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} />}
|
||||
<NoticeModal projectId={projectId} state={'3'} vis={noticeModalVis} close={() => { this.noticeModel() }} />
|
||||
<StopReason tpid={tpid} modalVisible={isModalVisible} onCancel={() => { this.noticeModel() }} />
|
||||
|
@ -4,11 +4,11 @@ import { Row, Col, Tooltip, Card, List, DatePicker, Button, Statistic, Spin, Emp
|
||||
// import PageHeaderWrapper from '@/components/PageHeaderWrapper';
|
||||
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 { followUpAProjectManager, getSessionUserData, getRA } from '@/utils/session';
|
||||
import { followUpAProjectManager, getRA } from '@/utils/session';
|
||||
import { getDefId } from './service';
|
||||
import { getURLInformation } from '@/utils/CommonUtils';
|
||||
import MessageDetail from '@/pages/SystemMessage/message/components/messageDetail'
|
||||
@ -55,15 +55,15 @@ class manager extends PureComponent {
|
||||
type: "dashboard/fetchtClarify",
|
||||
payload: { authorizestate: '0', templatetype: '4', size: 6 }
|
||||
})
|
||||
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功能集成
|
||||
// }
|
||||
this.approvalDetail()
|
||||
}
|
||||
onChange = (date, dateString) => {
|
||||
|
@ -4,11 +4,11 @@ import { history } from 'umi';
|
||||
// import PageHeaderWrapper from '@/components/PageHeaderWrapper';
|
||||
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 { followUpAProjectSupplier, getSessionUserData, getRA } from '@/utils/session';
|
||||
import { followUpAProjectSupplier, getRA } from '@/utils/session';
|
||||
import { getDefId } from './service';
|
||||
import { getURLInformation } from '@/utils/CommonUtils';
|
||||
import MainDetail from '@/pages/SystemMessage/message/components/pageDetail'
|
||||
@ -72,15 +72,15 @@ class supplier extends PureComponent {
|
||||
type: "dashboard/fetchtClarify",
|
||||
payload: { authorizestate: '0', templatetype: '2', size: 6 }
|
||||
})
|
||||
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功能集成
|
||||
// }
|
||||
this.clarifyDetail()
|
||||
}
|
||||
onChange = (date, dateString) => {
|
||||
@ -116,7 +116,7 @@ class supplier extends PureComponent {
|
||||
}
|
||||
closeModel = () => { // 关闭消息弹窗
|
||||
this.setState({
|
||||
messageDetail: false,
|
||||
messageDetail: false,
|
||||
mainDetail: false
|
||||
})
|
||||
}
|
||||
@ -136,14 +136,14 @@ class supplier 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
|
||||
@ -178,14 +178,14 @@ class supplier extends PureComponent {
|
||||
}
|
||||
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;
|
||||
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> */}
|
||||
<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>}>
|
||||
{trelist != [] && trelist.slice(0,6).map((item, index) => {
|
||||
{trelist != [] && trelist.slice(0, 6).map((item, index) => {
|
||||
return (
|
||||
<div className="messagetre" onClick={() => { item.templatetype == '3' ? this.toParticipate(item.servicecode) : this.lookDetail(item.msgId) }} key={item.id}>
|
||||
<div className="round">{index + 1}</div>
|
||||
@ -284,11 +284,11 @@ class supplier extends PureComponent {
|
||||
/></Card></Col>
|
||||
</Row>
|
||||
</div>
|
||||
{
|
||||
idList.length > 0 ? <MainDetail clarifyId={idList[0]} dateNum={dateNum} trelist={idList} onCancel={() => { this.closeModel(), this.props.dispatch({ type: "dashboard/fetchtClarify", payload: { authorizestate: '0', templatetype: '2', size: 6 }}) }} modalVisible={mainDetail} /> : null
|
||||
{
|
||||
idList.length > 0 ? <MainDetail clarifyId={idList[0]} dateNum={dateNum} trelist={idList} onCancel={() => { this.closeModel(), this.props.dispatch({ type: "dashboard/fetchtClarify", payload: { authorizestate: '0', templatetype: '2', size: 6 } }) }} modalVisible={mainDetail} /> : 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}
|
||||
{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} />}
|
||||
{joinData == '' ? null : <IParticipateIn projectData={joinData} setVisible={() => { this.noticeModel() }} visible={joinDetail} />}
|
||||
{invitationData == '' ? null : <InvitationLetter projectData={invitationData} setVisible={() => { this.noticeModel() }} visible={invitationDetail} />}
|
||||
|
@ -13,13 +13,13 @@
|
||||
<title></title>
|
||||
<script>
|
||||
if (document.URL.includes('partyMemberTopic')) {
|
||||
document.getElementsByTagName('title')[0].innerText = `党建攻坚`;
|
||||
document.getElementsByTagName('title')[0].innerText = "党建攻坚";
|
||||
} else {
|
||||
document.getElementsByTagName('title')[0].innerText = `中国联通电子招投标系统`;
|
||||
document.getElementsByTagName('title')[0].innerText = "中国联通电子招投标系统";
|
||||
}
|
||||
</script>
|
||||
<script type="text/javascript" src="https://customer.unib.cn:8080/dl/js/b2b/ntkfstat.js?siteid=bl_1000"
|
||||
charset="utf-8"></script>
|
||||
<!-- <script type="text/javascript" src="https://customer.unib.cn:8080/dl/js/b2b/ntkfstat.js?siteid=bl_1000"
|
||||
charset="utf-8"></script> -->
|
||||
<script type="text/javascript" src="<%= context.config.publicPath +'officecontrol/ntkobackground.min.20220624.js'%>"
|
||||
charset="utf-8"></script>
|
||||
<link rel="icon" href="<%= context.config.publicPath +'favicon.ico'%>" type="image/x-icon" />
|
||||
@ -27,7 +27,7 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<script>
|
||||
<!-- <script>
|
||||
NTKF_PARAM = {
|
||||
siteid: "bl_1000", //企业ID,,为固定值
|
||||
settingid: "bl_1000_1577069347676", //接待组ID,为固定值,必填
|
||||
@ -37,7 +37,7 @@
|
||||
userlevel: "1", //网站自定义会员级别,1-N,可根据选择判断,取值显示到小能客户端
|
||||
erpparam: "abc" //erpparam为erp功能的扩展字段,可选,购买erp功能后用于erp功能集成
|
||||
}
|
||||
</script>
|
||||
</script> -->
|
||||
<!-- <noscript>Out-of-the-box mid-stage front/design solution!</noscript> -->
|
||||
<div id="root">
|
||||
<style>
|
||||
|
Reference in New Issue
Block a user