From 214a8139a01e5515bde8659f8743f3e45cebcbe7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=88=E5=85=86=E5=A2=9E?= <你的邮箱@example.com> Date: Thu, 16 Jul 2026 17:58:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=B3=E4=BE=A7=E8=8F=9C=E5=8D=95=20?= =?UTF-8?q?=E7=94=B5=E7=AB=99=E5=80=BE=E6=96=9C=E6=91=84=E5=83=8F=E5=92=8C?= =?UTF-8?q?=E6=BC=AB=E6=B8=B8=E4=BF=AE=E6=94=B9=EF=BC=8C=E6=89=93=E5=8C=85?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend-sjtb/.env.development | 1 - frontend-sjtb/.env.production | 1 - frontend/.env.development | 10 - frontend/.env.production | 7 +- frontend/.npmrc | 2 + frontend/src/components/gis/TjLayerModal.vue | 1 - .../components/mapController/Calculate.vue | 92 ++++-- .../mapController/LayerController.vue | 37 ++- .../mapController/OSBGController.vue | 249 +++++++++++++++ .../src/components/mapController/index.vue | 298 ++++++++++++++---- frontend/src/components/mapFilter/index.vue | 2 +- frontend/src/components/mapLegend/index.vue | 4 +- frontend/src/modules/jidiSelectorMod.vue | 5 +- frontend/src/store/modules/ui.ts | 3 + .../components/monitorData/FlowData/index.vue | 1 - frontend/src/views/system/map/index.vue | 45 +-- frontend/vite.config.ts | 1 + 17 files changed, 615 insertions(+), 144 deletions(-) create mode 100644 frontend/src/components/mapController/OSBGController.vue diff --git a/frontend-sjtb/.env.development b/frontend-sjtb/.env.development index c3fcd89e..f326f3a6 100644 --- a/frontend-sjtb/.env.development +++ b/frontend-sjtb/.env.development @@ -25,7 +25,6 @@ VITE_APP_TEST_ONLINE_URL = 'https://211.99.26.225:12122' VITE_APP_BASE_API_URL = 'http://10.84.121.21:8093' ## 开发环境 附件服务地址 VITE_APP_ATTACHMENT_URL = 'https://211.99.26.225:12125' -attachment # 地图服务地址 VITE_APP_MAP_URL = 'https://211.99.26.225:18085' diff --git a/frontend-sjtb/.env.production b/frontend-sjtb/.env.production index 6d0f5aaf..b845a4d9 100644 --- a/frontend-sjtb/.env.production +++ b/frontend-sjtb/.env.production @@ -13,7 +13,6 @@ VITE_APP_PREVIEW_URL = 'https://211.99.26.225:12125' ## 开发环境 附件服务地址 VITE_APP_ATTACHMENT_URL = 'https://211.99.26.225:12125' -attachment # 地图服务地址 VITE_APP_MAP_URL = 'https://211.99.26.225:18085' \ No newline at end of file diff --git a/frontend/.env.development b/frontend/.env.development index b2b28071..b560df26 100644 --- a/frontend/.env.development +++ b/frontend/.env.development @@ -10,23 +10,13 @@ VITE_APP_BASE_API = '/dev-api' VITE_APP_BASE_URL = 'http://localhost:8093' # 测试环境 # VITE_APP_BASE_URL = 'http://172.16.21.142:8093' -# VITE_APP_BASE_URL = 'http://172.16.21.142:8096' # 汤伟 VITE_APP_BASE_URL = 'http://10.84.111.235:8093' # 李林 # VITE_APP_BASE_URL = 'http://10.84.111.25:8093' -# 测试环境线上10.84.121.122: -VITE_APP_TEST_ONLINE_URL = 'https://211.99.26.225:12122' - - - - -# 开发环境导入预览地址 -VITE_APP_BASE_API_URL = 'http://10.84.121.21:8093' ## 开发环境 附件服务地址 VITE_APP_ATTACHMENT_URL = 'https://211.99.26.225:12125' - # 地图服务地址 VITE_APP_MAP_URL = 'https://211.99.26.225:18085' # ?menu=systemManageMenu&page=disposeManage \ No newline at end of file diff --git a/frontend/.env.production b/frontend/.env.production index 6d0f5aaf..6c539b08 100644 --- a/frontend/.env.production +++ b/frontend/.env.production @@ -8,12 +8,7 @@ VITE_APP_BASE_API = '/prod-api' VITE_APP_BASE_URL = 'http://localhost:8093' ## 生产环境导入预览地址 VITE_APP_BASE_API_URL = 'https://211.99.26.225:12130/prod-api' -## 生产环境预览 图片视频地址 -VITE_APP_PREVIEW_URL = 'https://211.99.26.225:12125' - -## 开发环境 附件服务地址 +## 生产环境 附件服务地址 VITE_APP_ATTACHMENT_URL = 'https://211.99.26.225:12125' -attachment - # 地图服务地址 VITE_APP_MAP_URL = 'https://211.99.26.225:18085' \ No newline at end of file diff --git a/frontend/.npmrc b/frontend/.npmrc index d71de577..755f072c 100644 --- a/frontend/.npmrc +++ b/frontend/.npmrc @@ -1,3 +1,5 @@ registry=https://registry.npmmirror.com fetch-retries=5 strict-peer-dependencies=false +# 添加 Node.js 内存配置 +node-options=--max-old-space-size=4096 \ No newline at end of file diff --git a/frontend/src/components/gis/TjLayerModal.vue b/frontend/src/components/gis/TjLayerModal.vue index 695daf06..91d2e865 100644 --- a/frontend/src/components/gis/TjLayerModal.vue +++ b/frontend/src/components/gis/TjLayerModal.vue @@ -320,7 +320,6 @@ const loadRvcdOptions = async () => { ] } }); - const list = Array.isArray(res?.data?.data) ? res.data.data : Array.isArray(res?.data) diff --git a/frontend/src/components/mapController/Calculate.vue b/frontend/src/components/mapController/Calculate.vue index c335f401..ad6703a5 100644 --- a/frontend/src/components/mapController/Calculate.vue +++ b/frontend/src/components/mapController/Calculate.vue @@ -1,55 +1,91 @@ diff --git a/frontend/src/components/mapController/index.vue b/frontend/src/components/mapController/index.vue index 43487d2d..4e2720fa 100644 --- a/frontend/src/components/mapController/index.vue +++ b/frontend/src/components/mapController/index.vue @@ -1,36 +1,69 @@