视频树数据

This commit is contained in:
2025-12-26 01:14:12 +08:00
parent a7f2ed7c8a
commit 5f52ac4956
6 changed files with 26 additions and 46 deletions

View File

@@ -24,7 +24,7 @@ import { ElMessage } from 'element-plus'
import { monitors, uavs, stations, environmentals, fences, detailFences } from './js/mock.js'
import InfoWindowComponent from '@/components/Map/window/index.vue'
import TrawlerInfoWindowComponent from '@/components/Map/window/trawler.vue'
import { videoCameraFindPage, findUavPage, findEnvPage, dsVideoList } from '@/api/device.js'
import { dsVideoList, findUavPage, findEnvPage } from '@/api/device.js'
const mapStore = useMapStore()
const UAV = computed(() => mapStore.legend.UAV)
@@ -333,7 +333,7 @@ const initMonitor = () => {
pageNo: 1,
pageSize: 9999
}
videoCameraFindPage(params).then(res => {
dsVideoList(params).then(res => {
if (res.success) {
geography.monitor = res.result.records
addMonitorToMap()

View File

@@ -92,8 +92,8 @@ const getLocationSymbol = () => [
}
]
const baseConfig = {
center: [ 120.67, 28.01 ],
zoom: 12,
center: [ 120.88, 28.01 ],
zoom: 10,
maxZoom: 20,
minZoom: 5,
attribution: '',