custom-中航富士达

This commit is contained in:
lys 2025-03-06 14:48:41 +08:00
parent 17a44504df
commit 6740dc199e
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ class WelfareRecordList extends Component {
const payload = {
billMonth: params.billMonth,
paymentOrganization: params.paymentOrganizationId,
fsdSbjndw: params.fsdSbjndw,
fsdSbjndw: params.fsdSbjndw || "",
type: id === "VIEW" ? "detail" : ""
};
window.open(`/spa/hrmSalary/static/index.html#/main/hrmSalary/socialSecurityBenefits/standingBookDetail?${convertToUrlString(payload)}`);

View File

@ -26,7 +26,7 @@ export const convertToUrlString = (data) => {
const _result = [];
for (const key in data) {
const value = data[key];
if (value.constructor === Array) {
if (Object.prototype.toString.call(value) === "[object Array]") {
value.forEach(function (_value) {
_result.push(key + "=" + _value);
});