From 38d20755f3c5e248aa1efda2dee0860c3e9a6bfd Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Tue, 02 Sep 2025 10:54:16 +0800
Subject: [PATCH] feat:导出,图斑数据结构变化

---
 src/api/patchManagement/index.js |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/src/api/patchManagement/index.js b/src/api/patchManagement/index.js
index 50a7ae1..059d18f 100644
--- a/src/api/patchManagement/index.js
+++ b/src/api/patchManagement/index.js
@@ -73,10 +73,18 @@
 	})
 }
 // 导出
-export const exportExcel = ids => {
+// export const exportExcel = ids => {
+// 	return request({
+// 		url: `/drone-device-core/patches/api/v1/Patches/getExcel?ids=${ids}`,
+// 		method: 'get',
+// 		responseType: 'blob',
+// 	})
+// }
+export const exportExcel = data => {
 	return request({
-		url: `/drone-device-core/patches/api/v1/Patches/getExcel?ids=${ids}`,
-		method: 'get',
+		url: `/drone-device-core/patches/api/v1/Patches/exportExcel`,
+		method: 'post',
+		data,
 		responseType: 'blob',
 	})
 }

--
Gitblit v1.9.3