feature/2.9.42310.01-社保档案操作日志
This commit is contained in:
parent
510e46045e
commit
967d0bacd1
|
|
@ -43,10 +43,10 @@ class Index extends Component {
|
|||
}
|
||||
}
|
||||
|
||||
getAdjustHistoryList = () => {
|
||||
getAdjustHistoryList = (extra = {}) => {
|
||||
const { pageInfo } = this.state;
|
||||
const { archivesStore: { logForm } } = this.props;
|
||||
const payload = { ...pageInfo, ...logForm.getFormParams() };
|
||||
const payload = { ...pageInfo, ...logForm.getFormParams(), ...extra };
|
||||
this.setState({ loading: true });
|
||||
getAdjustHistoryList(payload).then(({ status, data }) => {
|
||||
this.setState({ loading: false });
|
||||
|
|
@ -65,7 +65,6 @@ class Index extends Component {
|
|||
}).catch(() => this.setState({ loading: false }));
|
||||
};
|
||||
|
||||
|
||||
render() {
|
||||
const { loading, dataSource, columns, pageInfo, conditions } = this.state;
|
||||
const { archivesStore: { logForm } } = this.props;
|
||||
|
|
@ -103,7 +102,7 @@ class Index extends Component {
|
|||
}}
|
||||
>
|
||||
<div className="logDialogContent">
|
||||
{getLogSearchsForm(logForm, conditions, () => this.getAdjustHistoryList())}
|
||||
{getLogSearchsForm(logForm, conditions, () => this.getAdjustHistoryList({ current: 1 }))}
|
||||
<WeaTable
|
||||
columns={columns} dataSource={dataSource}
|
||||
loading={loading} className="logTable"
|
||||
|
|
|
|||
Loading…
Reference in New Issue