release/2.19.1.2501.01
This commit is contained in:
parent
d652b2cdc6
commit
9a50947d8a
|
|
@ -39,8 +39,8 @@ class Index extends Component {
|
||||||
const { data: sysData } = await sysinfo();
|
const { data: sysData } = await sysinfo();
|
||||||
const { pageInfo } = this.state, { queryParams } = props;
|
const { pageInfo } = this.state, { queryParams } = props;
|
||||||
const { dateRange, ...extra } = queryParams;
|
const { dateRange, ...extra } = queryParams;
|
||||||
const [fromSalaryMonthStr, endSalaryMonthStr] = dateRange || [];
|
const [fromSalaryMonth, endSalaryMonth] = dateRange || [];
|
||||||
const params = { fromSalaryMonthStr, endSalaryMonthStr, ...extra };
|
const params = { fromSalaryMonth: fromSalaryMonth + "-01", endSalaryMonth: endSalaryMonth + "-01", ...extra };
|
||||||
const payload = { ...pageInfo, ...params };
|
const payload = { ...pageInfo, ...params };
|
||||||
this.setState({ loading: true });
|
this.setState({ loading: true });
|
||||||
getDeclareList(payload).then(({ status, data }) => {
|
getDeclareList(payload).then(({ status, data }) => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue