diff --git a/src/routes/Dashboard/Analysis.js b/src/routes/Dashboard/Analysis.js index 3f69f798e1d5c9643a8d79674079694ef4f085bf..477fd1fae97373f3059ef6308829f2d5267559b0 100644 --- a/src/routes/Dashboard/Analysis.js +++ b/src/routes/Dashboard/Analysis.js @@ -1,6 +1,6 @@ import React, { Component } from 'react'; import { connect } from 'dva'; -import { Row, Col, Icon, Card, Tabs, Table, Radio, DatePicker, Tooltip } from 'antd'; +import { Row, Col, Icon, Card, Tabs, Table, Radio, DatePicker, Tooltip, Menu, Dropdown } from 'antd'; import numeral from 'numeral'; import { ChartCard, yuan, MiniArea, MiniBar, MiniProgress, Field, Bar, Pie, TimelineChart, @@ -108,9 +108,18 @@ export default class Analysis extends Component { : (salesType === 'online' ? salesTypeDataOnline : salesTypeDataOffline); + const menu = ( +
+ ); + const iconGroup = ( -