|
|
@ -402,7 +402,7 @@ export default { |
|
|
|
toPrint() { |
|
|
|
if (this.sids.length === 1) { |
|
|
|
if (this.multipleSelection[0].isOutFactory === '是') { |
|
|
|
req.printCard({ sid: this.sids[0] }).then((res) => { |
|
|
|
req.createPdf({ sid: this.sids[0] }).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) |
|
|
|