feature/2.9.42310.01-工资单发放导出PDF

20230926
This commit is contained in:
黎永顺 2023-09-27 09:21:53 +08:00
parent 4bb3bc403a
commit 3d8bef9147
1 changed files with 3 additions and 3 deletions

View File

@ -326,7 +326,7 @@ export default class PayrollGrant extends React.Component {
<a
href="javascript:void(0);"
onClick={() => {
window.open(`${window.ecologyContentPath || ""}/api/bs/hrmsalary/salaryBill/send/exportPdf?id=${record.id}`, "_blank");
window.open(`${window.ecologyContentPath || ""}/api/bs/hrmsalary/salaryBill/exportPdf?id=${record.id}&salarySendId=${getQueryString("id")}`, "_blank");
}}>
{getLabel(111, "导出PDF")}
</a>
@ -338,7 +338,7 @@ export default class PayrollGrant extends React.Component {
<a
href="javascript:void(0);"
onClick={() => {
window.open(`${window.ecologyContentPath || ""}/api/bs/hrmsalary/salaryBill/send/exportPdf?id=${record.id}`, "_blank");
window.open(`${window.ecologyContentPath || ""}/api/bs/hrmsalary/salaryBill/exportPdf?id=${record.id}&salarySendId=${getQueryString("id")}`, "_blank");
}}>
{getLabel(111, "导出PDF")}
</a>
@ -382,7 +382,7 @@ export default class PayrollGrant extends React.Component {
this.handleExportSelect();
break;
case "5":
window.open(`${window.ecologyContentPath || ""}/api/bs/hrmsalary/salaryBill/send/exportPdf?salarySendId=${getQueryString("id")}`, "_blank");
window.open(`${window.ecologyContentPath || ""}/api/bs/hrmsalary/salaryBill/exportPdf?salarySendId=${getQueryString("id")}&id=`, "_blank");
break;
default:
break;