|
@@ -17,7 +17,7 @@ const { RangePicker } = DatePicker;
|
17
|
17
|
const { Text } = Typography;
|
18
|
18
|
|
19
|
19
|
function record(props) {
|
20
|
|
- const [radioVal, updateRadioVal] = useState(7)
|
|
20
|
+ const [radioVal, updateRadioVal] = useState(6)
|
21
|
21
|
const [formData, updateFormData] = useState({
|
22
|
22
|
pageNum: 1,
|
23
|
23
|
pageSize: 10,
|
|
@@ -332,8 +332,9 @@ function record(props) {
|
332
|
332
|
<Form layout="inline">
|
333
|
333
|
<div style={{ display: 'flex', alignItems: 'center' }}>
|
334
|
334
|
<Radio.Group buttonStyle="solid" value={radioVal} onChange={setFormData} style={{ marginRight: '16px', }}>
|
335
|
|
- <Radio.Button value={7}>最近7天</Radio.Button>
|
336
|
|
- <Radio.Button value={30}>最近1月</Radio.Button>
|
|
335
|
+ <Radio.Button value={0}>今日</Radio.Button>
|
|
336
|
+ <Radio.Button value={6}>最近7天</Radio.Button>
|
|
337
|
+ <Radio.Button value={29}>最近1月</Radio.Button>
|
337
|
338
|
</Radio.Group>
|
338
|
339
|
<Form.Item>
|
339
|
340
|
<RangePicker value={dateRange} onChange={handleDateChange} placeholder={['开始日期', '结束日期']} />
|