From 02409bfbe15f22fc3b5dccadabfd860a660a49d9 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Sat, 11 Oct 2025 10:37:14 +0800
Subject: [PATCH] feat: 名称修改

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

diff --git a/src/api/patchManagement/index.js b/src/api/patchManagement/index.js
index 0f80070..5b999f1 100644
--- a/src/api/patchManagement/index.js
+++ b/src/api/patchManagement/index.js
@@ -38,4 +38,77 @@
 		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 = data => {
+	return request({
+		url: `/drone-device-core/patches/api/v1/Patches/exportExcel`,
+		method: 'post',
+		data,
+		responseType: 'blob',
+	})
+}
+// 图斑管理删除
+export const patchDeleteApi = (id) => {
+	return request({
+	  url: `/drone-device-core/patches/api/v1/Patches/delete/${id}`,
+	  method: 'delete'
+	})
+  }
+// 编辑图斑信息
+export const patchEditApi = (data) => {
+	return request({
+		url: `/drone-device-core/patches/api/v1/Patches/updatePatchesInfo`,
+		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