From 475455f8f4b8cd407d0f3cc7c821aa35ddda29e6 Mon Sep 17 00:00:00 2001
From: zhuo <2089219845@qq.com>
Date: 星期四, 06 三月 2025 11:09:00 +0800
Subject: [PATCH] 清除低代码

---
 src/views/business/rawMaterialInspection/index.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/business/rawMaterialInspection/index.vue b/src/views/business/rawMaterialInspection/index.vue
index 266c6cd..0a6bcdf 100644
--- a/src/views/business/rawMaterialInspection/index.vue
+++ b/src/views/business/rawMaterialInspection/index.vue
@@ -792,8 +792,8 @@
         entity: entity
       }).then(res => {
         this.outLoading = false
-        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");
       })
     },
     clear() {

--
Gitblit v1.9.3