umi-tablayout
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import React, { PureComponent } from 'react';
|
||||
import { Row, Col, Tooltip, Card, List, DatePicker, Button, Statistic, Modal } from 'antd';
|
||||
import { history } from 'umi';
|
||||
import { history } from '@umijs/max';
|
||||
import { connect } from 'dva';
|
||||
import './index.less';
|
||||
import talkPng from '@/images/talk/talk.png';
|
||||
@ -118,9 +118,9 @@ class Jury extends PureComponent {
|
||||
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> */}
|
||||
<div className="dashboard" style={{ height: innerHeight - 70, overflow: "hidden" }}>
|
||||
<div className="dashboard" style={{ height: '100%', overflow: "hidden" }}>
|
||||
<Row className="topt">
|
||||
<Col span={12}><Card title="我参与的项目数量统计" bordered={false} className="cardtreJury" style={{ marginRight: "10px" }} loading={staloading} extra={<div style={{ marginTop: "-14px" }}><DatePicker showNow={false} picker="month" style={{ marginRight: "10px" }} value={datevalue} onChange={this.onChange} allowClear={false} /><Button type="primary" onClick={() => { this.onSearch() }}>确定</Button></div>}>
|
||||
<Col span={12}><Card title="我参与的项目数量统计" bordered={false} className="cardtreJury" style={{ marginRight: "10px" }} loading={staloading} extra={<div><DatePicker showNow={false} picker="month" style={{ marginRight: "10px" }} value={datevalue} onChange={this.onChange} allowClear={false} /><Button type="primary" onClick={() => { this.onSearch() }}>确定</Button></div>}>
|
||||
{Juryuplist != "" && Juryuplist.map((item) => {
|
||||
let routerPath = ''
|
||||
// if (item.key == '公开招标') {
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React, { PureComponent } from 'react';
|
||||
import { history } from 'umi';
|
||||
import { history } from '@umijs/max';
|
||||
import { Row, Col, Tooltip, Card, List, DatePicker, Button, Statistic, Spin, Empty, message,Popconfirm } from 'antd';
|
||||
import { connect } from 'dva';
|
||||
import './index.less';
|
||||
@ -185,7 +185,7 @@ class manager extends PureComponent {
|
||||
>
|
||||
<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: '100%', 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.map((item, index) => {
|
||||
|
@ -1,15 +1,15 @@
|
||||
@import '~antd/es/style/themes/default.less';
|
||||
|
||||
|
||||
.dashboard{
|
||||
width:100%;
|
||||
height:calc(~"100% - 80px");
|
||||
height: 100%;
|
||||
min-width: 1090px;
|
||||
min-height: 775px;
|
||||
.topt{
|
||||
width:100%;
|
||||
height:43%;
|
||||
background:#F0F2F5;
|
||||
padding:10px 10px 10px 10px;
|
||||
padding:0 0 10px 0;
|
||||
margin-bottom: 10px;
|
||||
border-radius: 5px;
|
||||
overflow-y:hidden;
|
||||
@ -17,6 +17,7 @@
|
||||
color:@primary-color;
|
||||
font-size:12px;
|
||||
cursor: pointer;
|
||||
line-height: 32px;
|
||||
}
|
||||
.cardtresupplier{
|
||||
height:100%;
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React, { PureComponent } from 'react';
|
||||
import { history } from 'umi';
|
||||
import { history } from '@umijs/max';
|
||||
import { Row, Col, Tooltip, Card, List, DatePicker, Button, Statistic, Spin, Empty, message, Modal,Popconfirm, Space } from 'antd';
|
||||
// import PageHeaderWrapper from '@/components/PageHeaderWrapper';
|
||||
import { connect } from 'dva';
|
||||
@ -230,7 +230,7 @@ class manager extends PureComponent {
|
||||
kefuTip: true
|
||||
})
|
||||
}}>平台操作咨询︵<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: '100%', 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')
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React, { PureComponent } from 'react';
|
||||
import { history } from 'umi';
|
||||
import { history } from '@umijs/max';
|
||||
import { Row, Col, Tooltip, Card, List, DatePicker, Button, Statistic, Spin, Empty, message } from 'antd';
|
||||
import { connect } from 'dva';
|
||||
import './index.less';
|
||||
@ -52,7 +52,7 @@ class manager extends PureComponent {
|
||||
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> */}
|
||||
<div className="dashboard" style={{ height: innerHeight - 70, overflow: "hidden" }}>
|
||||
<div className="dashboard" style={{ height: '100%', overflow: "hidden" }}>
|
||||
<Row className="topt">
|
||||
<Col span={24}><Card title="系统公告" bordered={false} className="cardtre" extra={<div className="moret" onClick={() => history.push('/notice/noticeList')}>更多<RightOutlined /></div>}>
|
||||
{tlist != [] && tlist.map((item, index) => {
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React, { PureComponent } from 'react';
|
||||
import { history } from 'umi';
|
||||
import { history } from '@umijs/max';
|
||||
import { Row, Col, Tooltip, Card, List, DatePicker, Button, Statistic, Spin, Empty, message } from 'antd';
|
||||
import { connect } from 'dva';
|
||||
import './index.less';
|
||||
@ -51,7 +51,7 @@ class manager extends PureComponent {
|
||||
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> */}
|
||||
<div className="dashboard" style={{ height: innerHeight - 70, overflow: "hidden" }}>
|
||||
<div className="dashboard" style={{ height: '100%', overflow: "hidden" }}>
|
||||
<Row className="topt">
|
||||
<Col span={24}><Card title="系统公告" bordered={false} className="cardtre" extra={<div className="moret" onClick={() => history.push('/notice/noticeList')}>更多<RightOutlined /></div>}>
|
||||
{tlist != [] && tlist.map((item, index) => {
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React, { PureComponent } from 'react';
|
||||
import { history } from 'umi';
|
||||
import { history } from '@umijs/max';
|
||||
import { Row, Col, Tooltip, Card, List, DatePicker, Button, Statistic, Spin, Empty, message, Popconfirm, Space } from 'antd';
|
||||
import { connect } from 'dva';
|
||||
import './index.less';
|
||||
@ -205,7 +205,7 @@ class manager extends PureComponent {
|
||||
kefuTip: true
|
||||
})
|
||||
}}>平台操作咨询︵<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: '100%', 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.map((item, index) => {
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React, {PureComponent, useRef} from 'react';
|
||||
import { history } from 'umi';
|
||||
import { history } from '@umijs/max';
|
||||
import {
|
||||
Row,
|
||||
Col,
|
||||
@ -318,7 +318,7 @@ class manager extends PureComponent {
|
||||
kefuTip: true
|
||||
})
|
||||
}}>平台操作咨询︵<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: '100%', overflow: "hidden" }}>
|
||||
<Row className="topt">
|
||||
<Col span={12}><Card title="我的消息" bordered={false} className="cardtre" style={{ marginRight: "10px" }} extra={<div className="moret" onClick={() => history.push('/SystemMessage/message')}>更多<RightOutlined /></div>}>
|
||||
{trelist != [] && trelist.map((item, index) => {
|
||||
|
@ -1,6 +1,6 @@
|
||||
import React, { PureComponent } from 'react';
|
||||
import { Row, Col, Tooltip, Card, List, DatePicker, Button, Statistic,Popconfirm, Space } from 'antd';
|
||||
import { history } from 'umi';
|
||||
import { history } from '@umijs/max';
|
||||
// import PageHeaderWrapper from '@/components/PageHeaderWrapper';
|
||||
import { connect } from 'dva';
|
||||
import './index.less';
|
||||
@ -240,7 +240,7 @@ class supplier extends PureComponent {
|
||||
kefuTip: true
|
||||
})
|
||||
}}>平台操作咨询︵<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: '100%', 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) => {
|
||||
|
Reference in New Issue
Block a user