视频树数据
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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: '',
|
||||
|
||||
Reference in New Issue
Block a user