|
@@ -51,7 +51,16 @@ function header(props) {
|
51
|
51
|
}
|
52
|
52
|
|
53
|
53
|
const changePageNum = (pageNumber) => {
|
54
|
|
- getList({ pageNum: pageNumber, pageSize: 12 })
|
|
54
|
+ let {createDate, ...submitValue} = props.form.getFieldsValue()
|
|
55
|
+ if(null != createDate && createDate.length > 0){
|
|
56
|
+ const [startCreateDate, endCreateDate] = createDate
|
|
57
|
+ submitValue.startCreateDate = moment(startCreateDate).format('YYYY-MM-DD');
|
|
58
|
+ submitValue.endCreateDate = moment(endCreateDate).format('YYYY-MM-DD');
|
|
59
|
+ }else{
|
|
60
|
+ submitValue.startCreateDate = null
|
|
61
|
+ submitValue.endCreateDate = null
|
|
62
|
+ }
|
|
63
|
+ getList({ pageNum: pageNumber, pageSize: 12, ...submitValue })
|
55
|
64
|
}
|
56
|
65
|
|
57
|
66
|
|