From 5f52ac4956fcd1f9930fe6f8727db0f1f9c23f3f Mon Sep 17 00:00:00 2001 From: zhangmj <1373657463@qq.com> Date: Fri, 26 Dec 2025 01:14:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E9=A2=91=E6=A0=91=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 +-- src/components/Map/index.vue | 4 +-- src/components/Map/map-config.js | 4 +-- src/views/business/drone/cockpit.vue | 4 +-- src/views/business/wall/grid.vue | 15 ++++++---- src/views/business/wall/tree.vue | 41 ++++++---------------------- 6 files changed, 26 insertions(+), 46 deletions(-) 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 @@