From 233e4fc4f35bd00a36ee34a7fbf5e47b41db26db Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Mon, 17 Nov 2025 09:54:44 +0800
Subject: [PATCH] feat:更新初始化地形
---
src/api/dataCenter/dataCenter.js | 42 ++++++++++++++++++++++++++++++++++++++++++
1 files changed, 42 insertions(+), 0 deletions(-)
diff --git a/src/api/dataCenter/dataCenter.js b/src/api/dataCenter/dataCenter.js
index 2c0a1a4..c6ed8e1 100644
--- a/src/api/dataCenter/dataCenter.js
+++ b/src/api/dataCenter/dataCenter.js
@@ -35,6 +35,23 @@
data
})
}
+
+// 查询下载状态
+export const getDownloadStatusApi = (data) => {
+ return request({
+ url: `/blade-resource/attach/getDownloadStatus`,
+ method: 'post',
+ data
+ })
+}
+// 取消下载
+export const cancelDownloadApi = (data) => {
+ return request({
+ url: `/blade-resource/attach/cancelDownload`,
+ method: 'post',
+ data
+ })
+}
// 地图
export const getMapInfoAPI = (jobId) => {
return request({
@@ -64,3 +81,28 @@
},
})
}
+// 获取机场下的文件夹
+export const getJobIdsBySnApi = (params, dockSn) => {
+ return request({
+ url: `/drone-device-core/wayline/api/v1/workspaces/getJobIdsBySn`,
+ method: 'get',
+ params,
+ customize: params.areaCode
+ })
+}
+// 附件下载
+export const attachDownload = (data) => {
+ return request({
+ url: `/blade-resource/attach/download`,
+ method: 'post',
+ data
+ })
+}
+// AI识别中心模块
+export const aiImagesPage = data => {
+ return request({
+ url: `/blade-resource/attach/aiImagesPage?current=${data.current}&size=${data.size}`,
+ method: 'post',
+ data: data,
+ })
+}
--
Gitblit v1.9.3