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/dataCenter/dataCenter.js |   95 +++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 91 insertions(+), 4 deletions(-)

diff --git a/src/api/dataCenter/dataCenter.js b/src/api/dataCenter/dataCenter.js
index a57b697..2c038fa 100644
--- a/src/api/dataCenter/dataCenter.js
+++ b/src/api/dataCenter/dataCenter.js
@@ -1,10 +1,10 @@
 import request from '@/axios';
 // 列表接口
-export const getaiImagesPageAPI = (data) => {
+export const getaiImagesPageAPI = (data,params) => {
     return request({
-		url: `/blade-resource//attach/attachmentsPage`,
+		url: `/blade-resource/attach/attachmentsPage`,
 		method: 'post',
-		data
+		data,params
 	})
   };
   // 详情接口
@@ -34,4 +34,91 @@
 		method: 'post',
 		data
 	})
-}
\ No newline at end of file
+}
+
+// 查询下载状态
+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({
+		url: `/blade-resource/attach/getAttachInfoByJobId`,
+		method: 'get',
+		params: {
+			jobId,
+		  },
+	})
+  };
+
+//编辑文件名
+export const updataTitleApi = (data) => {
+	return request({
+		url: `/blade-resource/attach/updateFileName`,
+		method: 'post',
+		params:data
+	})
+}
+// 正射文件
+export const getOrthoimageInfo = jobId => {
+	return request({
+		url: '/drone-odm/odmTaskInfo/odmTaskInfo/getOrthoimageInfo',
+		method: 'get',
+		params: {
+			jobId,
+		  },
+	})
+}
+// 获取机场下的文件夹
+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,
+	})
+}
+
+// 收藏
+export const starAdd = (data) => {
+	return request({
+		url: `/blade-resource/attach/favorite`,
+		method: 'post',
+		data
+	})
+}
+// 取消收藏
+export const cancelStar = (data) => {
+	return request({
+		url: `/blade-resource/attach/favorite/${data}`,
+		method: 'delete',
+	})
+}

--
Gitblit v1.9.3