import React, { Component } from 'react'; import { connect } from 'dva'; import { Button, Menu, Dropdown, Icon, Row, Col, Steps, Card, Popover, Badge, Table, Tooltip } from 'antd'; import PageHeaderLayout from '../../layouts/PageHeaderLayout'; import DescriptionList from '../../components/DescriptionList'; import styles from './AdvancedProfile.less'; const { Step } = Steps; const { Description } = DescriptionList; const menu = ( 选项一 选项二 选项三 ); const action = (
); const extra = (
状态
待审批
订单金额
¥ 568.08
); const description = ( 曲丽丽 12421 2017-07-07 2017-07-07 ~ 2017-08-08 修改公司地址:浙江省杭州市西湖区工专路 ); const tabList = [{ key: 'detail', tab: '详情', }, { key: 'rule', tab: '规则', }]; const desc1 = (
曲丽丽
2016-12-12 12:32
); const desc2 = (
周毛毛
催一下
); const popoverContent = (
吴加号

耗时:2小时25分钟

); const customDot = (dot, { status }) => (status === 'process' ? {dot} : dot ); const operationTabList = [{ key: 'tab1', tab: '操作日志一', }, { key: 'tab2', tab: '操作日志二', }, { key: 'tab3', tab: '操作日志三', }]; const columns = [{ title: '操作类型', dataIndex: 'type', key: 'type', }, { title: '操作人', dataIndex: 'name', key: 'name', }, { title: '执行结果', dataIndex: 'status', key: 'status', render: text => ( text === 'agree' ? : ), }, { title: '操作时间', dataIndex: 'updatedAt', key: 'updatedAt', }, { title: '备注', dataIndex: 'memo', key: 'memo', }]; @connect(state => ({ profile: state.profile, })) export default class AdvancedProfile extends Component { state = { operationkey: 'tab1', } componentDidMount() { const { dispatch } = this.props; dispatch({ type: 'profile/fetchAdvanced', }); } onOperationTabChange = (key) => { this.setState({ operationkey: key }); } render() { const { profile } = this.props; const { advancedLoading, advancedOperation1, advancedOperation2, advancedOperation3 } = profile; const contentList = { tab1: , tab2:
, tab3:
, }; return ( } action={action} content={description} extraContent={extra} tabList={tabList} > 付小小 32943898021309809423 3321944288191034921 18322193472 曲丽丽 18100000000 浙江省杭州市西湖区黄姑山路工专路交叉路口 725 2017-08-08 某某数据 } > 725 2017-08-08 林东东 1234567 XX公司 - YY部 2017-08-08 这段描述很长很长很长很长很长很长很长很长很长很长很长很长很长很长...
Citrullus lanatus (Thunb.) Matsum. et Nakai一年生蔓生藤本;茎、枝粗壮,具明显的棱。卷须较粗..
付小小 1234568
暂无数据
{contentList[this.state.operationkey]} ); } }