无人机管理后台前端(已迁走)
张含笑
2025-09-01 2ca94de8ede18ac07ccfd8dec7b6f6a707adde9b
src/api/dataCenter/dataCenter.js
@@ -2,7 +2,7 @@
// 列表接口
export const getaiImagesPageAPI = (data,params) => {
    return request({
      url: `/blade-resource//attach/attachmentsPage`,
      url: `/blade-resource/attach/attachmentsPage`,
      method: 'post',
      data,params
   })
@@ -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({
@@ -63,4 +80,29 @@
         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,
   })
}