Browse Source

完善

master
yunuo970428 1 year ago
parent
commit
f9406c90ac
  1. 4
      anrui-riskcenter-ui/src/views/overduereconciliationfinancing/overduereconciliationfinancingInfo.vue

4
anrui-riskcenter-ui/src/views/overduereconciliationfinancing/overduereconciliationfinancingInfo.vue

@ -115,13 +115,13 @@ export default {
req.overdueCreatePdf({ sid: this.formobj.sid }).then((res) => {
if (res.success) {
var xhr = new XMLHttpRequest()
xhr.open('GET', process.env.VUE_APP_BASE_API + '/base/file/download?filePath=' + res.data + '&outFileName=' + '代收代付', true)
xhr.open('GET', process.env.VUE_APP_BASE_API + '/base/file/download?filePath=' + res.data + '&outFileName=' + '逾期对账', true)
xhr.setRequestHeader('token', getStorage())
xhr.responseType = 'blob'
xhr.onload = function(e) {
//
var blob = this.response
var filename = '代收代付.pdf'
var filename = '逾期对账.pdf'
var a = document.createElement('a')
// blob.type="application/octet-stream";
// url

Loading…
Cancel
Save