薪资核算详情页面列表bug修改
This commit is contained in:
parent
b8f941d575
commit
7d5c026611
|
|
@ -42,6 +42,20 @@ export default class PlaceOnFileDetail extends React.Component {
|
|||
if (type === "PR") {
|
||||
if (id === "BATCHDELETE") {
|
||||
this.setState({ selectedRowKeys: record });
|
||||
}else if (id === "PAGEINFO") {
|
||||
const { pageNum: current, size: pageSize } = record;
|
||||
this.pageInfo = { current, pageSize };
|
||||
const payload = {
|
||||
type: "PR",
|
||||
listType: "",
|
||||
url: "/api/bs/hrmsalary/salaryacct/acctresult/list",
|
||||
queryParams: {
|
||||
salaryAcctRecordId,
|
||||
employeeName: this.state.searchValue,
|
||||
current, pageSize
|
||||
}
|
||||
};
|
||||
childFrameObj.contentWindow.postMessage(JSON.stringify(payload), "*");
|
||||
}
|
||||
} else {
|
||||
const payload = {
|
||||
|
|
@ -54,7 +68,7 @@ export default class PlaceOnFileDetail extends React.Component {
|
|||
employeeName: this.state.searchValue
|
||||
}
|
||||
};
|
||||
childFrameObj.contentWindow.postMessage(JSON.stringify(payload), "*");
|
||||
type && childFrameObj.contentWindow.postMessage(JSON.stringify(payload), "*");
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ export default class SalaryDetail extends React.Component {
|
|||
employeeName: this.props.employeeName
|
||||
}
|
||||
};
|
||||
childFrameObj.contentWindow.postMessage(JSON.stringify(payload), "*");
|
||||
type && childFrameObj.contentWindow.postMessage(JSON.stringify(payload), "*");
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue