From 4ee55a85df6b5ef0e14832a02df4c76753717c50 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Wed, 04 Feb 2026 11:38:20 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
applications/task-work-order/src/styles/login.scss | 147 ++++++++++++++++----
/dev/null | 79 -----------
applications/task-work-order/src/page/login/index.vue | 8
applications/drone-command/src/views/areaManage/sceneConfig/index.vue | 2
applications/drone-command/src/views/detectionCountermeasure/countermeasureEvaluation/index.vue | 4
applications/drone-command/src/views/areaManage/sceneConfig/FormDiaLog.vue | 125 +++++++++++++++++
6 files changed, 243 insertions(+), 122 deletions(-)
diff --git a/applications/drone-command/src/views/areaManage/sceneConfig/FormDiaLog.vue b/applications/drone-command/src/views/areaManage/sceneConfig/FormDiaLog.vue
index f11d973..ae57019 100644
--- a/applications/drone-command/src/views/areaManage/sceneConfig/FormDiaLog.vue
+++ b/applications/drone-command/src/views/areaManage/sceneConfig/FormDiaLog.vue
@@ -60,7 +60,11 @@
row-key="id"
>
<el-table-column prop="deviceName" show-overflow-tooltip label="设备名称" />
- <el-table-column prop="deviceType" show-overflow-tooltip label="设备类型" />
+ <el-table-column prop="deviceType" show-overflow-tooltip label="设备类型">
+ <template v-slot="{ row }">
+ {{ getDictLabel(row.deviceType, dictObj.deviceType) }}
+ </template>
+ </el-table-column>
</el-table>
</div>
</div>
@@ -153,7 +157,11 @@
row-key="id"
>
<el-table-column prop="deviceName" show-overflow-tooltip label="设备名称" />
- <el-table-column prop="deviceType" show-overflow-tooltip label="设备类型" />
+ <el-table-column prop="deviceType" show-overflow-tooltip label="设备类型">
+ <template v-slot="{ row }">
+ {{ getDictLabel(row.deviceType, dictObj.deviceType) }}
+ </template>
+ </el-table-column>
</el-table>
</div>
</div>
@@ -195,9 +203,15 @@
buildEllipsePositions,
} from '@/utils/cesium/shapeTools'
import { cartesian3Convert } from '@/utils/cesium/mapUtil'
+import {
+ createDeviceRangePrimitive,
+ getDeviceLngLat,
+ normalizeDeviceRange,
+} from '@/utils/cesium/deviceRange'
import { saveOperationLog } from '@ztzf/apis'
import { useRoute } from 'vue-router'
import { AREA_TYPE_STYLE_MAP, BUFFER_LEVEL_STYLES, DEFAULT_AREA_STYLE } from '@ztzf/constants'
+import equipmentIcon from '@/assets/images/dataCockpit/map/equipment.png'
const initForm = () => ({
sceneName: '', // 配置名称
@@ -219,6 +233,7 @@
const searchName = ref('')
const areaList = ref([]) // 关联区域列表
const selectedAreaRows = ref([]) //选中列表
+let lastSelectedAreaIds = []
const deviceList = ref([]) // 设备列表
const deviceLoading = ref(false)
const dictObj = inject('dictObj')
@@ -226,6 +241,9 @@
const route = useRoute()
let viewer
let areaDisplaySource
+const deviceRangePrimitiveMap = new Map()
+const deviceIconEntityMap = new Map()
+let deviceRangeRenderToken = 0
const rules = {
sceneName: fieldRules(true, 50),
@@ -279,12 +297,16 @@
async function loadDeviceListByAreaIds(areaIdsKey) {
if (!areaIdsKey) {
deviceList.value = []
+ clearDeviceRangePrimitives()
+ clearDeviceIconEntities()
return
}
deviceLoading.value = true
try {
const res = await fwDeviceListApi({ areaIds: areaIdsKey })
deviceList.value = res?.data?.data ?? []
+ await nextTick()
+ renderDeviceRanges(deviceList.value)
} finally {
deviceLoading.value = false
}
@@ -292,11 +314,17 @@
// 关联区域变更
async function handleAreaSelectionChange(rows) {
+ const prevIds = new Set(lastSelectedAreaIds)
const selectedRows = await ensureAreaExtList(rows)
selectedAreaRows.value = selectedRows
const ids = selectedRows.map(item => item.id)
+ lastSelectedAreaIds = [...ids]
formData.value.areaDivideIds = ids.join(',')
formData.value.areaCount = ids.length
+ if (ids.some(id => !prevIds.has(id))) {
+ await nextTick()
+ fitViewToSelectedAreas()
+ }
}
// 渲染面
@@ -312,6 +340,22 @@
function clearAreaDisplay() {
if (!areaDisplaySource) return
areaDisplaySource.entities.removeAll()
+}
+
+function clearDeviceRangePrimitives() {
+ if (!viewer || !deviceRangePrimitiveMap.size) return
+ for (const primitive of deviceRangePrimitiveMap.values()) {
+ viewer.scene.primitives.remove(primitive)
+ }
+ deviceRangePrimitiveMap.clear()
+}
+
+function clearDeviceIconEntities() {
+ if (!viewer || !deviceIconEntityMap.size) return
+ for (const entity of deviceIconEntityMap.values()) {
+ viewer.entities.remove(entity)
+ }
+ deviceIconEntityMap.clear()
}
function normalizeShapePoint(point) {
@@ -559,6 +603,70 @@
})
}
+function addDeviceIconEntity(device, position) {
+ if (!viewer || !position) return
+ const id = String(device?.id ?? '')
+ if (!id || deviceIconEntityMap.has(id)) return
+ const entity = viewer.entities.add({
+ position: Cesium.Cartesian3.fromDegrees(position.lng, position.lat, position.height || 0),
+ billboard: {
+ image: equipmentIcon,
+ width: 28,
+ height: 38,
+ verticalOrigin: Cesium.VerticalOrigin.BOTTOM,
+ heightReference: Cesium.HeightReference.CLAMP_TO_GROUND,
+ },
+ })
+ deviceIconEntityMap.set(id, entity)
+}
+
+async function renderDeviceRanges(rows) {
+ if (!visible.value) return
+ if (!viewer) initMap()
+ if (!viewer) return
+ deviceRangeRenderToken += 1
+ const renderToken = deviceRangeRenderToken
+ const selectedRows = Array.isArray(rows) ? rows : []
+ const nextIds = new Set(selectedRows.map(row => String(row?.id)))
+ for (const [id, primitive] of deviceRangePrimitiveMap.entries()) {
+ if (!nextIds.has(id)) {
+ viewer.scene.primitives.remove(primitive)
+ deviceRangePrimitiveMap.delete(id)
+ }
+ }
+ for (const [id, entity] of deviceIconEntityMap.entries()) {
+ if (!nextIds.has(id)) {
+ viewer.entities.remove(entity)
+ deviceIconEntityMap.delete(id)
+ }
+ }
+ const pendingRows = selectedRows.filter(row => {
+ const id = String(row?.id)
+ return id && !deviceRangePrimitiveMap.has(id)
+ })
+ if (!pendingRows.length) return
+ const primitives = await Promise.all(
+ pendingRows.map(async row => {
+ const position = getDeviceLngLat(row)
+ if (!position) return { row, primitive: null, position: null }
+ const rangeMeters = normalizeDeviceRange(row.effectiveRangeKm)
+ const primitive = await createDeviceRangePrimitive(viewer, position, rangeMeters)
+ return { row, primitive, position }
+ })
+ )
+ if (renderToken !== deviceRangeRenderToken) return
+ primitives.forEach(({ row, primitive, position }) => {
+ if (position) {
+ addDeviceIconEntity(row, position)
+ }
+ if (!primitive) return
+ const id = String(row?.id)
+ if (!nextIds.has(id)) return
+ deviceRangePrimitiveMap.set(id, primitive)
+ viewer.scene.primitives.add(primitive)
+ })
+}
+
watch(() => selectedAreaRows.value, renderSelectedAreas)
const deviceAreaIdsKey = computed(() =>
selectedAreaRows.value.map(item => item?.id).filter(Boolean).join(',')
@@ -570,9 +678,19 @@
}
)
watch(
+ () => deviceList.value,
+ val => {
+ renderDeviceRanges(val)
+ }
+)
+watch(
() => visible.value,
val => {
- if (!val) clearAreaDisplay()
+ if (!val) {
+ clearAreaDisplay()
+ clearDeviceRangePrimitives()
+ clearDeviceIconEntities()
+ }
}
)
@@ -619,6 +737,7 @@
selectedAreaRows.value = ensuredRows
if (!ensuredRows.length) return
formData.value.areaCount = ensuredRows.length
+ lastSelectedAreaIds = ensuredRows.map(row => row.id)
}
// 初始化地图实例
diff --git a/applications/drone-command/src/views/areaManage/sceneConfig/index.vue b/applications/drone-command/src/views/areaManage/sceneConfig/index.vue
index e0bca9e..0f874ae 100644
--- a/applications/drone-command/src/views/areaManage/sceneConfig/index.vue
+++ b/applications/drone-command/src/views/areaManage/sceneConfig/index.vue
@@ -174,7 +174,7 @@
// 获取字典
function getDictList() {
- getDictionaryByCode('CommandSceneType,deviceMode,areaType').then(res => {
+ getDictionaryByCode('CommandSceneType,deviceMode,areaType,deviceType').then(res => {
dictObj.value = res.data.data
})
}
diff --git a/applications/drone-command/src/views/detectionCountermeasure/countermeasureEvaluation/index.vue b/applications/drone-command/src/views/detectionCountermeasure/countermeasureEvaluation/index.vue
index bb0c82a..c0e37b1 100644
--- a/applications/drone-command/src/views/detectionCountermeasure/countermeasureEvaluation/index.vue
+++ b/applications/drone-command/src/views/detectionCountermeasure/countermeasureEvaluation/index.vue
@@ -74,8 +74,8 @@
</template>
</el-table-column>
<el-table-column prop="deviceSn" show-overflow-tooltip width="140" label="反制设备编码" />
- <el-table-column prop="areaCode" show-overflow-tooltip width="120" label="场景" />
- <el-table-column prop="areaCode" show-overflow-tooltip width="120" label="区域" />
+ <el-table-column prop="sceneName" show-overflow-tooltip width="120" label="场景" />
+ <el-table-column prop="areaName" show-overflow-tooltip width="120" label="区域" />
<el-table-column show-overflow-tooltip width="172" label="部署位置">
<template v-slot="{ row }">
{{ row.deployLongitude && row.deployLatitude ? `${row.deployLongitude}, ${row.deployLatitude}` : '' }}
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,
- })
-}
diff --git a/applications/task-work-order/src/page/login/index.vue b/applications/task-work-order/src/page/login/index.vue
index 4453760..c806bbe 100644
--- a/applications/task-work-order/src/page/login/index.vue
+++ b/applications/task-work-order/src/page/login/index.vue
@@ -5,7 +5,9 @@
<div class="login-time">
{{ time }}
</div>
- <p class="title">{{ login.info }}</p>
+ <div class="login-brand">
+ <p class="title">{{ login.info }}</p>
+ </div>
</div>
<div class="login-border">
<div class="login-main">
@@ -73,10 +75,10 @@
created() {
this.handleLogin();
this.getTime();
- if(!loginTitle) {
+ if(!loginTitle) {
this.getSysConfigInfo();
}
-
+
},
mounted() {},
computed: {
diff --git a/applications/task-work-order/src/styles/login.scss b/applications/task-work-order/src/styles/login.scss
index 98100e4..d68c13a 100644
--- a/applications/task-work-order/src/styles/login.scss
+++ b/applications/task-work-order/src/styles/login.scss
@@ -5,15 +5,41 @@
width: 100%;
height: 100%;
margin: 0 auto;
- background-color: #469BC0;
- // background-image: url("/img/bg/bg.jpg");
+ background-color: #0b1220;
+ overflow: hidden;
background-size: 100% 100%;
+}
+
+.login-container::before,
+.login-container::after {
+ content: "";
+ position: absolute;
+ inset: -20%;
+ z-index: 0;
+ background: radial-gradient(60% 60% at 20% 30%, rgba(88, 176, 255, 0.35), transparent 60%),
+ radial-gradient(50% 50% at 80% 20%, rgba(124, 92, 255, 0.35), transparent 65%),
+ radial-gradient(50% 50% at 70% 80%, rgba(0, 212, 255, 0.35), transparent 65%),
+ linear-gradient(135deg, rgba(10, 21, 38, 0.95), rgba(13, 24, 43, 0.92));
+ filter: blur(10px);
+ animation: float-sheen 16s ease-in-out infinite;
+}
+
+.login-container::after {
+ inset: -30%;
+ opacity: 0.5;
+ background: conic-gradient(from 120deg, rgba(95, 228, 255, 0.25), rgba(128, 120, 255, 0.15), transparent 50%);
+ animation: float-sheen 24s ease-in-out infinite reverse;
}
.login-weaper {
margin: 0 auto;
width: 1000px;
- box-shadow: -4px 5px 10px rgba(0, 0, 0, 0.4);
+ position: relative;
+ z-index: 1;
+ border-radius: 16px;
+ box-shadow: 0 30px 60px rgba(6, 12, 24, 0.55);
+ backdrop-filter: blur(10px);
+ animation: pop-in 0.7s ease-out;
.el-input-group__append {
border: none;
@@ -29,11 +55,12 @@
}
.login-left {
- border-top-left-radius: 5px;
- border-bottom-left-radius: 5px;
+ border-top-left-radius: 16px;
+ border-bottom-left-radius: 16px;
justify-content: center;
flex-direction: column;
- background-color: #5A9CF8 !important;
+ background: linear-gradient(160deg, rgba(80, 160, 255, 0.95), rgba(73, 96, 255, 0.92)) !important;
+ box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.12);
color: #fff;
float: left;
width: 50%;
@@ -42,6 +69,7 @@
.login-left .img {
width: 140px;
+ filter: drop-shadow(0 8px 18px rgba(10, 22, 38, 0.35));
}
.login-time {
@@ -52,33 +80,37 @@
color: #fff;
font-weight: 200;
opacity: 0.9;
- font-size: 18px;
+ font-size: 16px;
overflow: hidden;
+ letter-spacing: 1px;
}
.login-left .title {
text-align: center;
color: #fff;
font-weight: bold;
- font-size: 30px;
- letter-spacing: 2px;
+ font-size: 32px;
+ letter-spacing: 3px;
+ text-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
.login-border {
border-left: none;
- border-top-right-radius: 5px;
- border-bottom-right-radius: 5px;
+ border-top-right-radius: 16px;
+ border-bottom-right-radius: 16px;
color: #fff;
- background-color: #fff;
+ background: rgba(255, 255, 255, 0.92);
width: 50%;
float: left;
box-sizing: border-box;
+ box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.login-main {
margin: 0 auto;
width: 65%;
box-sizing: border-box;
+ padding: 40px 0;
}
.login-main > h3 {
@@ -90,12 +122,13 @@
}
.login-title {
- color: #333;
- margin-bottom: 40px;
- font-weight: 500;
- font-size: 22px;
+ color: #1a1f2b;
+ margin-bottom: 36px;
+ font-weight: 600;
+ font-size: 24px;
text-align: center;
- letter-spacing: 4px;
+ letter-spacing: 6px;
+ text-transform: uppercase;
}
.login-menu {
@@ -113,46 +146,49 @@
.btn-submit {
width: 100%;
height: 45px;
- border: 1px solid var(--el-color-primary);
- background: none;
+ border: 1px solid rgba(78, 155, 255, 0.7);
+ background: linear-gradient(120deg, rgba(78, 155, 255, 0.15), rgba(95, 228, 255, 0.25));
font-size: 18px;
letter-spacing: 2px;
font-weight: 300;
- color: var(--el-color-primary);
+ color: #1a3f6e;
cursor: pointer;
margin-top: 30px;
font-family: "neo";
transition: 0.25s;
+ box-shadow: 0 12px 24px rgba(35, 93, 204, 0.2);
}
.login-submit {
width: 60%;
height: 45px;
- border: 1px solid var(--el-color-primary);
- background: none;
+ border: 1px solid rgba(78, 155, 255, 0.7);
+ background: linear-gradient(120deg, rgba(78, 155, 255, 0.15), rgba(95, 228, 255, 0.25));
font-size: 18px;
letter-spacing: 2px;
font-weight: 300;
- color: var(--el-color-primary);
+ color: #1a3f6e;
cursor: pointer;
margin-top: 30px;
font-family: "neo";
transition: 0.25s;
+ box-shadow: 0 12px 24px rgba(35, 93, 204, 0.2);
}
.register-submit {
width: 36%;
height: 45px;
- border: 1px solid #EF2F63FF;
- background: none;
+ border: 1px solid rgba(239, 47, 99, 0.7);
+ background: linear-gradient(120deg, rgba(239, 47, 99, 0.15), rgba(255, 120, 160, 0.25));
font-size: 18px;
letter-spacing: 2px;
font-weight: 300;
- color: #EF2F63FF;
+ color: #b31e4b;
cursor: pointer;
margin-top: 30px;
font-family: "neo";
transition: 0.25s;
+ box-shadow: 0 12px 24px rgba(239, 47, 99, 0.2);
}
.login-form {
@@ -177,8 +213,9 @@
background: transparent;
box-shadow: none;
border-radius: 0;
- color: #333;
- border-bottom: 1px solid rgb(235, 237, 242);
+ color: #1a1f2b;
+ border-bottom: 1px solid rgba(78, 155, 255, 0.4);
+ transition: border-color 0.2s ease;
}
.el-input__prefix {
@@ -201,9 +238,9 @@
margin-top: 2px;
width: 100px;
height: 38px;
- background-color: #fdfdfd;
- border: 1px solid #f0f0f0;
- color: #333;
+ background-color: rgba(255, 255, 255, 0.85);
+ border: 1px solid rgba(78, 155, 255, 0.3);
+ color: #1a1f2b;
font-size: 14px;
font-weight: bold;
letter-spacing: 5px;
@@ -217,9 +254,9 @@
margin-top: 2px;
width: 100px;
height: 38px;
- background-color: #fdfdfd;
- border: 1px solid #f0f0f0;
- color: #7c7979;
+ background-color: rgba(255, 255, 255, 0.85);
+ border: 1px solid rgba(78, 155, 255, 0.3);
+ color: #4b5563;
font-size: 12px;
letter-spacing: 1px;
line-height: 38px;
@@ -227,3 +264,45 @@
text-align: center;
cursor: pointer !important;
}
+
+.btn-submit:hover,
+.login-submit:hover {
+ border-color: rgba(78, 155, 255, 0.9);
+ background: linear-gradient(120deg, rgba(78, 155, 255, 0.35), rgba(95, 228, 255, 0.45));
+ color: #0e2d56;
+ transform: translateY(-1px);
+}
+
+.register-submit:hover {
+ border-color: rgba(239, 47, 99, 0.9);
+ background: linear-gradient(120deg, rgba(239, 47, 99, 0.3), rgba(255, 120, 160, 0.45));
+ color: #8f173a;
+ transform: translateY(-1px);
+}
+
+.el-input__wrapper.is-focus {
+ border-bottom-color: rgba(78, 155, 255, 0.9);
+}
+
+@keyframes float-sheen {
+ 0% {
+ transform: translate3d(0, 0, 0) scale(1);
+ }
+ 50% {
+ transform: translate3d(2%, -2%, 0) scale(1.02);
+ }
+ 100% {
+ transform: translate3d(0, 0, 0) scale(1);
+ }
+}
+
+@keyframes pop-in {
+ 0% {
+ opacity: 0;
+ transform: translateY(20px) scale(0.98);
+ }
+ 100% {
+ opacity: 1;
+ transform: translateY(0) scale(1);
+ }
+}
--
Gitblit v1.9.3