From ab65906ce525c07d6b614e63e573155d91078708 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Wed, 27 Aug 2025 16:57:03 +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..0f80070 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/patchesType/page`,
+ method: 'get',
+ params,
+ })
+}
+// 图斑类型创建
+export const spotTypesCreateApi = (data) => {
+ return request({
+ url: `/drone-device-core/patchesType/create`,
+ method: 'post',
+ data
+ })
+}
+// 图斑类型编辑
+export const editSpotTypeApi = (data) => {
+ return request({
+ url: `/drone-device-core/patchesType/updateType`,
+ method: 'put',
+ data
+ })
+}
+// 图斑类型删除
+export const deleteSpotTypeApi = (data) => {
+ return request({
+ url: `/drone-device-core/patchesType/batch`,
+ method:'delete',
+ data
+ })
}
\ No newline at end of file
--
Gitblit v1.9.3