Merge branch 'feature/v2-社保福利档案调差退差-1208' into develop

This commit is contained in:
黎永顺 2022-12-16 17:00:42 +08:00
commit e0217ff455
1 changed files with 11 additions and 2 deletions

View File

@ -148,8 +148,8 @@ class Index extends Component {
const { taxAgentStore } = this.props;
const { getTaxAgentSelectListAsAdmin } = taxAgentStore;
getTaxAgentSelectListAsAdmin();
const init = this.init();
this.queryList("/api/bs/hrmsalary/salaryArchive/pendingList");
const init = this.init();
}
init = async () => {
@ -192,7 +192,16 @@ class Index extends Component {
const { loading, pageInfo, searchItemsValue } = this.state;
const { payrollFilesStore: { tableStore, queryList } } = this.props;
const payload = { ...pageInfo };
this.setState({ loading: { ...loading, query: true } });
this.setState({
loading: { ...loading, query: true },
dataSource: [],
tabCount: {
SUSPEND: 0,
STOP: 0,
FIXED: 0,
PENDING: 0
}
});
queryList(payload, searchItemsValue, url).then(({ data, status }) => {
this.setState({ loading: { ...loading, query: false } });
if (status) {