src/views/business/rawMaterialInspection/index.vue
@@ -795,16 +795,11 @@ this.outLoading = true rawAllExport({ entity:entity },{ responseType: "blob"}).then(res => { }).then(res => { this.outLoading = false this.$message.success('导出成功') const blob = new Blob([res],{ type: 'application/octet-stream' }); const url = URL.createObjectURL(blob); const link = document.createElement('a'); link.href = url; link.download = '原材料检测信息导出.xlsx'; link.click(); let url = this.javaApi + '/word/' + res.data this.$download.saveAs(url, "原材料检测信息导出.xlsx"); }) }, clear() {