diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/components/welfareRecordList.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/components/welfareRecordList.js index 1dca4635..f2a355dd 100644 --- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/components/welfareRecordList.js +++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/components/welfareRecordList.js @@ -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)}`); diff --git a/pc4mobx/hrmSalary/util/url.js b/pc4mobx/hrmSalary/util/url.js index d2802383..9efb536b 100644 --- a/pc4mobx/hrmSalary/util/url.js +++ b/pc4mobx/hrmSalary/util/url.js @@ -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); });