From 819afda85558b646767f5c8809e6bc3e064526c5 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Tue, 26 Aug 2025 10:26:34 +0800
Subject: [PATCH] feat:列表,编辑,删除

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

diff --git a/src/api/patchManagement/index.js b/src/api/patchManagement/index.js
index 59ba531..ae6d048 100644
--- a/src/api/patchManagement/index.js
+++ b/src/api/patchManagement/index.js
@@ -6,4 +6,36 @@
 		method: 'get',
 		params,
 	})
+}
+// 图斑类型分页
+export const listOfSpotTypesApi = params => {
+	return request({
+		url: `/drone-device-core/lotType/page`,
+		method: 'get',
+		params,
+	})
+}
+// 图斑类型创建
+export const spotTypesCreateApi = (data) => {
+	return request({
+		url: `/drone-device-core/lotType/create`,
+		method: 'post',
+		data
+	})
+}
+// 图斑类型编辑
+export const editSpotTypeApi = (data) => {
+	return request({
+		url: `/drone-device-core/lotType/updateType`,
+		method: 'put',
+		data
+	})
+}
+// 图斑类型删除
+export const deleteSpotTypeApi = (data) => {
+	return request({
+		url: `/drone-device-core/lotType/batch`,
+		method:'delete',
+		data
+	})
 }
\ No newline at end of file

--
Gitblit v1.9.3