From dabdf76c4df640277fdc60dccb543ec95e01c2f8 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期三, 05 三月 2025 15:53:15 +0800 Subject: [PATCH] 优化检验任务页面 --- src/views/business/productOrder/index.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/business/productOrder/index.vue b/src/views/business/productOrder/index.vue index 747cfe7..f24e85a 100644 --- a/src/views/business/productOrder/index.vue +++ b/src/views/business/productOrder/index.vue @@ -873,8 +873,8 @@ // 瀵煎嚭璁板綍 downLoad() { rawAllInsOrderExport({ ...this.entity }).then(res => { - let url = this.javaApi + '/word/' + res.data - this.$download.saveAs(url, '濮旀墭妫�娴嬩俊鎭鍑�.xlsx'); + const blob = new Blob([res], { type: 'application/octet-stream' }); + this.$download.saveAs(blob, '濮旀墭妫�娴嬩俊鎭鍑�.xlsx'); }).catch(err => { console.log('err---', err); }) -- Gitblit v1.9.3