custom-中航富士达
This commit is contained in:
parent
17a44504df
commit
6740dc199e
|
|
@ -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)}`);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue