福利核算刷新页面
This commit is contained in:
parent
1823149ae2
commit
709deef5a6
|
|
@ -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 })
|
||||
}
|
||||
|
||||
// 搜索
|
||||
|
|
|
|||
|
|
@ -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 } =
|
||||
|
|
|
|||
|
|
@ -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 请求数据
|
||||
|
|
|
|||
Loading…
Reference in New Issue