main
kgdxpr 2 years ago
parent 9f07a34821
commit 8e6e49ef67

@ -154,7 +154,7 @@
});
window.download = function (obj) {
window.location = '/QingLong/collect/getJobBureauFillInfo?job_id=' + obj.data.job_id + '&bureau_id=' + obj.data.target_id + '&type_id=1';
window.location = '/QingLong/collect/getJobBureauFillInfo?job_id=' + obj.data.job_id + '&bureau_id=' + obj.data.target_id + '&type_id=1' + '&status_code=' + obj.data.status_code;
}
window.view = function (obj) {
@ -170,7 +170,7 @@
content: "../form/view_bureau.html?job_id=" + obj.data.job_id + "&target_id=" + obj.data.target_id + "&status_code=" + obj.data.status_code
});
} else {
var base64Url = Base64.encode('/QingLong/collect/getJobBureauFillInfo?job_id=' + obj.data.job_id + '&bureau_id=' + obj.data.target_id + '&type_id=2');
var base64Url = Base64.encode('/QingLong/collect/getJobBureauFillInfo?job_id=' + obj.data.job_id + '&bureau_id=' + obj.data.target_id + '&type_id=2' + '&status_code=' + obj.data.status_code);
window.open('../exportPdf.html?url=' + base64Url, '_blank');
}
}

@ -159,7 +159,7 @@
});
window.download = function (obj) {
window.location = '/QingLong/collect/getJobBureauFillInfo?job_id=' + obj.data.job_id + '&bureau_id=' + obj.data.target_id + '&type_id=1';
window.location = '/QingLong/collect/getJobBureauFillInfo?job_id=' + obj.data.job_id + '&bureau_id=' + obj.data.target_id + '&type_id=1' + '&status_code=' + obj.data.status_code;
}
window.view = function (obj) {
@ -178,7 +178,7 @@
}
});
} else {
var base64Url = Base64.encode('/QingLong/collect/getJobBureauFillInfo?job_id=' + obj.data.job_id + '&bureau_id=' + obj.data.target_id + '&type_id=2');
var base64Url = Base64.encode('/QingLong/collect/getJobBureauFillInfo?job_id=' + obj.data.job_id + '&bureau_id=' + obj.data.target_id + '&type_id=2' + '&status_code=' + obj.data.status_code);
window.open('../exportPdf.html?url=' + base64Url, '_blank');
}
}

Loading…
Cancel
Save