加Popconfirm
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
import React, { PureComponent } from 'react';
|
import React, { PureComponent } from 'react';
|
||||||
import { history } from 'umi';
|
import { history } from 'umi';
|
||||||
import { Row, Col, Tooltip, Card, List, DatePicker, Button, Statistic, Spin, Empty, message } from 'antd';
|
import { Row, Col, Tooltip, Card, List, DatePicker, Button, Statistic, Spin, Empty, message,Popconfirm } from 'antd';
|
||||||
import { connect } from 'dva';
|
import { connect } from 'dva';
|
||||||
import './index.less';
|
import './index.less';
|
||||||
import talkPng from '@/images/talk/talk.png';
|
import talkPng from '@/images/talk/talk.png';
|
||||||
@ -174,7 +174,18 @@ class manager extends PureComponent {
|
|||||||
const { datevalue, messId, messageDetail, detailId, noticeDetail, questData, questVisible, } = this.state;
|
const { datevalue, messId, messageDetail, detailId, noticeDetail, questData, questVisible, } = this.state;
|
||||||
return (
|
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>
|
<Popconfirm
|
||||||
|
title={()=>{
|
||||||
|
return <><p>您好,系统操作咨询仅可以解决您在平台的操作问题,如想了解发票、保证金及项目相关问题请点击具体项目的咨询窗口进行咨询。</p>
|
||||||
|
<p>是否还要继续咨询系统操作问题?</p></>
|
||||||
|
}}
|
||||||
|
onConfirm={()=>this.initChatUI()}
|
||||||
|
okText="是"
|
||||||
|
cancelText="否"
|
||||||
|
>
|
||||||
|
<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>
|
||||||
|
</Popconfirm>
|
||||||
|
{/* <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" }}>
|
<div className="dashboard" style={{ height: innerHeight - 70, overflow: "hidden" }}>
|
||||||
<Row className="topt">
|
<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>}>
|
<Col span={8}><Card title="我的消息" bordered={false} className="cardtre" style={{ marginRight: "10px" }} extra={<div className="moret" onClick={() => history.push('/SystemMessage/message')}>更多<RightOutlined /></div>}>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import React, { PureComponent } from 'react';
|
import React, { PureComponent } from 'react';
|
||||||
import { history } from 'umi';
|
import { history } from 'umi';
|
||||||
import { Row, Col, Tooltip, Card, List, DatePicker, Button, Statistic, Spin, Empty, message, Modal } from 'antd';
|
import { Row, Col, Tooltip, Card, List, DatePicker, Button, Statistic, Spin, Empty, message, Modal,Popconfirm } from 'antd';
|
||||||
// import PageHeaderWrapper from '@/components/PageHeaderWrapper';
|
// import PageHeaderWrapper from '@/components/PageHeaderWrapper';
|
||||||
import { connect } from 'dva';
|
import { connect } from 'dva';
|
||||||
import './index.less';
|
import './index.less';
|
||||||
@ -223,7 +223,18 @@ class manager extends PureComponent {
|
|||||||
const { datevalue, messId, messageDetail, detailId, noticeDetail, questData, questVisible, mainDetail, } = this.state;
|
const { datevalue, messId, messageDetail, detailId, noticeDetail, questData, questVisible, mainDetail, } = this.state;
|
||||||
return (
|
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>
|
<Popconfirm
|
||||||
|
title={()=>{
|
||||||
|
return <><p>您好,系统操作咨询仅可以解决您在平台的操作问题,如想了解发票、保证金及项目相关问题请点击具体项目的咨询窗口进行咨询。</p>
|
||||||
|
<p>是否还要继续咨询系统操作问题?</p></>
|
||||||
|
}}
|
||||||
|
onConfirm={()=>this.initChatUI()}
|
||||||
|
okText="是"
|
||||||
|
cancelText="否"
|
||||||
|
>
|
||||||
|
<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>
|
||||||
|
</Popconfirm>
|
||||||
|
{/* <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" }}>
|
<div className="dashboard" style={{ height: innerHeight - 70, overflow: "hidden" }}>
|
||||||
<Row className="topt">
|
<Row className="topt">
|
||||||
<Col span={8}><Card title="我的消息" bordered={false} className="cardtre" style={{ marginRight: "10px" }} extra={<div className="moret" onClick={() => {
|
<Col span={8}><Card title="我的消息" bordered={false} className="cardtre" style={{ marginRight: "10px" }} extra={<div className="moret" onClick={() => {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import React, { PureComponent } from 'react';
|
import React, { PureComponent } from 'react';
|
||||||
import { history } from 'umi';
|
import { history } from 'umi';
|
||||||
import { Row, Col, Tooltip, Card, List, DatePicker, Button, Statistic, Spin, Empty, message } from 'antd';
|
import { Row, Col, Tooltip, Card, List, DatePicker, Button, Statistic, Spin, Empty, message, Popconfirm } from 'antd';
|
||||||
import { connect } from 'dva';
|
import { connect } from 'dva';
|
||||||
import './index.less';
|
import './index.less';
|
||||||
import talkPng from '@/images/talk/talk.png';
|
import talkPng from '@/images/talk/talk.png';
|
||||||
@ -198,7 +198,18 @@ class manager extends PureComponent {
|
|||||||
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 (
|
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>
|
<Popconfirm
|
||||||
|
title={()=>{
|
||||||
|
return <><p>您好,系统操作咨询仅可以解决您在平台的操作问题,如想了解发票、保证金及项目相关问题请点击具体项目的咨询窗口进行咨询。</p>
|
||||||
|
<p>是否还要继续咨询系统操作问题?</p></>
|
||||||
|
}}
|
||||||
|
onConfirm={()=>this.initChatUI()}
|
||||||
|
okText="是"
|
||||||
|
cancelText="否"
|
||||||
|
>
|
||||||
|
<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>
|
||||||
|
</Popconfirm>
|
||||||
|
{/* <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" }}>
|
<div className="dashboard" style={{ height: innerHeight - 70, overflow: "hidden" }}>
|
||||||
<Row className="topt">
|
<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>}>
|
<Col span={8}><Card title="我的消息" bordered={false} className="cardtre" style={{ marginRight: "10px" }} extra={<div className="moret" onClick={() => history.push('/SystemMessage/message')}>更多<RightOutlined /></div>}>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import React, { PureComponent } from 'react';
|
import React, { PureComponent } from 'react';
|
||||||
import { history } from 'umi';
|
import { history } from 'umi';
|
||||||
import { Row, Col, Tooltip, Card, List, DatePicker, Button, Statistic, Spin, Empty, message } from 'antd';
|
import { Row, Col, Tooltip, Card, List, DatePicker, Button, Statistic, Spin, Empty, message,Popconfirm } from 'antd';
|
||||||
// import PageHeaderWrapper from '@/components/PageHeaderWrapper';
|
// import PageHeaderWrapper from '@/components/PageHeaderWrapper';
|
||||||
import { connect } from 'dva';
|
import { connect } from 'dva';
|
||||||
import './index.less';
|
import './index.less';
|
||||||
@ -188,7 +188,18 @@ class manager extends PureComponent {
|
|||||||
const { datevalue, messId, messageDetail, detailId, noticeDetail, questData, questVisible, mainDetail, } = this.state; //智慧客服state
|
const { datevalue, messId, messageDetail, detailId, noticeDetail, questData, questVisible, mainDetail, } = this.state; //智慧客服state
|
||||||
return (
|
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>
|
<Popconfirm
|
||||||
|
title={()=>{
|
||||||
|
return <><p>您好,系统操作咨询仅可以解决您在平台的操作问题,如想了解发票、保证金及项目相关问题请点击具体项目的咨询窗口进行咨询。</p>
|
||||||
|
<p>是否还要继续咨询系统操作问题?</p></>
|
||||||
|
}}
|
||||||
|
onConfirm={()=>this.initChatUI()}
|
||||||
|
okText="是"
|
||||||
|
cancelText="否"
|
||||||
|
>
|
||||||
|
<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>
|
||||||
|
</Popconfirm>
|
||||||
|
{/* <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" }}>
|
<div className="dashboard" style={{ height: innerHeight - 70, overflow: "hidden" }}>
|
||||||
<Row className="topt">
|
<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>}>
|
<Col span={8}><Card title="我的消息" bordered={false} className="cardtre" style={{ marginRight: "10px" }} extra={<div className="moret" onClick={() => history.push('/SystemMessage/message')}>更多<RightOutlined /></div>}>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import React, { PureComponent } from 'react';
|
import React, { PureComponent } from 'react';
|
||||||
import { Row, Col, Tooltip, Card, List, DatePicker, Button, Statistic } from 'antd';
|
import { Row, Col, Tooltip, Card, List, DatePicker, Button, Statistic,Popconfirm } from 'antd';
|
||||||
import { history } from 'umi';
|
import { history } from 'umi';
|
||||||
// import PageHeaderWrapper from '@/components/PageHeaderWrapper';
|
// import PageHeaderWrapper from '@/components/PageHeaderWrapper';
|
||||||
import { connect } from 'dva';
|
import { connect } from 'dva';
|
||||||
@ -233,7 +233,17 @@ class supplier extends PureComponent {
|
|||||||
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 (
|
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>
|
<Popconfirm
|
||||||
|
title={()=>{
|
||||||
|
return <><p>您好,系统操作咨询仅可以解决您在平台的操作问题,如想了解发票、保证金及项目相关问题请点击具体项目的咨询窗口进行咨询。</p>
|
||||||
|
<p>是否还要继续咨询系统操作问题?</p></>
|
||||||
|
}}
|
||||||
|
onConfirm={()=>this.initChatUI()}
|
||||||
|
okText="是"
|
||||||
|
cancelText="否"
|
||||||
|
>
|
||||||
|
<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>
|
||||||
|
</Popconfirm>
|
||||||
<div className="dashboard" style={{ height: innerHeight - 70, overflow: "hidden" }}>
|
<div className="dashboard" style={{ height: innerHeight - 70, overflow: "hidden" }}>
|
||||||
<Row className="topt">
|
<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>}>
|
<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