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 @@