From e1cb0923a89efbaddeec71a292607c4fa5cb33ac Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Thu, 28 Aug 2025 11:34:34 +0800
Subject: [PATCH] feat:添加接口

---
 src/api/patchManagement/index.js |   41 +++++++++++++++++++++++++++++++++++++++++
 1 files changed, 41 insertions(+), 0 deletions(-)

diff --git a/src/api/patchManagement/index.js b/src/api/patchManagement/index.js
index 0f80070..3bb6afe 100644
--- a/src/api/patchManagement/index.js
+++ b/src/api/patchManagement/index.js
@@ -38,4 +38,45 @@
 		method:'delete',
 		data
 	})
+}
+
+//图斑管理表格
+export const spotManagementTableApi = params => {
+	return request({
+		url: `/drone-device-core/patches/api/v1/Patches/getPatchesPage`,
+		method: 'get',
+		params,
+	})
+}
+// 图斑管理搜索
+export const searchManagementApi = params => {
+	return request({
+		url: `/drone-device-core/patches/api/v1/Patches/getPatchesInfoUserAndArea`,
+		method: 'get',
+		params,
+	})
+}
+// 图斑上传
+export const uploadManagementApi = data => {
+	return request({
+		url: `/drone-device-core/patches/api/v1/Patches/uploadLot`,
+		method: 'post',
+		data,
+	})
+}
+// 图斑地图表格接口
+export const tableMapListApi = params => {
+	return request({
+		url: `/drone-device-core/patches/api/v1/Patches/getLotInfoByPatchesId`,
+		method: 'get',
+		params,
+	})
+}
+// 导出
+export const exportExcel = ids => {
+	return request({
+		url: `/drone-device-core/patches/api/v1/Patches/getExcel?ids=${ids}`,
+		method: 'get',
+		responseType: 'blob',
+	})
 }
\ No newline at end of file

--
Gitblit v1.9.3