From 09c002c63c1d1127ec28bcf92923c260ea039b00 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 06 三月 2025 09:53:42 +0800
Subject: [PATCH] 人员新增证书资料时,文件无法选择上传,且下载时页面无响应

---
 src/api/business/materialInspection.js |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/api/business/materialInspection.js b/src/api/business/materialInspection.js
index 3f592b1..67401a5 100644
--- a/src/api/business/materialInspection.js
+++ b/src/api/business/materialInspection.js
@@ -92,7 +92,8 @@
 export function rawAllExport(query) {
   return request({
     url: '/rawMaterialOrder/rawAllExport',
-    method: 'post',
-    data: query
+    method: 'get',
+    data: query,
+    responseType: "blob"
   })
 }

--
Gitblit v1.9.3