巡检报告导出接口联调

This commit is contained in:
2026-01-05 15:26:15 +08:00
parent a8b781d48a
commit b6bfb92c6e
19 changed files with 550 additions and 131 deletions

View File

@@ -27,7 +27,6 @@ import { dsVideoList, findUavPage, getVideoInfo } from '@/api/device.js'
const mapStore = useMapStore()
const UAV = computed(() => mapStore.legend.UAV)
const monitor = computed(() => mapStore.legend.monitor)
const origin_monitor = computed(() => mapStore.legend.origin_monitor)
const ais_station = computed(() => mapStore.legend.ais_station)
const environmental = computed(() => mapStore.legend.environmental)
const fence = computed(() => mapStore.legend.fence)
@@ -37,13 +36,11 @@ let globalMap = null
let vector = {}
const geography = {
monitor: [], // 监控数据
origin_monitor: [], // 原始监控数据
UAV: [], // 无人机
ais_station: [], // ais基站
environmental: [], // 环境监测
fence: [] // 电子围栏
}
let sectorLayer = null
const initMap = () => {
const mapDom = document.getElementById('map')
globalMap = new GlobalMap(mapDom)//, { seamlessZoom: false })
@@ -377,9 +374,9 @@ const initUAV = () => {
const initMonitor = () => {
const params = {}
dsVideoList(params).then(res => {
geography.monitor = res.data
addMonitorToMap()
})
geography.monitor = res.data
addMonitorToMap()
})
}
const initAisStation = () => {
geography.ais_station = stations