|
|
@ -287,7 +287,7 @@ export default { |
|
|
|
}) |
|
|
|
}, |
|
|
|
handlePrint() { |
|
|
|
createPdf({ sid: this.formobj.sid }).then((resp) => { |
|
|
|
createPdf({ sid: this.formobj.sid, name: window.sessionStorage.getItem('name') }).then((resp) => { |
|
|
|
if (resp.success) { |
|
|
|
var xhr = new XMLHttpRequest() |
|
|
|
xhr.open('GET', process.env.VUE_APP_BASE_API + '/base/file/download?filePath=' + resp.data + '&outFileName=' + '财务', true) |
|
|
|