From 6e5a0cac99693d63f7267660daa01ea932aeaee2 Mon Sep 17 00:00:00 2001 From: jl-zhoujl2 Date: Tue, 11 Oct 2022 09:07:08 +0800 Subject: [PATCH] =?UTF-8?q?10.11=20=E6=B3=A8=E6=8E=89=E5=B0=8F=E4=BC=98?= =?UTF-8?q?=E5=AE=A2=E6=9C=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/MainPage/ProjectManager/Jury.js | 26 ++++----- .../ProjectManager/disposalManager.js | 46 ++++++++-------- src/pages/MainPage/ProjectManager/manager.js | 26 ++++----- .../MainPage/ProjectManager/managerAdmin.js | 26 ++++----- .../ProjectManager/managerSubAdmin.js | 28 +++++----- .../MainPage/ProjectManager/participants.js | 54 +++++++++---------- .../ProjectManager/purchaseManager.js | 22 ++++---- src/pages/MainPage/ProjectManager/supplier.js | 50 ++++++++--------- src/pages/document.ejs | 12 ++--- 9 files changed, 145 insertions(+), 145 deletions(-) diff --git a/src/pages/MainPage/ProjectManager/Jury.js b/src/pages/MainPage/ProjectManager/Jury.js index 6c1cd69..c4110f3 100644 --- a/src/pages/MainPage/ProjectManager/Jury.js +++ b/src/pages/MainPage/ProjectManager/Jury.js @@ -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 { {noticeDetail && { this.noticeModel() }} modalVisible={noticeDetail} />} {recordData == '' ? null : - { this.enterModel() }} onRefresh={() => { this.onRefresh() }} recordData={recordData} />} + { this.enterModel() }} onRefresh={() => { this.onRefresh() }} recordData={recordData} />} ) } diff --git a/src/pages/MainPage/ProjectManager/disposalManager.js b/src/pages/MainPage/ProjectManager/disposalManager.js index 91431b0..a7e9d6a 100644 --- a/src/pages/MainPage/ProjectManager/disposalManager.js +++ b/src/pages/MainPage/ProjectManager/disposalManager.js @@ -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 ( <> {/* this.initChatUI()}>咨询服务︵8:30|12:3013:00|17:00 */} @@ -189,8 +189,8 @@ class manager extends PureComponent { - {messageDetail ? { this.closeModel(), this.props.dispatch({type: "dashboard/fetchtlistre", payload: { pageNo: 1, pageSize: 7 }}) }} modalVisible={messageDetail} /> : null } - {questVisible ? { this.closeParticipate(), this.props.dispatch({type: "dashboard/fetchtlistre", payload: { pageNo: 1, pageSize: 7 }}) }} modalVisible={questVisible} /> : null} + {messageDetail ? { this.closeModel(), this.props.dispatch({ type: "dashboard/fetchtlistre", payload: { pageNo: 1, pageSize: 7 } }) }} modalVisible={messageDetail} /> : null} + {questVisible ? { this.closeParticipate(), this.props.dispatch({ type: "dashboard/fetchtlistre", payload: { pageNo: 1, pageSize: 7 } }) }} modalVisible={questVisible} /> : null} {noticeDetail && { this.noticeModel() }} modalVisible={noticeDetail} />} ) diff --git a/src/pages/MainPage/ProjectManager/manager.js b/src/pages/MainPage/ProjectManager/manager.js index 998315d..c8c7249 100644 --- a/src/pages/MainPage/ProjectManager/manager.js +++ b/src/pages/MainPage/ProjectManager/manager.js @@ -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 ( <> {/* 咨询服务︵8:30|12:3013:00|17:00 */} @@ -159,7 +159,7 @@ class manager extends PureComponent { { history.push('/SystemMessage/message') - }}>更多}> + }}>更多}> {trelist != [] && trelist.map((item, index) => { return (
{ item.templatetype == '3' ? this.toParticipate(item.servicecode) : this.lookDetail(item.msgId) }} className="messagetre" key={item.id}> diff --git a/src/pages/MainPage/ProjectManager/managerAdmin.js b/src/pages/MainPage/ProjectManager/managerAdmin.js index dd10d5d..6b0ccb0 100644 --- a/src/pages/MainPage/ProjectManager/managerAdmin.js +++ b/src/pages/MainPage/ProjectManager/managerAdmin.js @@ -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 ( <> {/* this.initChatUI()}>咨询服务︵8:30|12:3013:00|17:00 */} @@ -58,7 +58,7 @@ class manager extends PureComponent { {tlist != [] && tlist.map((item, index) => { return (
{ this.lookInfo(item.id) }} key={item.id}> -
{index+1}
+
{index + 1}
{item.noticeTitle}
{item.updateDate}
diff --git a/src/pages/MainPage/ProjectManager/managerSubAdmin.js b/src/pages/MainPage/ProjectManager/managerSubAdmin.js index 7e168be..f299a93 100644 --- a/src/pages/MainPage/ProjectManager/managerSubAdmin.js +++ b/src/pages/MainPage/ProjectManager/managerSubAdmin.js @@ -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 ( <> {/* this.initChatUI()}>咨询服务︵8:30|12:3013:00|17:00 */} @@ -57,7 +57,7 @@ class manager extends PureComponent { {tlist != [] && tlist.map((item, index) => { return (
{ this.lookInfo(item.id) }} key={item.id}> -
{index+1}
+
{index + 1}
{item.noticeTitle}
{item.updateDate}
diff --git a/src/pages/MainPage/ProjectManager/participants.js b/src/pages/MainPage/ProjectManager/participants.js index a715881..10f9791 100644 --- a/src/pages/MainPage/ProjectManager/participants.js +++ b/src/pages/MainPage/ProjectManager/participants.js @@ -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 ( <> {/* this.initChatUI()}>咨询服务︵8:30|12:3013:00|17:00 */} @@ -231,8 +231,8 @@ class manager extends PureComponent {
- {messageDetail ? { this.closeModel(), this.props.dispatch({type: "dashboard/fetchtlistre", payload: { pageNo: 1, pageSize: 7 }}) }} modalVisible={messageDetail} /> : null } - {questVisible ? { this.closeParticipate(), this.props.dispatch({type: "dashboard/fetchtlistre", payload: { pageNo: 1, pageSize: 7 }}) }} modalVisible={questVisible} /> : null} + {messageDetail ? { this.closeModel(), this.props.dispatch({ type: "dashboard/fetchtlistre", payload: { pageNo: 1, pageSize: 7 } }) }} modalVisible={messageDetail} /> : null} + {questVisible ? { this.closeParticipate(), this.props.dispatch({ type: "dashboard/fetchtlistre", payload: { pageNo: 1, pageSize: 7 } }) }} modalVisible={questVisible} /> : null} {noticeDetail && { this.noticeModel() }} modalVisible={noticeDetail} />} { this.noticeModel() }} /> { this.noticeModel() }} /> diff --git a/src/pages/MainPage/ProjectManager/purchaseManager.js b/src/pages/MainPage/ProjectManager/purchaseManager.js index e269900..740e023 100644 --- a/src/pages/MainPage/ProjectManager/purchaseManager.js +++ b/src/pages/MainPage/ProjectManager/purchaseManager.js @@ -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) => { diff --git a/src/pages/MainPage/ProjectManager/supplier.js b/src/pages/MainPage/ProjectManager/supplier.js index 5dccab5..a08ad79 100644 --- a/src/pages/MainPage/ProjectManager/supplier.js +++ b/src/pages/MainPage/ProjectManager/supplier.js @@ -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 ( <> {/* this.initChatUI()}>咨询服务︵8:30|12:3013:00|17:00 */}
history.push('/SystemMessage/message')}>更多
}> - {trelist != [] && trelist.slice(0,6).map((item, index) => { + {trelist != [] && trelist.slice(0, 6).map((item, index) => { return (
{ item.templatetype == '3' ? this.toParticipate(item.servicecode) : this.lookDetail(item.msgId) }} key={item.id}>
{index + 1}
@@ -284,11 +284,11 @@ class supplier extends PureComponent { />
- { - idList.length > 0 ? { this.closeModel(), this.props.dispatch({ type: "dashboard/fetchtClarify", payload: { authorizestate: '0', templatetype: '2', size: 6 }}) }} modalVisible={mainDetail} /> : null + { + idList.length > 0 ? { this.closeModel(), this.props.dispatch({ type: "dashboard/fetchtClarify", payload: { authorizestate: '0', templatetype: '2', size: 6 } }) }} modalVisible={mainDetail} /> : null } - {messageDetail ? { this.closeModel(), this.props.dispatch({type: "dashboard/fetchtlistre", payload: { pageNo: 1, pageSize: 7 }})}} modalVisible={messageDetail} /> : null } - {questVisible ? { this.closeParticipate(), this.props.dispatch({type: "dashboard/fetchtlistre", payload: { pageNo: 1, pageSize: 7 }}) }} modalVisible={questVisible} /> : null} + {messageDetail ? { this.closeModel(), this.props.dispatch({ type: "dashboard/fetchtlistre", payload: { pageNo: 1, pageSize: 7 } }) }} modalVisible={messageDetail} /> : null} + {questVisible ? { this.closeParticipate(), this.props.dispatch({ type: "dashboard/fetchtlistre", payload: { pageNo: 1, pageSize: 7 } }) }} modalVisible={questVisible} /> : null} {noticeDetail && { this.noticeModel() }} modalVisible={noticeDetail} />} {joinData == '' ? null : { this.noticeModel() }} visible={joinDetail} />} {invitationData == '' ? null : { this.noticeModel() }} visible={invitationDetail} />} diff --git a/src/pages/document.ejs b/src/pages/document.ejs index 16f7bfc..d938111 100644 --- a/src/pages/document.ejs +++ b/src/pages/document.ejs @@ -13,13 +13,13 @@ - + @@ -27,7 +27,7 @@ - -->