Commit e331636e authored by 李纪文's avatar 李纪文

feat: 修复historyinfo

parent 87f1ac3b
...@@ -138,6 +138,7 @@ ...@@ -138,6 +138,7 @@
}, },
"dependencies": { "dependencies": {
"@wisdom-components/Empty": "^1.0.1", "@wisdom-components/Empty": "^1.0.1",
"@wisdom-components/timerangepicker": "^1.1.0",
"classnames": "^2.2.6", "classnames": "^2.2.6",
"cross-spawn": "^7.0.3", "cross-spawn": "^7.0.3",
"highcharts": "^9.0.1", "highcharts": "^9.0.1",
......
...@@ -5,7 +5,7 @@ import Highcharts from 'highcharts/highstock'; ...@@ -5,7 +5,7 @@ import Highcharts from 'highcharts/highstock';
import HighchartsReact from 'highcharts-react-official'; import HighchartsReact from 'highcharts-react-official';
import { Tabs, Select, Radio, Checkbox, Table, ConfigProvider, DatePicker } from 'antd'; import { Tabs, Select, Radio, Checkbox, Table, ConfigProvider, DatePicker } from 'antd';
import { PlusCircleOutlined } from '@ant-design/icons'; import { PlusCircleOutlined } from '@ant-design/icons';
import TimeRangePicker from '@wisdom-components/timerangepicker'; //import TimeRangePicker from '@wisdom-components/timerangepicker';
import Empty from '@wisdom-components/Empty'; import Empty from '@wisdom-components/Empty';
import moment from 'moment'; import moment from 'moment';
import './index.less'; import './index.less';
...@@ -228,11 +228,11 @@ const HistoryInfo = (props) => { ...@@ -228,11 +228,11 @@ const HistoryInfo = (props) => {
</Radio.Group> </Radio.Group>
{timeValue === 'customer' && ( // 自定义 {timeValue === 'customer' && ( // 自定义
<> <>
<TimeRangePicker {/* <TimeRangePicker
onChange={onCustomerTimeChange} onChange={onCustomerTimeChange}
value={customerChecked} value={customerChecked}
dataSource={timeList} dataSource={timeList}
/> /> */}
<RangePicker <RangePicker
className={classNames(`${prefixCls}-customer`)} className={classNames(`${prefixCls}-customer`)}
onChange={onCustomerRangeChange} onChange={onCustomerRangeChange}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment