diff --git a/.env.development b/.env.development index 3db8f45..c1e8f12 100644 --- a/.env.development +++ b/.env.development @@ -5,8 +5,8 @@ VITE_WS_BASE_URL ='ws://220.185.188.222:8055/api/gisWs' # VITE_APP_BASE_URL = 'http://125.124.131.105:6811/api' # 成彬本地 -# VITE_APP_BASE_URL = 'http://100.95.157.241:6061/api' -VITE_APP_BASE_URL = 'http://100.95.236.218:6061/api' +VITE_APP_BASE_URL = 'http://100.95.157.241:6061/api' +# VITE_APP_BASE_URL = 'http://100.95.236.218:6061/api' # VITE_APP_BASE_URL = 'http://119.167.138.11:6061/video-service' # 智能体访问地址 diff --git a/src/components/Map/index.vue b/src/components/Map/index.vue index 7bef8d6..a92f958 100644 --- a/src/components/Map/index.vue +++ b/src/components/Map/index.vue @@ -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() diff --git a/src/components/Map/map-config.js b/src/components/Map/map-config.js index 4218421..26167e1 100644 --- a/src/components/Map/map-config.js +++ b/src/components/Map/map-config.js @@ -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: '', diff --git a/src/views/business/drone/cockpit.vue b/src/views/business/drone/cockpit.vue index e0f1fd8..985312c 100644 --- a/src/views/business/drone/cockpit.vue +++ b/src/views/business/drone/cockpit.vue @@ -23,10 +23,10 @@