福利核算刷新页面

This commit is contained in:
MustangDeng 2022-05-25 13:54:07 +08:00
parent 1823149ae2
commit 709deef5a6
3 changed files with 8 additions and 3 deletions

View File

@ -161,8 +161,7 @@ export default class SalaryFile extends React.Component {
// 页面跳转
handlePageChange = (value) => {
const { salaryFileStore: {getTableDatas, form}} = this.props;
form.updateFields({ current: value })
getTableDatas()
getTableDatas({ current: value })
}
// 搜索

View File

@ -147,6 +147,12 @@ export default class StandingBook extends React.Component {
window.open(
`/spa/hrmSalary/static/index.html#/main/hrmSalary/socialSecurityBenefits/standingBookDetail?billMonth=${billMonth}`
);
setTimeout(() => {
this.getCommonList({
...this.state.tableParams,
current: this.state.current,
});
}, 3000)
};
handleOperate = (payload) => {
const { siaccountFile, siaccountDelete, deleteLoading } =

View File

@ -78,7 +78,7 @@ export class salaryFileStore {
getTableDatas = (params) => {
this.loading = true;
const formParams = this.form.getFormParams() || {};
params = params || formParams;
params = {...formParams, ...params}
API.getArchiveList(params).then(action(res => {
if (res.status) { // 接口请求成功/失败处理
this.tableStore.getDatas(res.data.dataKey.datas); // table 请求数据