|
|
@ -466,7 +466,7 @@ export default { |
|
|
|
this.dialogUrl = row.payFile |
|
|
|
}, |
|
|
|
handlePrint(row) { |
|
|
|
req.createPdf({ sid: row.sid }).then((resp) => { |
|
|
|
req.createPdf({ sid: row.sid, userName: window.sessionStorage.getItem('name') }).then((resp) => { |
|
|
|
if (resp.success && resp.data.pdfPath !== '') { |
|
|
|
var xhr = new XMLHttpRequest() |
|
|
|
xhr.open('GET', process.env.VUE_APP_BASE_API + '/base/file/download?filePath=' + resp.data.pdfPath + '&outFileName=' + '出纳', true) |
|
|
|