From 62e2eb9ca558979ddc3d6c523462a85aae85c9a5 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Wed, 04 Feb 2026 11:33:46 +0800
Subject: [PATCH] feat: 无用api
---
/dev/null | 79 ---------------------------------------
1 files changed, 0 insertions(+), 79 deletions(-)
diff --git a/applications/mobile-web-view/src/api/ComprehensiveAnalysis.js b/applications/mobile-web-view/src/api/ComprehensiveAnalysis.js
deleted file mode 100644
index 8f62349..0000000
--- a/applications/mobile-web-view/src/api/ComprehensiveAnalysis.js
+++ /dev/null
@@ -1,76 +0,0 @@
-import request from '@/axios'
-
-// 巡检任务统计分析
-export const gettaskStatictApi = data => {
- return request({
- url: `/drone-device-core/wayline/waylineJobInfo/jobStatusLine`,
- method: 'post',
- data,
- })
-}
-
-// 事件处置分析
-export const getdisposeApi = data => {
- return request({
- url: `/drone-device-core/jobEvent/eventStatusLine`,
- method: 'post',
- data,
- })
-}
-// 事件处置效率统计
-export const efficiencyApi = data => {
- return request({
- url: `/drone-device-core/jobEvent/eventUsedTimeLine`,
- method: 'post',
- data,
- })
-}
-// 事件分析
-export const eventPproportionApi = data => {
- return request({
- url: `/drone-device-core/jobEvent/eventAiTypeRate`,
- method: 'post',
- data,
- })
-}
-// 事件分析-机巢统计
-export const nestEventApi = data => {
- return request({
- url: `/drone-device-core/jobEvent/eventAiTypeByDeviceSn`,
- method: 'post',
- data,
- })
-}
-// 机巢接口
-export const selectNestApi = data => {
- return request({
- url: `/drone-device-core/manage/api/v1/devices/getDeviceYear`,
- method: 'post',
- data,
- })
-}
-// 统计接口
-export const tongjiNestApi = data => {
- return request({
- url: `/drone-device-core/manage/api/v1/devices/getAllDeviceStatistics`,
- method: 'post',
- data,
- })
-}
-
-// 飞行成果概览
-export const flightAchievementsApi = data => {
- return request({
- url: `/blade-resource/attach/attachTypeStatistics`,
- method: 'post',
- data,
- })
-}
-// 成本对比统计
-export const costDataApi = data => {
- return request({
- url: `/drone-device-core/manage/api/v1/devices/costComparisonStatistics`,
- method: 'post',
- data,
- })
-}
diff --git a/applications/mobile-web-view/src/api/airspace/airspace.js b/applications/mobile-web-view/src/api/airspace/airspace.js
deleted file mode 100644
index 04195f6..0000000
--- a/applications/mobile-web-view/src/api/airspace/airspace.js
+++ /dev/null
@@ -1,19 +0,0 @@
-import request from '@/axios'
-
-export const getAirSpaceTypeList = (params) => {
- return request({
- url: `/drone-device-core/airspace/page`,
- method: 'get',
- params: params,
- })
-}
-
-// ----------空域录入相关接口调用----------
-export const airspaceEnteringPage = params => {
- return request({
- url: '/drone-device-core/airrange/page',
- method: 'get',
- params
- })
-}
-// ----------空域录入相关接口调用----------
\ No newline at end of file
diff --git a/applications/mobile-web-view/src/api/base/region.js b/applications/mobile-web-view/src/api/base/region.js
deleted file mode 100644
index 0f9340f..0000000
--- a/applications/mobile-web-view/src/api/base/region.js
+++ /dev/null
@@ -1,52 +0,0 @@
-import request from '@/axios'
-
-export const getList = (current, size, params) => {
- return request({
- url: '/blade-system/region/list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- })
-}
-
-export const getLazyTree = (parentCode, params) => {
- return request({
- url: '/blade-system/region/lazy-tree',
- method: 'get',
- params: {
- ...params,
- parentCode,
- },
- })
-}
-
-export const getDetail = code => {
- return request({
- url: '/blade-system/region/detail',
- method: 'get',
- params: {
- code,
- },
- })
-}
-
-export const remove = id => {
- return request({
- url: '/blade-system/region/remove',
- method: 'post',
- params: {
- id,
- },
- })
-}
-
-export const submit = row => {
- return request({
- url: '/blade-system/region/submit',
- method: 'post',
- data: row,
- })
-}
diff --git a/applications/mobile-web-view/src/api/common.js b/applications/mobile-web-view/src/api/common.js
deleted file mode 100644
index 6e0a399..0000000
--- a/applications/mobile-web-view/src/api/common.js
+++ /dev/null
@@ -1,39 +0,0 @@
-import request from '@/axios'
-
-/**
- * 文件流返回
- * @param url 接口地址
- * @param params 接口参数
- */
-export const exportBlob = (url, params) => {
- return request({
- url: url,
- params: params,
- method: 'get',
- responseType: 'blob',
- })
-}
-
-export const getSFChildList = (current, size, parentId, params) => {
- return request({
- url: '/blade-system/dict-biz/child-list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- parentId: parentId,
- },
- });
- };
-
- export const getSFDictionaryTree = (params) => {
- return request({
- url: '/blade-system/dict-biz/dictionary-tree',
- method: 'get',
- params: {
- ...params,
- },
- });
- };
-
diff --git a/applications/mobile-web-view/src/api/dataCenter.js b/applications/mobile-web-view/src/api/dataCenter.js
deleted file mode 100644
index 25ee74f..0000000
--- a/applications/mobile-web-view/src/api/dataCenter.js
+++ /dev/null
@@ -1,175 +0,0 @@
-import request from '@/axios'
-
-export const getDeviceAndJobListApi = data => {
- return request({
- url: `/drone-device-core/wayline/waylineJobInfo/getDeviceAndJobList`,
- method: 'post',
- data,
- })
-}
-
-// 获取任务下面的图片和视频
-export const getAttachmentsPageApi = (params,data) => {
- return request({
- url: `/blade-resource/attach/attachmentsPage`,
- method: 'post',
- params,
- data,
- })
-}
-
-// 获取机场下的文件夹
-export const getJobIdsBySnApi = (params, dockSn) => {
- return request({
- url: `/drone-device-core/wayline/api/v1/workspaces/getJobIdsBySn`,
- method: 'get',
- params,
- })
-}
-
-
-/**
- * 批量下载图片
- * @param ids
- * @param type 普通1,ai识别2
- * @returns {Promise<AxiosResponse<any>> | *}
- */
-export const getFilePackZpiUrlApi = (ids, type = 1) => {
- return request({
- url: `/drone-device-core/media/api/v1/files/downLoad/${type}`,
- method: 'post',
- timeout: 20000000,
- data: ids,
- })
-}
-
-// 附件下载
-export const attachDownload = (data) => {
- return request({
- url: `/blade-resource/attach/download`,
- method: 'post',
- 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 getAiAndOrthophotoFileApi = params => {
- return request({
- url: `/blade-resource/attach/page`,
- method: 'get',
- params,
- })
-}
-
-export const deleteFileMultipleApi = idArr => {
- return request({
- url: `/blade-resource/attach/deleteMediaFile`,
- method: 'delete',
- data: idArr,
- })
-}
-// 编辑文件名称 AI识别
-export const updataTitleApi = data => {
- return request({
- url: `/blade-resource/attach/update`,
- method: 'post',
- data: data,
- })
-}
-
-//编辑文件名
-export const updataPictureTitleApi = (data) => {
- return request({
- url: `/blade-resource/attach/updateFileName`,
- method: 'post',
- params: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 contrastiveAnalysis = params => {
- return request({
- url: `/blade-resource/attach/contrastiveAnalysis`,
- method: 'get',
- params,
- })
-}
-
-// AI识别分析功能列表
-export const aiAnalysisList = data => {
- return request({
- url: `/drone-device-core/alEventRecord/page?current=${data.current}&size=${data.size}`,
- method: 'post',
- data: data,
- })
-}
-
-// 开始分析功能
-export const createAiEventByMediaFile = data => {
- return request({
- url: `/drone-device-core/alEventRecord/createAiEventByMediaFile`,
- method: 'post',
- data: data,
- })
-}
-
-// 取消AI 分析
-export const cancelAiEvent = data => {
- return request({
- url: `/drone-device-core/alEventRecord/cancelAiEvent?id=${data.id}`,
- method: 'post',
- data: data,
- })
-}
-// 重试接口
-export const retryAiEvent = data => {
- return request({
- url: `/drone-device-core/alEventRecord/retryAiEvent?id=${data.id}`,
- method: 'post',
- data: data,
- })
-}
-// 修改名称
-export const updateFileName = data => {
- return request({
- url: `/blade-resource/attach/updateFileName?id=${data.id}&nickName=${data.nickName}`,
- method: 'post',
- data: data,
- })
-}
-// 下载文件
-export const downloadAI = data => {
- return request({
- url: `/blade-resource/attach/download`,
- method: 'post',
- data: data,
- })
-}
diff --git a/applications/mobile-web-view/src/api/desk/notice.js b/applications/mobile-web-view/src/api/desk/notice.js
deleted file mode 100644
index 28c9d74..0000000
--- a/applications/mobile-web-view/src/api/desk/notice.js
+++ /dev/null
@@ -1,59 +0,0 @@
-import request from '@/axios'
-
-export const getList = (current, size, params) => {
- return request({
- url: '/blade-desk/notice/list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- cryptoToken: false,
- cryptoData: false,
- })
-}
-
-export const remove = ids => {
- return request({
- url: '/blade-desk/notice/remove',
- method: 'post',
- params: {
- ids,
- },
- cryptoToken: false,
- cryptoData: false,
- })
-}
-
-export const add = row => {
- return request({
- url: '/blade-desk/notice/submit',
- method: 'post',
- data: row,
- cryptoToken: false,
- cryptoData: false,
- })
-}
-
-export const update = row => {
- return request({
- url: '/blade-desk/notice/submit',
- method: 'post',
- data: row,
- cryptoToken: false,
- cryptoData: false,
- })
-}
-
-export const getNotice = id => {
- return request({
- url: '/blade-desk/notice/detail',
- method: 'get',
- params: {
- id,
- },
- cryptoToken: false,
- cryptoData: false,
- })
-}
diff --git a/applications/mobile-web-view/src/api/drc.js b/applications/mobile-web-view/src/api/drc.js
deleted file mode 100644
index 8f2da62..0000000
--- a/applications/mobile-web-view/src/api/drc.js
+++ /dev/null
@@ -1,125 +0,0 @@
-import request from '@/axios'
-
-// DRC 链路
-const DRC_API_PREFIX = '/drone-device-core/control/api/v1'
-
-// 获取 mqtt 连接认证
-export async function postDrc(body, workspaceId) {
- const resp = await request.post(`${DRC_API_PREFIX}/workspaces/${workspaceId}/drc/connect`, body)
- return resp.data
-}
-
-// 进入飞行控制 (建立drc连接&获取云控控制权)
-export async function postDrcEnter(body, workspaceId) {
- const resp = await request.post(`${DRC_API_PREFIX}/workspaces/${workspaceId}/drc/enter`, body)
- return resp.data
-}
-
-// 退出飞行控制 (退出drc连接&退出云控控制权)
-export async function postDrcExit(body, workspaceId) {
- const resp = await request.post(`${DRC_API_PREFIX}/workspaces/${workspaceId}/drc/exit`, body)
- return resp.data
-}
-
-// 无人控制
-export async function droneController(data) {
- return request({
- url: '/drone-device-core/dp/home/drc/droneController',
- method: 'post',
- data,
- })
-}
-
-// 无人控制
-export async function updateDroneQualityApi(data) {
- return request({
- url: '/drone-device-core/manage/api/v1/live/streams/update',
- method: 'post',
- data,
- })
-}
-
-// 无人机退出控制
-export async function exitController(data) {
- return request({
- url: '/drone-device-core/dp/home/drc/exitController',
- method: 'post',
- data,
- })
-}
-
-// 一键返航
-export async function returnHome(sn) {
- return request({
- url: `/drone-device-core/dp/home/${sn}/drc/returnHome`,
- method: 'post',
- })
-}
-
-// 取消返航
-export async function returnHomeCancel(data) {
- return request({
- url: `/drone-device-core/dp/home/${data.dock_sn}/drc/returnHomeCancel`,
- method: 'post',
- data,
- })
-}
-
-// 航线录制
-export async function routeRecordStartApi(droneSn) {
- return request({
- url: `/drone-device-core/wayline/route/startRecord`,
- method: 'get',
- params: { deviceSn: droneSn },
- })
-}
-
-// 航线停止录制
-export async function routeRecordStopApi(droneSn) {
- return request({
- url: `/drone-device-core/wayline/route/stopRecord`,
- method: 'get',
- params: { deviceSn: droneSn },
- })
-}
-
-// 航线录制状态
-export async function routeRecordStatusApi(droneSn) {
- return request({
- url: `/drone-device-core/wayline/route/recordStatus`,
- method: 'get',
- params: { deviceSn: droneSn },
- })
-}
-// 航线录制新接口
-// 开始
-export async function startRecording(data) {
- return request({
- url: `/drone-device-core/wayline/record/start`,
- method: 'post',
- data,
- })
-}
-// 结束
-export async function stopRecording(recordingId) {
- return request({
- url: `/drone-device-core/wayline/record/stop/${recordingId}`,
- method: 'post',
- })
-}
-// 保存
-export async function saveRecording(data) {
- return request({
- url: `/drone-device-core/wayline/recordPoint/submit`,
- method: 'post',
- data,
- })
-}
-// 查看录制
-export async function viewTheRecording(params) {
- return request({
- url: `/drone-device-core/wayline/record/getMyRecord`,
- method: 'get',
- params,
- })
-}
diff --git a/applications/mobile-web-view/src/api/flow/flow.js b/applications/mobile-web-view/src/api/flow/flow.js
deleted file mode 100644
index ad8d991..0000000
--- a/applications/mobile-web-view/src/api/flow/flow.js
+++ /dev/null
@@ -1,122 +0,0 @@
-import request from '@/axios'
-
-export const modelList = (current, size, params) => {
- return request({
- url: '/blade-flow/model/list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- })
-}
-
-export const managerList = (current, size, params) => {
- return request({
- url: '/blade-flow/manager/list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- })
-}
-
-export const followList = (current, size, params) => {
- return request({
- url: '/blade-flow/follow/list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- })
-}
-
-export const removeModel = ids => {
- return request({
- url: '/blade-flow/model/remove',
- method: 'post',
- params: {
- ids,
- },
- })
-}
-
-export const deployModel = params => {
- return request({
- url: '/blade-flow/model/deploy',
- method: 'post',
- params,
- })
-}
-
-export const changeState = params => {
- return request({
- url: '/blade-flow/manager/change-state',
- method: 'post',
- params,
- })
-}
-
-export const deployUpload = (category, tenantIds, files) => {
- const formData = new FormData()
- formData.append('category', category)
- formData.append('tenantIds', tenantIds)
- files.forEach(file => {
- formData.append('files', file)
- })
- return request({
- headers: {
- 'Content-Type': 'multipart/form-data',
- },
- url: '/blade-flow/manager/deploy-upload',
- method: 'post',
- data: formData,
- })
-}
-
-export const deleteDeployment = deploymentIds => {
- return request({
- url: '/blade-flow/manager/delete-deployment',
- method: 'post',
- params: {
- deploymentIds,
- },
- })
-}
-
-export const deleteProcessInstance = params => {
- return request({
- url: '/blade-flow/follow/delete-process-instance',
- method: 'post',
- params,
- })
-}
-
-export const submitModel = data => {
- return request({
- url: '/blade-flow/model/submit',
- method: 'post',
- data,
- })
-}
-
-export const detail = params => {
- return request({
- url: '/blade-flow/model/detail',
- method: 'get',
- params,
- })
-}
-
-export const modelView = params => {
- return request({
- url: '/blade-flow/process/model-view',
- method: 'get',
- params,
- })
-}
diff --git a/applications/mobile-web-view/src/api/home/aggregation.js b/applications/mobile-web-view/src/api/home/aggregation.js
deleted file mode 100644
index 119bcea..0000000
--- a/applications/mobile-web-view/src/api/home/aggregation.js
+++ /dev/null
@@ -1,34 +0,0 @@
-import request from '@/axios'
-
-export const getDeviceRegionCount = params => {
- return request({
- url: '/drone-device-core/manage/api/v1/devices/getDeviceRegionCount',
- method: 'get',
- params,
- })
-}
-
-export const getDeviceRegion = data => {
- return request({
- url: '/drone-device-core/manage/api/v1/devices/getDeviceRegion',
- method: 'post',
- data: { hidden_flag: 0, ...data },
- })
-}
-
-// 事件聚合 和 事件散点
-export const getMapEvents = data => {
- return request({
- url: '/drone-device-core/jobEvent/mapEvents',
- method: 'post',
- data,
- })
-}
-// 事件散点详情
-export const getEventDetails = params => {
- return request({
- url: '/drone-device-core/jobEvent/eventDetails',
- method: 'post',
- params,
- })
-}
diff --git a/applications/mobile-web-view/src/api/home/clusterScheduling.js b/applications/mobile-web-view/src/api/home/clusterScheduling.js
deleted file mode 100644
index 92a9cf7..0000000
--- a/applications/mobile-web-view/src/api/home/clusterScheduling.js
+++ /dev/null
@@ -1,45 +0,0 @@
-import request from '@/axios'
-
-// 集群调度获取直播地址
-export const getVideoUrlBySns = data => {
- return request({
- url: `/drone-device-core/wayline/api/v1/workspaces/getInfoBySns`,
- method: 'post',
- data,
- })
-}
-
-// 集群调度获取直播地址
-export const getFileUrlBySns = data => {
- return request({
- url: `/drone-device-core/wayline/api/v1/workspaces/getFileUrlBySns`,
- method: 'post',
- data,
- })
-}
-
-// 集群调度获取航线地址等
-export const getFileByJobs = data => {
- return request({
- url: `/drone-device-core/wayline/api/v1/workspaces/getFileByJobs`,
- method: 'post',
- data,
- })
-}
-
-// 任务列表
-export const jobListByScheduling = data => {
- return request({
- url: '/drone-device-core/wayline/waylineJobInfo/jobListByScheduling?current=' + data.current + '&size=' + data.size,
- method: 'post',
- data: data,
- })
-}
-
-// 返航
-export const returnHomeCluster = sns => {
- return request({
- url: `/drone-device-core/dp/home/${sns}/drc/returnHomes`,
- method: 'post',
- })
-}
diff --git a/applications/mobile-web-view/src/api/home/common.js b/applications/mobile-web-view/src/api/home/common.js
deleted file mode 100644
index ba9ce19..0000000
--- a/applications/mobile-web-view/src/api/home/common.js
+++ /dev/null
@@ -1,61 +0,0 @@
-import request from '@/axios'
-
-// 区域
-export const deptsByAreaCode = params => {
- return request({
- url: `/blade-system/dept/deptsByAreaCode?areaCode=${params}`,
- method: 'get',
- params: {},
- })
-}
-
-// 获取机场信息
-export const getDockInfo = params => {
- return request({
- url: `/drone-device-core/dp/home/getDockInfo`,
- method: 'get',
- params,
- })
-}
-// 获取天气建议
-export const getDroneSuggest = params => {
- return request({
- url: `/drone-device-core/dp/home/getDroneSuggest`,
- method: 'get',
- params,
- })
-}
-// 地址搜索
-export const searchByKeyword = params => {
- return request({
- url: `/drone-device-core/map/amap/searchByKeyword?keyword=${params}`,
- method: 'get',
- })
-}
-export const searchAmapPlace = params => {
- return request({
- url: `${import.meta.env.VITE_APP_SEARCH_URL}/v5/place/text`,
- method: 'get',
- params: {
- key: '32177e7d02a25848aa5c73f344ed3f0c',
- ...params
- },
- isBase: false
- })
- }
-// 机巢搜索
-export const selectDeviceList = data => {
- return request({
- url: `/drone-device-core/manage/api/v1/devices/selectDeviceList`,
- method: 'post',
- data: data,
- })
-}
-
-export const getLayerTreeApi = (params) => {
- return request({
- url: `/drone-device-core/layer/api/v1/tree`,
- method: 'get',
- params,
- })
-};
diff --git a/applications/mobile-web-view/src/api/home/event.js b/applications/mobile-web-view/src/api/home/event.js
deleted file mode 100644
index 2b62fa0..0000000
--- a/applications/mobile-web-view/src/api/home/event.js
+++ /dev/null
@@ -1,75 +0,0 @@
-import request from '@/axios'
-
-// 大屏首页=>行业数据分析(行业类型)
-export const getEventIndustryData = data => {
- return request({
- url: '/drone-device-core/jobEvent/industryData',
- method: 'post',
- data,
- })
-}
-
-// 大屏首页=>事件趋势分析(事件日期数量折线)
-export const getEventTrend = data => {
- return request({
- url: '/drone-device-core/jobEvent/eventData',
- method: 'post',
- data,
- })
-}
-
-// 大屏首页=>同类事件top5(事件数量)
-export const getEventTopFive = data => {
- return request({
- url: '/drone-device-core/jobEvent/topFive',
- method: 'post',
- data,
- })
-}
-
-// 大屏首页=>事件分页列表
-export const getEventPage = (data,params) => {
- return request({
- url: '/drone-device-core/jobEvent/eventPage',
- method: 'post',
- data,
- params
- })
-}
-
-// 大屏首页=>事件分页列表简单版本
-export const getEventPageSimpleApi = (data,params) => {
- return request({
- url: '/drone-device-core/jobEvent/eventPageSimple',
- method: 'post',
- data,
- params
- })
-}
-
-
-// 大屏首页=>事件状态数量
-export const getEventStatusNum = data => {
- return request({
- url: '/drone-device-core/jobEvent/eventStatusNum',
- method: 'post',
- data,
- })
-}
-
-// 工单列表=>事件数量(所有)
-export const getEvenNum = data => {
- return request({
- url: '/drone-device-core/jobEvent/evenNum',
- method: 'post',
- data,
- })
-}
-// 点击图片关联的事件历史图片列表
-export const findImgHistory = id => {
- return request({
- url: '/drone-device-core/jobEvent/findImgHistory?eventId='+id,
- method: 'get',
- })
-}
-
diff --git a/applications/mobile-web-view/src/api/home/index.js b/applications/mobile-web-view/src/api/home/index.js
deleted file mode 100644
index 7301c31..0000000
--- a/applications/mobile-web-view/src/api/home/index.js
+++ /dev/null
@@ -1,240 +0,0 @@
-import request from '@/axios'
-
-// 巡检总任务数量
-export const getTotalJobNum = params => {
- return request({
- url: '/drone-device-core/wayline/waylineJobInfo/totalJobNum',
- method: 'get',
- params,
- })
-}
-
-// 巡检任务item数量
-export const getJobStatistics = data => {
- let requestParams = {
- ...data,
- status_list: data.status,
- }
-
- delete requestParams.status
-
- return request({
- url: '/drone-device-core/wayline/waylineJobInfo/jobStatistics',
- method: 'post',
- data: requestParams,
- })
-}
-
-// 巡检任务柱状图数据
-export const getJobNumBar = data => {
- let requestParams = {
- ...data,
- status_list: data.status,
- }
-
- delete requestParams.status
-
- return request({
- url: '/drone-device-core/wayline/waylineJobInfo/jobNumBar',
- method: 'post',
- data: requestParams,
- })
-}
-// 巡检任务柱状图数据-饶建刚新提的接口
-export const jobStatusBar = data => {
- return request({
- url: '/drone-device-core/wayline/waylineJobInfo/jobStatusBar',
- method: 'post',
- data,
- })
-}
-
-// 事件概况总数
-export const getJobEventTotal = () => {
- return request({
- url: '/drone-device-core/jobEvent/total',
- method: 'get',
- })
-}
-// 事件概况分类数
-export const getJobEventByStatus = data => {
- return request({
- url: '/drone-device-core/jobEvent/eventByStatus',
- method: 'post',
- data,
- })
-}
-export const getJobEventBrokerLine = data => {
- return request({
- url: '/drone-device-core/jobEvent/eventBrokerLine',
- method: 'post',
- data,
- })
-}
-
-// 任务成果
-export const getMediaFileCountBy = () => {
- return request({
- url: '/blade-resource/media/api/v1/workspaces/files/getMediaFileCountBy',
- method: 'get',
- })
-}
-
-// 降本增效
-export const optimizeCostEfficiency = () => {
- return request({
- url: '/drone-device-core/manage/api/v1/devices/optimizeCostEfficiency',
- method: 'get',
- })
-}
-// 计划巡检任务列表
-export const getScheduledJob = data => {
- return request({
- url: `/drone-device-core/wayline/waylineJobInfo/scheduledJob?current=${data.current}&size=${data.size}`,
- method: 'post',
- data,
- })
-}
-// 历史巡检任务列表
-export const getBeforeJob = data => {
- return request({
- url: `/drone-device-core/wayline/waylineJobInfo/beforeJob?current=${data.current}&size=${data.size}`,
- method: 'post',
- data,
- })
-}
-// 当前巡检任务列表
-export const getTodayJob = data => {
- return request({
- url: `/drone-device-core/wayline/waylineJobInfo/todayJob?current=${data.current}&size=${data.size}`,
- method: 'post',
- data,
- })
-}
-
-// 巡检任务详情 柱状图
-export const jobNumBar = data => {
- return request({
- url: '/drone-device-core/wayline/waylineJobInfo/jobEventBar',
- method: 'post',
- data,
- })
-}
-// 巡检任务详情 饼图
-export const eventNumPie = data => {
- return request({
- url: '/drone-device-core/jobEvent/eventNumPie',
- method: 'post',
- data,
- })
-}
-
-// 获取区域懒加载
-export const getRegion = code => {
- return request({
- url: '/blade-system/region/select',
- method: 'get',
- params: { code },
- })
-}
-
-// 获取区域全部
-export const getRegionTreeAll = params => {
- return request({
- url: '/blade-system/region/findRegionByPartnerCode',
- method: 'get',
- params,
- })
-}
-// 立即返航
-export const flyByJobId = jobId => {
- return request({
- url: '/drone-device-core/wayline/api/v1/workspaces/flyByJobId?jobId=' + jobId,
- method: 'post',
- })
-}
-// 再次执行
-export const returnHome = sn => {
- return request({
- url: `/drone-device-core/dp/home/${sn}/drc/returnHome`,
- method: 'post',
- })
-}
-
-// 再次执行新接口
-// export const createTaskAgain = jobInfoId => {
-// return request({
-// url: `/drone-device-core/wayline/waylineJobInfo/createTaskAgain?jobInfoId=${jobInfoId}`,
-// method: 'get',
-// })
-// }
-export const createTaskAgain = data => {
- return request({
- url: '/drone-device-core/wayline/waylineJobInfo/createTaskAgain',
- method: 'post',
- data,
- })
-}
-// 根据经纬度获取区域code
-export const getAreaCodeApi = params => {
- return request({
- url: `/drone-device-core/map/amap/searchByLatLng?`,
- method: 'get',
- params,
- })
-}
-
-export const getConfigApi = params => {
- return request({
- url: `/blade-system/sysConfig/getConfig`,
- method: 'get',
- params,
- })
-}
-// 江钨
-// 获取事件工单和智飞工单的数量
-export const getOrderCountApi = areaCode => {
- return request({
- url: '/drone-device-core/jobEvent/getOrderCount',
- method: 'get',
- params: {
- areaCode,
- },
- })
-}
-// 标记事件工单或智飞工单已读
-export const addOrderRecordApi = (type, ticketId) => {
- return request({
- url: '/drone-device-core/jobEvent/addOrderRecord',
- method: 'post',
- params: {
- type,
- ticketId,
- },
- })
-}
-// 获取事件工单或者智飞工单的信息
-export const getOrderOrEventApi = data => {
- return request({
- url: '/drone-device-core/jobEvent/getOrderOrEvent',
- method: 'post',
- data: data,
- })
-}
-
-// 再次执行获取信息接口
-export const executeInterfaceAgainApi = data => {
- return request({
- url: '/drone-device-core/wayline/waylineJobInfo/getBatchDockJobsAggregated',
- method: 'post',
- data: data,
- })
-}
-// 执行机巢详情
-export const NestDetailApi = params => {
- return request({
- url: '/drone-device-core/wayline/waylineJobInfo/taskDetails',
- method: 'get',
- params,
- })
-}
diff --git a/applications/mobile-web-view/src/api/home/machineNest.js b/applications/mobile-web-view/src/api/home/machineNest.js
deleted file mode 100644
index 17660ab..0000000
--- a/applications/mobile-web-view/src/api/home/machineNest.js
+++ /dev/null
@@ -1,130 +0,0 @@
-import request from '@/axios'
-import { v4 as uuidv4 } from 'uuid'
-// 机巢统计
-export const getDeviceInfoNum = params => {
- return request({
- url: '/drone-device-core/manage/api/v1/devices/getDeviceInfoNum',
- method: 'get',
- params,
- })
-}
-
-// 机巢统计
-export const getDeviceInfoNumByAreaCodeApi = params => {
- return request({
- url: '/drone-device-core/manage/api/v1/devices/getDeviceInfoNumByAreaCode',
- method: 'get',
- params,
- })
-}
-// 机巢列表
-export const selectDevicePage = ({ nickname, ...params }) => {
- return request({
- url: `/drone-device-core/manage/api/v1/devices/selectDevicePage?type=${params.type}¤t=${params.current}&size=${params.size}`,
- method: 'post',
- data: {
- nickname,
- is_online: params.isOnline,
- },
- })
-}
-
-// 机巢列表-简单版本-速度更快
-export const selectDevicePageSimplify = ({ nickname, ...params }) => {
- return request({
- url: `/drone-device-core/manage/api/v1/devices/selectDeviceListByPage?type=${params.type}¤t=${params.current}&size=${params.size}`,
- method: 'post',
- data: {
- nickname,
- is_online: params.isOnline,
- },
- })
-}
-// 机巢数据
-export const getFlightStatistics = dockSn => {
- return request({
- url: `/drone-device-core/manage/api/v1/devices/getFlightStatistics?dockSn=${dockSn}`,
- method: 'get',
- params: {},
- })
-}
-// 机巢直播/无人机直播 均可使用
-export const liveStart = (deviceSn, quality) => {
- return request({
- url: `/drone-device-core/manage/api/v1/live/streams/liveStart?deviceSn=${deviceSn}&quality=${quality}`,
- method: 'post',
- data: {},
- headers: {
- areaCode: '',
- },
- })
-}
-// 单个机巢获取机巢详情
-export const getDeviceDetail = deviceSn => {
- return request({
- url: `/drone-device-core/manage/api/v1/devices/getDeviceDetail?deviceSn=${deviceSn}`,
- method: 'get',
- params: {},
- })
-}
-
-// 单个机巢获取hms信息
-export const getDeviceHmsDetail = deviceSn => {
- return request({
- url: `/drone-hms/manage/api/v1/devices/hms/${deviceSn}`,
- method: 'get',
- params: {},
- })
-}
-
-// 更新单个机巢hms信息
-export const postDeviceUpdateHms = params => {
- return request({
- url: `/drone-hms/manage/api/v1/devices/updateHms`,
- method: 'put',
- params,
- })
-}
-
-// 设备-事件列表
-export const getDeviceEventList = (data, params) => {
- return request({
- url: `/drone-device-core/jobEvent/eventPage`,
- method: 'post',
- data,
- params,
- })
-}
-
-// 事件列表---点位上图
-export const getEventList = (data, params) => {
- return request({
- url: '/drone-device-core/jobEvent/eventList',
- method: 'post',
- data,
- params,
- })
-}
-
-// 轮询刷新
-export const pollingDataUpdate = (params) => {
- return request({
- url: '/drone-device-core/manage/api/v1/devices/deviceStatusChanged?intervalTime=4',
- method: 'get',
- params,
- })
-}
-// 生成固定uuid
-const uuid = uuidv4()
-// 轮询刷新
-export const statusChangedApi = (params = {}) => {
- return request({
- url: '/drone-device-core/manage/api/v1/devices/statusChanged',
- method: 'get',
- params: {
- uuid,
- intervalTime: 4,
- ...params,
- },
- })
-}
diff --git a/applications/mobile-web-view/src/api/home/territory.js b/applications/mobile-web-view/src/api/home/territory.js
deleted file mode 100644
index 3c608ce..0000000
--- a/applications/mobile-web-view/src/api/home/territory.js
+++ /dev/null
@@ -1,262 +0,0 @@
-import request from '@/axios'
-
-// 获取图斑列表
-export const getPatchesSpotList = params => {
- return request({
- url: `/drone-device-core/patches/api/v1/Patches/listPatches`,
- method: 'get',
- params,
- })
-}
-
-// 获取图斑列表
-export const getAllPathesList = params => {
- return request({
- url: `/drone-device-core/patches/api/v1/Patches/getPathesList`,
- method: 'get',
- params,
- })
-}
-
-// 获取图斑列表
-export const getPagePatches = params => {
- return request({
- url: `/drone-device-core/patches/api/v1/Patches/pagePatches`,
- method: 'get',
- params,
- })
-}
-
-export const exportExcel = ids => {
- return request({
- url: `/drone-device-core/patches/api/v1/Patches/getExcel?ids=${ids}`,
- method: 'get',
- responseType: 'blob',
- })
-}
-
-export const achievementExportExcel = params => {
- return request({
- url: '/drone-device-core/media/api/v1/files/download-odm',
- method: 'post',
- data: params,
- })
-}
-
-// 获取导出记录下载文件列表
-export const getDownLoadList = (params, page, pageSize) => {
- const url = `/drone-device-core/manage/api/v1/downFileRecord/list`
- return request({
- url,
- method: 'get',
- params: {
- ...params,
- page,
- pageSize,
- },
- })
-}
-
-// 删除数据
-export const deletePatches = params => {
- return request({
- url: `/drone-device-core/patches/api/v1/Patches/deleteBatch`,
- method: 'delete',
- params,
- })
-}
-// 上传图斑文件
-export const uploadPolygonFile = async data => {
- const url = `/drone-device-core/patches/api/v1/Patches/uploadLot`
- const result = await request.post(url, data, {
- headers: {
- 'Content-Type': 'multipart/form-data',
- },
- })
- return result.data
-}
-
-// 智能规划
-export const addProofTask = data => {
- const url = `/drone-device-core/manage/api/v1/automaticProofTask/batchSave`
- return request({
- url,
- method: 'post',
- data,
- })
-}
-
-// 获取图片详情
-export const patchGetPhoto = params => {
- return request({
- url: `/drone-device-core/patches/api/v1/Patches/listPhoto`,
- params,
- method: 'get',
- })
-}
-
-// 获取图斑图片
-export const getPatchPhotoAllList = params => {
- return request({
- url: `/drone-device-core/patches/api/v1/Patches/listPhotos`,
- params,
- method: 'get',
- })
-}
-
-// 获取图片详情
-export const getlotInfoListApi = params => {
- return request({
- url: `/blade-resource/attach/getlotInfoList`,
- params,
- method: 'get',
- })
-}
-
-// 删除图斑图片
-export const delPatchesPhoto = (workspaceId, fileId) => {
- return request({
- url: `/blade-resource/media/api/v1/files/${workspaceId}/deleteFile?fileId=${fileId}`,
- method: 'delete',
- })
-}
-
-//修改图片审查状态
-export const updateImageReviewStatus = params => {
- return request({
- url: `/blade-resource/blade-resource//media/api/v1/files/examine`,
- method: 'put',
- params,
- })
-}
-
-// 一键审核
-export const oneExamine = params => {
- return request({
- url: `/blade-resource/blade-resource/media/api/v1/files/approveByDkbh`,
- method: 'put',
- params,
- })
-}
-
-// 所有航线规划列表
-export const AllroutePlanning = (wid, order_by, page, page_size) => {
- return request({
- url: `/drone-device-core/wayline/api/v1/workspaces/${wid}/waylines`,
- method: 'get',
- params: {
- order_by,
- page,
- page_size,
- },
- })
-}
-
-// 创建航线计划
-export const createPlan = async function (workspaceId, plan, params = {}) {
- const url = `/drone-device-core/wayline/api/v1/workspaces/${workspaceId}/flight-tasks`
-
- const result = await request({
- url: url,
- method: 'post',
- data: plan,
- params,
- })
-
- return result.data
-}
-
-// 多个图斑规划航线
-export const patchesToWayline = (workspaceId, waylineName, lat, lon, patchesId, isTemp, data, params = {}) => {
- return request({
- url: `/drone-device-core/patches/api/v1/Patches/patchesToWayline?workspaceId=${workspaceId}&waylineName=${waylineName}&lat=${lat}&lon=${lon}&patchesId=${patchesId}&isTemp=${isTemp}`,
- method: 'post',
- data,
- params,
- })
-}
-
-export const importKmzFile = async function (workspaceId, file, isTemp, params = {}) {
- let url = `/drone-device-core/wayline/api/v1/workspaces/${workspaceId}/waylines/file/upload?isTemp=${isTemp}`
-
- const result = await request({
- url: url,
- method: 'post',
- headers: {
- 'Content-Type': 'multipart/form-data',
- },
- data: file,
- params,
- })
-
- return result.data
-}
-
-export const getOrthoimageInfo = params => {
- return request({
- url: '/drone-odm/odmTaskInfo/odmTaskInfo/getOrthoimageInfo',
- method: 'get',
- params,
- })
-}
-export const getOrthoimageInfoList = params => {
- return request({
- url: '/drone-odm/odmTaskInfo/odmTaskInfo/getOrthoimageInfos',
- method: 'get',
- params,
- })
-}
-
-// 国土举证/已举证图斑tif下载
-export const getOdmTaskDownUrl = params => {
- return request({
- url: '/drone-odm/odmTaskInfo/odmTaskInfo/getOdmTaskDownUrl',
- method: 'get',
- params,
- })
-}
-// 智能规划航线
-export const patchesGetPoint = (airportLat, airportLon, list) => {
- return request({
- url: `/drone-device-core/patches/api/v1/Patches/getPoint?airportLat=${airportLat}&airportLon=${airportLon}&list=${list}`,
- method: 'get',
- })
-}
-
-export const getDroneGsdListByDsnApi = params => {
- if (!params.deviceSn && !params.droneInfoStr) return ''
- const url = `/drone-device-core/manage/api/v1/droneGsd/getDroneGsdListByDsn`
- return request({
- url,
- method: 'get',
- params,
- })
-}
-
-// 创建创建面状航线
-export const createPlanarWayline = data => {
- return request({
- url: `/drone-device-core/wayline/plane/createWayline/createPoints`,
- method: 'post',
- timeout: 20000000000000000000,
- data,
- })
-}
-
-// 保存正射举证
-export const saveWayLineFileZS = (workspaceId, data) => {
- return request({
- url: `/drone-device-core/wayline/plane/createWayline/${workspaceId}/saveWayLineFileZS`,
- method: 'post',
- data,
- })
-}
-
-// 更新图斑数据
-export const sdfwUpdate = params => {
- return request({
- url: `/drone-device-core/patches/api/v1/Patches/sdfwUpdate`,
- method: 'put',
- data: params,
- })
-}
diff --git a/applications/mobile-web-view/src/api/job/jobinfo.js b/applications/mobile-web-view/src/api/job/jobinfo.js
deleted file mode 100644
index d72aec7..0000000
--- a/applications/mobile-web-view/src/api/job/jobinfo.js
+++ /dev/null
@@ -1,78 +0,0 @@
-import request from '@/axios'
-
-export const getList = (current, size, params) => {
- return request({
- url: '/blade-job/job-info/list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- })
-}
-
-export const getDetail = id => {
- return request({
- url: '/blade-job/job-info/detail',
- method: 'get',
- params: {
- id,
- },
- })
-}
-
-export const remove = ids => {
- return request({
- url: '/blade-job/job-info/remove',
- method: 'post',
- params: {
- ids,
- },
- })
-}
-
-export const add = row => {
- return request({
- url: '/blade-job/job-info/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const update = row => {
- return request({
- url: '/blade-job/job-info/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const change = row => {
- return request({
- url: '/blade-job/job-info/change',
- method: 'post',
- params: {
- id: row.id,
- enable: row.enable,
- },
- })
-}
-
-export const run = row => {
- return request({
- url: '/blade-job/job-info/run',
- method: 'post',
- params: {
- id: row.id,
- },
- })
-}
-
-export const sync = row => {
- return request({
- url: '/blade-job/job-info/sync',
- method: 'post',
- data: row,
- })
-}
diff --git a/applications/mobile-web-view/src/api/job/jobserver.js b/applications/mobile-web-view/src/api/job/jobserver.js
deleted file mode 100644
index e527445..0000000
--- a/applications/mobile-web-view/src/api/job/jobserver.js
+++ /dev/null
@@ -1,57 +0,0 @@
-import request from '@/axios'
-
-export const getList = (current, size, params) => {
- return request({
- url: '/blade-job/job-server/list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- })
-}
-
-export const getDetail = id => {
- return request({
- url: '/blade-job/job-server/detail',
- method: 'get',
- params: {
- id,
- },
- })
-}
-
-export const remove = ids => {
- return request({
- url: '/blade-job/job-server/remove',
- method: 'post',
- params: {
- ids,
- },
- })
-}
-
-export const add = row => {
- return request({
- url: '/blade-job/job-server/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const update = row => {
- return request({
- url: '/blade-job/job-server/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const sync = row => {
- return request({
- url: '/blade-job/job-server/sync',
- method: 'post',
- data: row,
- })
-}
diff --git a/applications/mobile-web-view/src/api/logs.js b/applications/mobile-web-view/src/api/logs.js
deleted file mode 100644
index 07213c8..0000000
--- a/applications/mobile-web-view/src/api/logs.js
+++ /dev/null
@@ -1,62 +0,0 @@
-import request from '@/axios'
-
-export const getUsualList = (current, size) => {
- return request({
- url: '/blade-log/usual/list',
- method: 'get',
- params: {
- current,
- size,
- },
- })
-}
-
-export const getApiList = (current, size) => {
- return request({
- url: '/blade-log/api/list',
- method: 'get',
- params: {
- current,
- size,
- },
- })
-}
-
-export const getErrorList = (current, size) => {
- return request({
- url: '/blade-log/error/list',
- method: 'get',
- params: {
- current,
- size,
- },
- })
-}
-
-export const getUsualLogs = id => {
- return request({
- url: '/blade-log/usual/detail',
- method: 'get',
- params: {
- id,
- },
- })
-}
-export const getApiLogs = id => {
- return request({
- url: '/blade-log/api/detail',
- method: 'get',
- params: {
- id,
- },
- })
-}
-export const getErrorLogs = id => {
- return request({
- url: '/blade-log/error/detail',
- method: 'get',
- params: {
- id,
- },
- })
-}
diff --git a/applications/mobile-web-view/src/api/model/index.js b/applications/mobile-web-view/src/api/model/index.js
deleted file mode 100644
index a54a8a7..0000000
--- a/applications/mobile-web-view/src/api/model/index.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * @Author : yuan
- * @Date : 2025-06-18 16:27:11
- * @LastEditors : yuan
- * @LastEditTime : 2025-06-18 16:43:38
- * @FilePath : \src\api\model\index.js
- * @Description :
- * Copyright 2025 OBKoro1, All Rights Reserved.
- * 2025-06-18 16:27:11
- */
-import request from '@/axios'
-
-export const getVoxGridTilesList = data => {
- return request({
- url: `/drone-odm/odmTaskInfo/odmTaskInfo/getVoxGridTilesList`,
- method: 'post',
- data,
- })
-}
-
-export const getVoxGridTilesListBySinglePlayer = data => {
- return request({
- url: `/drone-odm/odmTaskInfo/odmTaskInfo/getVoxGridTilesListBySinglePlayer`,
- method: 'post',
- data,
- })
-}
-
-// 获取正射token
-export const getOdmToken = () => {
- return request({
- url: `/drone-odm/odmTaskInfo/odmTaskInfo/getOdmToken`,
- method: 'get',
- })
-}
diff --git a/applications/mobile-web-view/src/api/panorama/index.js b/applications/mobile-web-view/src/api/panorama/index.js
deleted file mode 100644
index f212dec..0000000
--- a/applications/mobile-web-view/src/api/panorama/index.js
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * @Author : yuan
- * @Date : 2025-06-05 09:49:42
- * @LastEditors : yuan
- * @LastEditTime : 2025-06-07 18:16:57
- * @FilePath : \src\api\panorama\index.js
- * @Description :
- * Copyright 2025 OBKoro1, All Rights Reserved.
- * 2025-06-05 09:49:42
- */
-import request from '@/axios'
-
-import { convertKeysToCamelCase } from '@/utils/apiUtils'
-
-// 图斑聚合
-export const getPanoramaList = data => {
- return request({
- url: `/blade-resource/attach/mapAttachs`,
- method: 'post',
- data: convertKeysToCamelCase(data),
- })
-}
-
-// 图斑聚合
-export const getMapSpotAggregation = params => {
- return request({
- url: `/drone-device-core/patches/api/v1/Patches/getLotRegionCount`,
- method: 'get',
- params,
- })
-}
-
-export const getPanoramaDetails = id => {
- return request({
- url: `/blade-resource/attach/detail?id=${id}`,
- method: 'get',
- })
-}
diff --git a/applications/mobile-web-view/src/api/planar/index.js b/applications/mobile-web-view/src/api/planar/index.js
deleted file mode 100644
index 26243cd..0000000
--- a/applications/mobile-web-view/src/api/planar/index.js
+++ /dev/null
@@ -1,39 +0,0 @@
-// 面状航线相关接口
-import request from '@/axios'
-
-export const createPlanarWayline = data => {
- return request({
- url: `/drone-device-core/wayline/plane/createWayline/createPoints`,
- method: 'post',
- timeout: 20000000000000000000,
- data,
- })
-}
-
-export const createWayLineFile = data => {
- return request({
- url: `/drone-device-core/wayline/plane/createWayline/createWayLineFile`,
- method: 'post',
- timeout: 20000000000000000000,
- data,
- })
-}
-
-// 面状航线倾斜采集
-export const createWaylineXyPoints = data => {
- return request({
- url: `/drone-device-core/wayline/plane/createWayline/createWaylineXyPoints`,
- method: 'post',
- timeout: 20000000000000000000,
- data,
- })
-}
-// 面状航线生成图斑
-export const createWaylineFileAndPatches = data => {
- return request({
- url: `/drone-device-core/wayline/plane/createWayline/createWaylineFileAndPatches`,
- method: 'post',
- timeout: 20000000000000000000,
- data,
- })
-}
diff --git a/applications/mobile-web-view/src/api/report/report.js b/applications/mobile-web-view/src/api/report/report.js
deleted file mode 100644
index 560be29..0000000
--- a/applications/mobile-web-view/src/api/report/report.js
+++ /dev/null
@@ -1,22 +0,0 @@
-import request from '@/axios'
-
-export const getList = (current, size, params) => {
- return request({
- url: '/blade-report/report/rest/list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- })
-}
-export const remove = ids => {
- return request({
- url: '/blade-report/report/rest/remove',
- method: 'post',
- params: {
- ids,
- },
- })
-}
diff --git a/applications/mobile-web-view/src/api/resource/attach.js b/applications/mobile-web-view/src/api/resource/attach.js
deleted file mode 100644
index 8a05086..0000000
--- a/applications/mobile-web-view/src/api/resource/attach.js
+++ /dev/null
@@ -1,49 +0,0 @@
-import request from '@/axios'
-
-export const getList = (current, size, params) => {
- return request({
- url: '/blade-resource/attach/list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- })
-}
-
-export const getDetail = id => {
- return request({
- url: '/blade-resource/attach/detail',
- method: 'get',
- params: {
- id,
- },
- })
-}
-
-export const remove = ids => {
- return request({
- url: '/blade-resource/attach/remove',
- method: 'post',
- params: {
- ids,
- },
- })
-}
-
-export const add = row => {
- return request({
- url: '/blade-resource/attach/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const update = row => {
- return request({
- url: '/blade-resource/attach/submit',
- method: 'post',
- data: row,
- })
-}
diff --git a/applications/mobile-web-view/src/api/resource/oss.js b/applications/mobile-web-view/src/api/resource/oss.js
deleted file mode 100644
index 7214c97..0000000
--- a/applications/mobile-web-view/src/api/resource/oss.js
+++ /dev/null
@@ -1,59 +0,0 @@
-import request from '@/axios'
-
-export const getList = (current, size, params) => {
- return request({
- url: '/blade-resource/oss/list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- })
-}
-
-export const getDetail = id => {
- return request({
- url: '/blade-resource/oss/detail',
- method: 'get',
- params: {
- id,
- },
- })
-}
-
-export const remove = ids => {
- return request({
- url: '/blade-resource/oss/remove',
- method: 'post',
- params: {
- ids,
- },
- })
-}
-
-export const add = row => {
- return request({
- url: '/blade-resource/oss/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const update = row => {
- return request({
- url: '/blade-resource/oss/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const enable = id => {
- return request({
- url: '/blade-resource/oss/enable',
- method: 'post',
- params: {
- id,
- },
- })
-}
diff --git a/applications/mobile-web-view/src/api/resource/sms.js b/applications/mobile-web-view/src/api/resource/sms.js
deleted file mode 100644
index 7dd3dec..0000000
--- a/applications/mobile-web-view/src/api/resource/sms.js
+++ /dev/null
@@ -1,71 +0,0 @@
-import request from '@/axios'
-
-export const getList = (current, size, params) => {
- return request({
- url: '/blade-resource/sms/list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- })
-}
-
-export const getDetail = id => {
- return request({
- url: '/blade-resource/sms/detail',
- method: 'get',
- params: {
- id,
- },
- })
-}
-
-export const remove = ids => {
- return request({
- url: '/blade-resource/sms/remove',
- method: 'post',
- params: {
- ids,
- },
- })
-}
-
-export const add = row => {
- return request({
- url: '/blade-resource/sms/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const update = row => {
- return request({
- url: '/blade-resource/sms/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const enable = id => {
- return request({
- url: '/blade-resource/sms/enable',
- method: 'post',
- params: {
- id,
- },
- })
-}
-
-export const send = (code, phones, params) => {
- return request({
- url: '/blade-resource/sms/endpoint/send-message',
- method: 'post',
- params: {
- code,
- phones,
- params,
- },
- })
-}
diff --git a/applications/mobile-web-view/src/api/routePlan.js b/applications/mobile-web-view/src/api/routePlan.js
deleted file mode 100644
index d1c31c1..0000000
--- a/applications/mobile-web-view/src/api/routePlan.js
+++ /dev/null
@@ -1,132 +0,0 @@
-import request from '@/axios'
-import { ElMessage } from 'element-plus'
-
-export const getWaylineFileListApi = params => {
- return request({
- url: `/drone-device-core/wayline/api/v1/workspaces/getWaylineFileList`,
- method: 'get',
- params,
- })
-}
-
-export const newGetWorkspacesPage = params => {
- return request({
- url: `/drone-device-core/wayline/api/v1/wayline-groups/page`,
- method: 'get',
- params,
- })
-}
-
-export const updateWaylineNameApi = params => {
- return request({
- url: `/drone-device-core/wayline/api/v1/wayline-groups/updateWaylineName`,
- method: 'put',
- params,
- })
-}
-
-export const creatWaylineApi = data => {
- return request({
- url: `/drone-device-core/dp/home/flyToPointsSplit`,
- method: 'post',
- data,
- })
-}
-
-export const updateWaylineApi = data => {
- return request({
- url: `/drone-device-core/dp/home/updateWaylineSplit/${data.id}`,
- method: 'post',
- data,
- })
-}
-
-export const deleteWaylineApi = params => {
- return request({
- url: `/drone-device-core/wayline/api/v1/wayline-groups/waylines/remove`,
- method: 'post',
- params,
- })
-}
-
-// 获取航线规划-航线拆分
-export const getWaylineSplitApi = id => {
- return request({
- url: `/drone-device-core/wayline/api/v1/wayline-groups/${id}`,
- method: 'get',
- })
-}
-
-// waylineType:航线类型 0普通 1图斑 2航测 3航点 4正射举证
-// dkbh:图斑举证航线的图斑编号
-// patchesId:举证图斑的id
-// isTemp:是否为临时航线,0为临时航线不保存在库中
-export const importKmzFileApi = function (data, params = {}) {
- let url = `/drone-device-core/wayline/api/v1/workspaces/waylines/file/uploadFile`
- return request({
- url: url,
- method: 'post',
- headers: { 'Content-Type': 'multipart/form-data' },
- data,
- params,
- })
-}
-
-// 上传录音 文件
-export const waylineSpeakApi = data => {
- return request({
- url: `/drone-device-core/speak/api/v1/waylineSpeak`,
- method: 'post',
- data,
- })
-}
-
-// 获取音频列表
-export const getVoiceByUserIdApi = params => {
- return request({
- url: `/drone-device-core/speak/api/v1/getVoiceByUserId`,
- method: 'get',
- params,
- })
-}
-
-// 删除音频
-export const deleteSpeakVoiceByIdApi = id => {
- return request({
- url: `/drone-device-core/speak/api/v1/deleteSpeakVoiceById`,
- method: 'delete',
- params: { id },
- })
-}
-
-// 获取音频列表
-export const updateSpeakVoiceByIdApi = params => {
- return request({
- url: `/drone-device-core/speak/api/v1/updateSpeakVoiceById`,
- method: 'put',
- params,
- })
-}
-// 获取音频详情
-export const getSpeakVoiceByIdApi = id => {
- return request({
- url: `/drone-device-core/speak/api/v1/getSpeakVoiceById`,
- method: 'get',
- params: { id },
- })
-}
-
-// 判断当前航线是否有执行中或者待执行任务
-export const hasPendingOrRunningJobs = di => {
- return request({
- url: `/drone-device-core/wayline/api/v1/workspaces/hasPendingOrRunningJobs/${di}`,
- method: 'get',
- })
-}
-
-export const getAreaGridFilmGeoJsonApi = () => {
- return request({
- url: `/drone-odm/whiteFilmGeoJson/getAreaGridFilmGeoJson`,
- method: 'get',
- })
-}
diff --git a/applications/mobile-web-view/src/api/system/client.js b/applications/mobile-web-view/src/api/system/client.js
deleted file mode 100644
index 437e92e..0000000
--- a/applications/mobile-web-view/src/api/system/client.js
+++ /dev/null
@@ -1,49 +0,0 @@
-import request from '@/axios'
-
-export const getList = (current, size, params) => {
- return request({
- url: '/blade-system/client/list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- })
-}
-
-export const getDetail = id => {
- return request({
- url: '/blade-system/client/detail',
- method: 'get',
- params: {
- id,
- },
- })
-}
-
-export const remove = ids => {
- return request({
- url: '/blade-system/client/remove',
- method: 'post',
- params: {
- ids,
- },
- })
-}
-
-export const add = row => {
- return request({
- url: '/blade-system/client/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const update = row => {
- return request({
- url: '/blade-system/client/submit',
- method: 'post',
- data: row,
- })
-}
diff --git a/applications/mobile-web-view/src/api/system/dept.js b/applications/mobile-web-view/src/api/system/dept.js
deleted file mode 100644
index a3eda63..0000000
--- a/applications/mobile-web-view/src/api/system/dept.js
+++ /dev/null
@@ -1,80 +0,0 @@
-import request from '@/axios'
-
-export const getList = (current, size, params) => {
- return request({
- url: '/blade-system/dept/list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- })
-}
-
-export const getLazyList = (parentId, params) => {
- return request({
- url: '/blade-system/dept/lazy-list',
- method: 'get',
- params: {
- ...params,
- parentId,
- },
- })
-}
-
-export const remove = ids => {
- return request({
- url: '/blade-system/dept/remove',
- method: 'post',
- params: {
- ids,
- },
- })
-}
-
-export const add = row => {
- return request({
- url: '/blade-system/dept/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const update = row => {
- return request({
- url: '/blade-system/dept/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const getDept = id => {
- return request({
- url: '/blade-system/dept/detail',
- method: 'get',
- params: {
- id,
- },
- })
-}
-
-export const getDeptTree = tenantId => {
- return request({
- url: '/blade-system/dept/tree',
- method: 'get',
- params: {
- tenantId,
- },
- })
-}
-
-export const getDeptLazyTree = parentId => {
- return request({
- url: '/blade-system/dept/lazy-tree',
- method: 'get',
- params: {
- parentId,
- },
- })
-}
diff --git a/applications/mobile-web-view/src/api/system/dictbiz.js b/applications/mobile-web-view/src/api/system/dictbiz.js
deleted file mode 100644
index 2b00ea2..0000000
--- a/applications/mobile-web-view/src/api/system/dictbiz.js
+++ /dev/null
@@ -1,95 +0,0 @@
-import request from '@/axios'
-
-export const getList = (current, size, params) => {
- return request({
- url: '/blade-system/dict-biz/list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- })
-}
-
-export const getParentList = (current, size, params) => {
- return request({
- url: '/blade-system/dict-biz/parent-list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- })
-}
-
-export const getChildList = (current, size, parentId, params) => {
- return request({
- url: '/blade-system/dict-biz/child-list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- parentId: parentId,
- },
- })
-}
-
-export const remove = ids => {
- return request({
- url: '/blade-system/dict-biz/remove',
- method: 'post',
- params: {
- ids,
- },
- })
-}
-
-export const add = row => {
- return request({
- url: '/blade-system/dict-biz/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const update = row => {
- return request({
- url: '/blade-system/dict-biz/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const getDict = id => {
- return request({
- url: '/blade-system/dict-biz/detail',
- method: 'get',
- params: {
- id,
- },
- })
-}
-export const getDictTree = () => {
- return request({
- url: '/blade-system/dict-biz/tree?code=DICT',
- method: 'get',
- })
-}
-
-export const getDictionary = params => {
- return request({
- url: '/blade-system/dict-biz/dictionary',
- method: 'get',
- params,
- })
-}
-// 多个字典查询
-export const getMultipleDictionary = params => {
- return request({
- url: `/blade-system/dict-biz/listByCodes?codes=${params}`,
- method: 'get',
- })
-}
diff --git a/applications/mobile-web-view/src/api/system/helpCenter.js b/applications/mobile-web-view/src/api/system/helpCenter.js
deleted file mode 100644
index 4142149..0000000
--- a/applications/mobile-web-view/src/api/system/helpCenter.js
+++ /dev/null
@@ -1,8 +0,0 @@
-import request from '@/axios'
-// 列表
-export const listDataAPI = () => {
- return request({
- url: `/blade-system/helpCenter/list`,
- method: 'get',
- })
-}
diff --git a/applications/mobile-web-view/src/api/system/param.js b/applications/mobile-web-view/src/api/system/param.js
deleted file mode 100644
index baa2f2f..0000000
--- a/applications/mobile-web-view/src/api/system/param.js
+++ /dev/null
@@ -1,49 +0,0 @@
-import request from '@/axios'
-
-export const getList = (current, size, params) => {
- return request({
- url: '/blade-system/param/list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- })
-}
-
-export const getDetail = id => {
- return request({
- url: '/blade-system/param/detail',
- method: 'get',
- params: {
- id,
- },
- })
-}
-
-export const remove = ids => {
- return request({
- url: '/blade-system/param/remove',
- method: 'post',
- params: {
- ids,
- },
- })
-}
-
-export const add = row => {
- return request({
- url: '/blade-system/param/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const update = row => {
- return request({
- url: '/blade-system/param/submit',
- method: 'post',
- data: row,
- })
-}
diff --git a/applications/mobile-web-view/src/api/system/post.js b/applications/mobile-web-view/src/api/system/post.js
deleted file mode 100644
index 7318b2a..0000000
--- a/applications/mobile-web-view/src/api/system/post.js
+++ /dev/null
@@ -1,59 +0,0 @@
-import request from '@/axios'
-
-export const getList = (current, size, params) => {
- return request({
- url: '/blade-system/post/list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- })
-}
-
-export const getPostList = tenantId => {
- return request({
- url: '/blade-system/post/select',
- method: 'get',
- params: {
- tenantId,
- },
- })
-}
-
-export const getDetail = id => {
- return request({
- url: '/blade-system/post/detail',
- method: 'get',
- params: {
- id,
- },
- })
-}
-
-export const remove = ids => {
- return request({
- url: '/blade-system/post/remove',
- method: 'post',
- params: {
- ids,
- },
- })
-}
-
-export const add = row => {
- return request({
- url: '/blade-system/post/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const update = row => {
- return request({
- url: '/blade-system/post/submit',
- method: 'post',
- data: row,
- })
-}
diff --git a/applications/mobile-web-view/src/api/system/role.js b/applications/mobile-web-view/src/api/system/role.js
deleted file mode 100644
index ffe2312..0000000
--- a/applications/mobile-web-view/src/api/system/role.js
+++ /dev/null
@@ -1,96 +0,0 @@
-import request from '@/axios'
-
-export const getList = (current, size, params) => {
- return request({
- url: '/blade-system/role/list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- })
-}
-export const grantTree = () => {
- return request({
- url: '/blade-system/menu/grant-tree',
- method: 'get',
- })
-}
-
-export const grant = (roleIds, menuIds, dataScopeIds, apiScopeIds) => {
- return request({
- url: '/blade-system/role/grant',
- method: 'post',
- data: {
- roleIds,
- menuIds,
- dataScopeIds,
- apiScopeIds,
- },
- })
-}
-
-export const remove = ids => {
- return request({
- url: '/blade-system/role/remove',
- method: 'post',
- params: {
- ids,
- },
- })
-}
-
-export const add = row => {
- return request({
- url: '/blade-system/role/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const update = row => {
- return request({
- url: '/blade-system/role/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const getRole = roleIds => {
- return request({
- url: '/blade-system/menu/role-tree-keys',
- method: 'get',
- params: {
- roleIds,
- },
- })
-}
-
-export const getRoleTree = tenantId => {
- return request({
- url: '/blade-system/role/tree',
- method: 'get',
- params: {
- tenantId,
- },
- })
-}
-
-export const getRoleTreeById = roleId => {
- return request({
- url: '/blade-system/role/tree-by-id',
- method: 'get',
- params: {
- roleId,
- },
- })
-}
-
-export const getRoleAlias = () => {
- return request({
- url: '/blade-system/role/alias',
- method: 'get',
- params: {},
- })
-}
diff --git a/applications/mobile-web-view/src/api/system/scope.js b/applications/mobile-web-view/src/api/system/scope.js
deleted file mode 100644
index 6a2bdd7..0000000
--- a/applications/mobile-web-view/src/api/system/scope.js
+++ /dev/null
@@ -1,97 +0,0 @@
-import request from '@/axios'
-
-export const getListDataScope = (current, size, params) => {
- return request({
- url: '/blade-system/data-scope/list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- })
-}
-
-export const removeDataScope = ids => {
- return request({
- url: '/blade-system/data-scope/remove',
- method: 'post',
- params: {
- ids,
- },
- })
-}
-
-export const addDataScope = row => {
- return request({
- url: '/blade-system/data-scope/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const updateDataScope = row => {
- return request({
- url: '/blade-system/data-scope/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const getMenuDataScope = id => {
- return request({
- url: '/blade-system/data-scope/detail',
- method: 'get',
- params: {
- id,
- },
- })
-}
-
-export const getListApiScope = (current, size, params) => {
- return request({
- url: '/blade-system/api-scope/list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- })
-}
-
-export const removeApiScope = ids => {
- return request({
- url: '/blade-system/api-scope/remove',
- method: 'post',
- params: {
- ids,
- },
- })
-}
-
-export const addApiScope = row => {
- return request({
- url: '/blade-system/api-scope/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const updateApiScope = row => {
- return request({
- url: '/blade-system/api-scope/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const getMenuApiScope = id => {
- return request({
- url: '/blade-system/api-scope/detail',
- method: 'get',
- params: {
- id,
- },
- })
-}
diff --git a/applications/mobile-web-view/src/api/system/tenantdatasource.js b/applications/mobile-web-view/src/api/system/tenantdatasource.js
deleted file mode 100644
index 4c7921a..0000000
--- a/applications/mobile-web-view/src/api/system/tenantdatasource.js
+++ /dev/null
@@ -1,49 +0,0 @@
-import request from '@/axios'
-
-export const getList = (current, size, params) => {
- return request({
- url: '/blade-system/tenant-datasource/list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- })
-}
-
-export const getDetail = id => {
- return request({
- url: '/blade-system/tenant-datasource/detail',
- method: 'get',
- params: {
- id,
- },
- })
-}
-
-export const remove = ids => {
- return request({
- url: '/blade-system/tenant-datasource/remove',
- method: 'post',
- params: {
- ids,
- },
- })
-}
-
-export const add = row => {
- return request({
- url: '/blade-system/tenant-datasource/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const update = row => {
- return request({
- url: '/blade-system/tenant-datasource/submit',
- method: 'post',
- data: row,
- })
-}
diff --git a/applications/mobile-web-view/src/api/system/tenantpackage.js b/applications/mobile-web-view/src/api/system/tenantpackage.js
deleted file mode 100644
index 16eebb0..0000000
--- a/applications/mobile-web-view/src/api/system/tenantpackage.js
+++ /dev/null
@@ -1,49 +0,0 @@
-import request from '@/axios'
-
-export const getList = (current, size, params) => {
- return request({
- url: '/blade-system/tenant-package/list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- })
-}
-
-export const getDetail = id => {
- return request({
- url: '/blade-system/tenant-package/detail',
- method: 'get',
- params: {
- id,
- },
- })
-}
-
-export const remove = ids => {
- return request({
- url: '/blade-system/tenant-package/remove',
- method: 'post',
- params: {
- ids,
- },
- })
-}
-
-export const add = row => {
- return request({
- url: '/blade-system/tenant-package/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const update = row => {
- return request({
- url: '/blade-system/tenant-package/submit',
- method: 'post',
- data: row,
- })
-}
diff --git a/applications/mobile-web-view/src/api/system/topmenu.js b/applications/mobile-web-view/src/api/system/topmenu.js
deleted file mode 100644
index 2471c3c..0000000
--- a/applications/mobile-web-view/src/api/system/topmenu.js
+++ /dev/null
@@ -1,77 +0,0 @@
-import request from '@/axios'
-
-export const getList = (current, size, params) => {
- return request({
- url: '/blade-system/topmenu/list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- })
-}
-
-export const getDetail = id => {
- return request({
- url: '/blade-system/topmenu/detail',
- method: 'get',
- params: {
- id,
- },
- })
-}
-
-export const remove = ids => {
- return request({
- url: '/blade-system/topmenu/remove',
- method: 'post',
- params: {
- ids,
- },
- })
-}
-
-export const add = row => {
- return request({
- url: '/blade-system/topmenu/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const update = row => {
- return request({
- url: '/blade-system/topmenu/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const grantTree = () => {
- return request({
- url: '/blade-system/menu/grant-top-tree',
- method: 'get',
- })
-}
-
-export const getTopTree = topMenuIds => {
- return request({
- url: '/blade-system/menu/top-tree-keys',
- method: 'get',
- params: {
- topMenuIds,
- },
- })
-}
-
-export const grant = (topMenuIds, menuIds) => {
- return request({
- url: '/blade-system/topmenu/grant',
- method: 'post',
- data: {
- topMenuIds,
- menuIds,
- },
- })
-}
diff --git a/applications/mobile-web-view/src/api/system/user.js b/applications/mobile-web-view/src/api/system/user.js
deleted file mode 100644
index 1066923..0000000
--- a/applications/mobile-web-view/src/api/system/user.js
+++ /dev/null
@@ -1,150 +0,0 @@
-import request from '@/axios'
-
-export const getList = (current, size, params, deptId) => {
- return request({
- url: '/blade-system/user/page',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- deptId,
- },
- })
-}
-
-export const remove = ids => {
- return request({
- url: '/blade-system/user/remove',
- method: 'post',
- params: {
- ids,
- },
- })
-}
-
-export const add = row => {
- return request({
- url: '/blade-system/user/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const update = row => {
- return request({
- url: '/blade-system/user/update',
- method: 'post',
- data: row,
- })
-}
-
-export const updatePlatform = (userId, userType, userExt) => {
- return request({
- url: '/blade-system/user/update-platform',
- method: 'post',
- params: {
- userId,
- userType,
- userExt,
- },
- })
-}
-
-export const getUser = id => {
- return request({
- url: '/blade-system/user/detail',
- method: 'get',
- params: {
- id,
- },
- })
-}
-
-export const getUserPlatform = id => {
- return request({
- url: '/blade-system/user/platform-detail',
- method: 'get',
- params: {
- id,
- },
- })
-}
-
-export const getUserInfo = () => {
- return request({
- url: '/blade-system/user/info',
- method: 'get',
- })
-}
-
-export const resetPassword = userIds => {
- return request({
- url: '/blade-system/user/reset-password',
- method: 'post',
- params: {
- userIds,
- },
- })
-}
-
-export const updatePassword = (oldPassword, newPassword, newPassword1) => {
- return request({
- url: '/blade-system/user/update-password',
- method: 'post',
- params: {
- oldPassword,
- newPassword,
- newPassword1,
- },
- })
-}
-
-export const updateInfo = row => {
- return request({
- url: '/blade-system/user/update-info',
- method: 'post',
- data: row,
- })
-}
-
-export const grant = (userIds, roleIds) => {
- return request({
- url: '/blade-system/user/grant',
- method: 'post',
- params: {
- userIds,
- roleIds,
- },
- })
-}
-
-export const unlock = userIds => {
- return request({
- url: '/blade-system/user/unlock',
- method: 'post',
- params: {
- userIds,
- },
- })
-}
-
-export const auditPass = userIds => {
- return request({
- url: '/blade-system/user/audit-pass',
- method: 'post',
- params: {
- userIds,
- },
- })
-}
-
-export const auditRefuse = userIds => {
- return request({
- url: '/blade-system/user/audit-refuse',
- method: 'post',
- params: {
- userIds,
- },
- })
-}
diff --git a/applications/mobile-web-view/src/api/tool/code.js b/applications/mobile-web-view/src/api/tool/code.js
deleted file mode 100644
index 9ab0544..0000000
--- a/applications/mobile-web-view/src/api/tool/code.js
+++ /dev/null
@@ -1,78 +0,0 @@
-import request from '@/axios'
-
-export const getList = (current, size, params) => {
- return request({
- url: '/blade-develop/code/list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- })
-}
-
-export const build = ids => {
- return request({
- url: '/blade-develop/code/gen-code',
- method: 'post',
- params: {
- ids,
- system: 'saber',
- },
- })
-}
-
-export const buildFast = form => {
- return request({
- url: '/blade-develop/code/gen-code-fast',
- method: 'post',
- data: form,
- })
-}
-
-export const remove = ids => {
- return request({
- url: '/blade-develop/code/remove',
- method: 'post',
- params: {
- ids,
- },
- })
-}
-
-export const add = row => {
- return request({
- url: '/blade-develop/code/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const update = row => {
- return request({
- url: '/blade-develop/code/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const copy = id => {
- return request({
- url: '/blade-develop/code/copy',
- method: 'post',
- params: {
- id,
- },
- })
-}
-
-export const getCode = id => {
- return request({
- url: '/blade-develop/code/detail',
- method: 'get',
- params: {
- id,
- },
- })
-}
diff --git a/applications/mobile-web-view/src/api/tool/codesetting.js b/applications/mobile-web-view/src/api/tool/codesetting.js
deleted file mode 100644
index 92f589c..0000000
--- a/applications/mobile-web-view/src/api/tool/codesetting.js
+++ /dev/null
@@ -1,88 +0,0 @@
-import request from '@/axios'
-
-export const getList = (current, size, params) => {
- return request({
- url: '/blade-develop/code-setting/list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- })
-}
-
-export const getDetail = id => {
- return request({
- url: '/blade-develop/code-setting/detail',
- method: 'get',
- params: {
- id,
- },
- })
-}
-
-export const remove = ids => {
- return request({
- url: '/blade-develop/code-setting/remove',
- method: 'post',
- params: {
- ids,
- },
- })
-}
-
-export const add = row => {
- return request({
- url: '/blade-develop/code-setting/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const update = row => {
- return request({
- url: '/blade-develop/code-setting/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const enable = id => {
- return request({
- url: '/blade-develop/code-setting/enable',
- method: 'post',
- params: {
- id,
- },
- })
-}
-
-export const getEnableDetail = () => {
- return request({
- url: '/blade-develop/code-setting/enable-detail',
- method: 'get',
- params: {},
- })
-}
-
-export const getTableForm = tableName => {
- return request({
- url: '/blade-develop/code-setting/table-form',
- method: 'get',
- params: {
- tableName,
- },
- })
-}
-
-export const getTablePrototype = (tableName, datasourceId) => {
- return request({
- url: '/blade-develop/code-setting/table-prototype',
- method: 'get',
- params: {
- tableName,
- datasourceId,
- },
- })
-}
diff --git a/applications/mobile-web-view/src/api/tool/datasource.js b/applications/mobile-web-view/src/api/tool/datasource.js
deleted file mode 100644
index 27fa915..0000000
--- a/applications/mobile-web-view/src/api/tool/datasource.js
+++ /dev/null
@@ -1,49 +0,0 @@
-import request from '@/axios'
-
-export const getList = (current, size, params) => {
- return request({
- url: '/blade-develop/datasource/list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- })
-}
-
-export const getDetail = id => {
- return request({
- url: '/blade-develop/datasource/detail',
- method: 'get',
- params: {
- id,
- },
- })
-}
-
-export const remove = ids => {
- return request({
- url: '/blade-develop/datasource/remove',
- method: 'post',
- params: {
- ids,
- },
- })
-}
-
-export const add = row => {
- return request({
- url: '/blade-develop/datasource/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const update = row => {
- return request({
- url: '/blade-develop/datasource/submit',
- method: 'post',
- data: row,
- })
-}
diff --git a/applications/mobile-web-view/src/api/tool/model.js b/applications/mobile-web-view/src/api/tool/model.js
deleted file mode 100644
index 62ea3da..0000000
--- a/applications/mobile-web-view/src/api/tool/model.js
+++ /dev/null
@@ -1,110 +0,0 @@
-import request from '@/axios'
-
-export const getList = (current, size, params) => {
- return request({
- url: '/blade-develop/model/list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- })
-}
-
-export const getDetail = id => {
- return request({
- url: '/blade-develop/model/detail',
- method: 'get',
- params: {
- id,
- },
- })
-}
-
-export const remove = ids => {
- return request({
- url: '/blade-develop/model/remove',
- method: 'post',
- params: {
- ids,
- },
- })
-}
-
-export const add = row => {
- return request({
- url: '/blade-develop/model/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const update = row => {
- return request({
- url: '/blade-develop/model/submit',
- method: 'post',
- data: row,
- })
-}
-
-export const getTableList = datasourceId => {
- return request({
- url: '/blade-develop/model/table-list',
- method: 'get',
- params: {
- datasourceId,
- },
- })
-}
-
-export const getTableInfo = (modelId, datasourceId) => {
- return request({
- url: '/blade-develop/model/table-info',
- method: 'get',
- params: {
- modelId,
- datasourceId,
- },
- })
-}
-
-export const getTableInfoByName = (tableName, datasourceId) => {
- return request({
- url: '/blade-develop/model/table-info',
- method: 'get',
- params: {
- tableName,
- datasourceId,
- },
- })
-}
-
-export const getModelPrototype = (modelId, datasourceId) => {
- return request({
- url: '/blade-develop/model/model-prototype',
- method: 'get',
- params: {
- modelId,
- datasourceId,
- },
- })
-}
-
-export const submitModelPrototype = row => {
- return request({
- url: '/blade-develop/model-prototype/submit-list',
- method: 'post',
- data: row,
- })
-}
-
-export const prototypeDetail = modelId => {
- return request({
- url: '/blade-develop/model-prototype/select',
- method: 'get',
- params: {
- modelId,
- },
- })
-}
diff --git a/applications/mobile-web-view/src/api/work/index.js b/applications/mobile-web-view/src/api/work/index.js
deleted file mode 100644
index 619395e..0000000
--- a/applications/mobile-web-view/src/api/work/index.js
+++ /dev/null
@@ -1,124 +0,0 @@
-import request from '@/axios'
-export const getList = data => {
- return request({
- url: '/drone-device-core/jobEvent/eventPage',
- method: 'post',
- data,
- })
-}
-// 获取状态统计数据
-export const getstatusCount1 = params => {
- return request({
- url: '/drone-device-core/jobEvent/getstatusCount',
- method: 'get',
- params,
- })
-}
-export const getstatusCount = data => {
- return request({
- url: '/drone-device-core/jobEvent/getstatusCount',
- method: 'post',
- data,
- })
-}
-export const getStepInfo = eventNum => {
- return request({
- url: '/drone-device-core/jobEvent/getStepInfo',
- method: 'get',
- params: { eventNum },
- })
-}
-
-// 修改接口:处理待审核状态,动态构建 FormData 提交
-export const flowEvent = (data, file) => {
- const formData = new FormData()
-
- // 动态添加非空字段到 FormData
- Object.entries(data).forEach(([key, value]) => {
- if (value !== undefined && value !== null) {
- formData.append(key, value)
- }
- })
-
- // 如果 file 存在,则添加到 FormData
- if (file) {
- formData.append('file', file)
- }
-
- return request({
- url: '/drone-device-core/jobEvent/flowEvent',
- method: 'post',
- data: formData,
- headers: {
- 'Content-Type': 'multipart/form-data', // 设置为表单数据格式
- },
- })
-}
-
-// 新增接口:获取工单详细信息
-export const getTicketInfo = id => {
- return request({
- url: '/drone-device-core/jobEvent/getTicketInfo',
- method: 'get',
- params: { id }, // 使用工单 ID 查询
- })
-}
-
-// 获取算法
-export const getDictionaryByCode = codes => {
- return request({
- url: '/blade-system/dict-biz/listByCodes',
- method: 'get',
- params: {
- codes,
- },
- })
-}
-export const getChildList = (current, size, parentId, params) => {
- return request({
- url: '/blade-system/dict-biz/child-list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- parentId: parentId,
- },
- })
-}
-
-// 修改创建工单的方法
-export const createTicket = (data, file) => {
- const formData = new FormData()
-
- // 创建 eventDto 对象,不显式设置 file 字段
- const eventDto = {
- ...data, // 直接使用传入的 data,不添加 file: null
- }
-
- // 添加所有字段到 FormData
- Object.entries(eventDto).forEach(([key, value]) => {
- formData.append(key, value)
- })
-
- // 只有当 file 存在时才添加文件
- if (file) {
- formData.append('file', file)
- }
-
- return request({
- url: '/drone-device-core/jobEvent/saveEvent',
- method: 'post',
- data: formData,
- headers: {
- 'Content-Type': 'multipart/form-data',
- },
- })
-}
-// 获取按钮
-export const getButtons = params =>
- request({
- url: '/blade-system/menu/buttons',
- method: 'get',
- params,
- })
diff --git a/applications/mobile-web-view/src/api/work/process.js b/applications/mobile-web-view/src/api/work/process.js
deleted file mode 100644
index d54be02..0000000
--- a/applications/mobile-web-view/src/api/work/process.js
+++ /dev/null
@@ -1,33 +0,0 @@
-import request from '@/axios'
-
-// =====================参数===========================
-
-export const historyFlowList = processInstanceId => {
- return request({
- url: '/blade-flow/process/history-flow-list',
- method: 'get',
- params: {
- processInstanceId,
- },
- })
-}
-
-// =====================请假流程===========================
-
-export const leaveProcess = data => {
- return request({
- url: '/blade-desk/process/leave/start-process',
- method: 'post',
- data,
- })
-}
-
-export const leaveDetail = businessId => {
- return request({
- url: '/blade-desk/process/leave/detail',
- method: 'get',
- params: {
- businessId,
- },
- })
-}
diff --git a/applications/mobile-web-view/src/api/work/work.js b/applications/mobile-web-view/src/api/work/work.js
deleted file mode 100644
index a5264bb..0000000
--- a/applications/mobile-web-view/src/api/work/work.js
+++ /dev/null
@@ -1,79 +0,0 @@
-import request from '@/axios'
-
-export const startList = (current, size, params) => {
- return request({
- url: '/blade-flow/work/start-list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- })
-}
-
-export const claimList = (current, size, params) => {
- return request({
- url: '/blade-flow/work/claim-list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- })
-}
-
-export const todoList = (current, size, params) => {
- return request({
- url: '/blade-flow/work/todo-list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- })
-}
-
-export const sendList = (current, size, params) => {
- return request({
- url: '/blade-flow/work/send-list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- })
-}
-
-export const doneList = (current, size, params) => {
- return request({
- url: '/blade-flow/work/done-list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- })
-}
-
-export const claimTask = taskId => {
- return request({
- url: '/blade-flow/work/claim-task',
- method: 'post',
- params: {
- taskId,
- },
- })
-}
-
-export const completeTask = data => {
- return request({
- url: '/blade-flow/work/complete-task',
- method: 'post',
- data,
- })
-}
--
Gitblit v1.9.3