Commit cd63ec01 authored by arvin's avatar arvin

Merge branch 'dev' of http://94.191.100.41/tfmom/tf-mom-web into dev

parents dbe3442f 5825ce2b
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -345,7 +345,9 @@ export default { ...@@ -345,7 +345,9 @@ export default {
}) })
}, },
savePDF() { savePDF() {
this.$api.apiDownloadFile(`JobResponseInTest/download/pdf?id=${this.jobResponseInTestData.id}&billType=AirEquipment`) this.$api.apiDownloadFile(`JobResponseInTest/download/pdf?id=${this.jobResponseInTestData.id}&billType=AirEquipment`).then((res) => {
this.$utils.downLoadFile(res, '机载系统设备验收单.pdf')
})
} }
} }
} }
......
...@@ -875,7 +875,9 @@ export default { ...@@ -875,7 +875,9 @@ export default {
// }) // })
// }, // },
savePDF() { savePDF() {
this.$api.apiDownloadFile(`JobResponseInTest/download/pdf?id=${this.jobResponseInTestData.id}&billType=Material`) this.$api.apiDownloadFile(`JobResponseInTest/download/pdf?id=${this.jobResponseInTestData.id}&billType=Material`).then((res) => {
this.$utils.downLoadFile(res, '器材验收单.pdf')
})
}, },
viewDialog() { }, viewDialog() { },
onSubmit() { onSubmit() {
......
...@@ -317,7 +317,9 @@ export default { ...@@ -317,7 +317,9 @@ export default {
}) })
}, },
savePDF() { savePDF() {
this.$api.apiDownloadFile(`JobResponseInTest/download/pdf?id=${this.jobResponseInTestData.id}&billType=OutSource`) this.$api.apiDownloadFile(`JobResponseInTest/download/pdf?id=${this.jobResponseInTestData.id}&billType=OutSource`).then((res) => {
this.$utils.downLoadFile(res, '外包产品验收单.pdf')
})
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment