From 0f16db42e4e331bfaf084c27ca602c275e87668d Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Tue, 28 Oct 2025 18:07:42 +0800
Subject: [PATCH] feat:渲染数据
---
src/api/patchManagement/index.js | 23 ++++++++++++++++++++---
1 files changed, 20 insertions(+), 3 deletions(-)
diff --git a/src/api/patchManagement/index.js b/src/api/patchManagement/index.js
index 41be308..5b999f1 100644
--- a/src/api/patchManagement/index.js
+++ b/src/api/patchManagement/index.js
@@ -73,10 +73,11 @@
})
}
// 导出
-export const exportExcel = ids => {
+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',
})
}
@@ -94,4 +95,20 @@
method: 'put',
data
})
+}
+// 删除数据
+export const deletePatches = params => {
+ return request({
+ url: `/drone-device-core/patches/api/v1/Patches/deleteBatch`,
+ method: 'delete',
+ params,
+ })
+}
+// 获取所有图斑数据
+export const AlltableMapListApi = params => {
+ return request({
+ url: `/drone-device-core/patches/api/v1/Patches/getLotInfoList`,
+ method: 'get',
+ params,
+ })
}
\ No newline at end of file
--
Gitblit v1.9.3