|
@@ -81,8 +81,8 @@ function ProjectTree(props) {
|
|
|
};
|
|
|
const handleSearch = () => {
|
|
|
const { time } = form.getFieldsValue();
|
|
|
- filterRef.current.s_time = time[0] ? moment(time[0]).format('YYYY-MM') : null;
|
|
|
- filterRef.current.e_time = time[1] ? moment(time[1]).format('YYYY-MM') : null;
|
|
|
+ filterRef.current.s_time = time[0] ? moment(time[0]).format('YYYY-MM-DD') : null;
|
|
|
+ filterRef.current.e_time = time[1] ? moment(time[1]).format('YYYY-MM-DD') : null;
|
|
|
|
|
|
dispatch({
|
|
|
type: 'report/queryProjectReportNew',
|