From 733102a21804e643b3cc636c8fe02180a7b5d646 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Tue, 31 Mar 2026 17:15:02 +0800
Subject: [PATCH] feat: 删除无用代码
---
applications/task-work-order/env/.env.production | 3 ---
applications/mobile-web-view/env/.env.development | 12 ------------
applications/mobile-web-view/env/.env.production | 12 ------------
applications/mobile-web-view/env/.env.test | 10 ----------
applications/task-work-order/env/.env.test | 3 ---
applications/mobile-web-view/vite.config.mjs | 6 ------
applications/task-work-order/src/permission.js | 1 -
applications/task-work-order/src/page/index/top/index.vue | 4 ----
applications/task-work-order/env/.env.development | 3 ---
9 files changed, 0 insertions(+), 54 deletions(-)
diff --git a/applications/mobile-web-view/env/.env.development b/applications/mobile-web-view/env/.env.development
index 45c8aef..ac1f4a7 100644
--- a/applications/mobile-web-view/env/.env.development
+++ b/applications/mobile-web-view/env/.env.development
@@ -4,9 +4,6 @@
# 是否在打包时开启压缩,支持 gzip 和 brotli
VITE_BUILD_COMPRESS = gzip
-# 目前倾斜摄影地址
-VITE_APP_MAP_TILE_URL = https://wrj.shuixiongit.com/3Dtile
-
#开发环境代理地址(推荐本地新建文件 .env.development.local 来进行覆盖)
VITE_APP_XT_URL = http://218.202.104.82:8200
@@ -15,20 +12,11 @@
# ws地址
VITE_APP_WS_API_URL = wss://wrj.shuixiongit.com/drone-wss/api/v1/ws
-# 航线文件地址
-VITE_APP_AIRLINE_URL = https://wrj.shuixiongit.com/minio/cloud-bucket
-VITE_APP_PICTURE_URL = https://wrj.shuixiongit.com/aiskyminio/cloud-bucket
-
#内嵌航线规划iframe地址
VITE_APP_WAY_LINE_PLAN = 'https://wrj.shuixiongit.com/bigScreen/#/layout/iframeWayline'
-
# 行政区划存放地址
VITE_APP_REGION_URL = https://wrj.shuixiongit.com/aiskyminio/cloud-bucket/ztzf_region
-
-# 国土举证 图片和视频
-VITE_APP_MEDIAPANEL_API_URL = https://wrj.shuixiongit.com/minio/cloud-bucket
-
# arcgis服务图层地址
VITE_APP_ARCGIS_URL = https://wrj.shuixiongit.com/arcgis116
diff --git a/applications/mobile-web-view/env/.env.production b/applications/mobile-web-view/env/.env.production
index c86b92f..2b9368b 100644
--- a/applications/mobile-web-view/env/.env.production
+++ b/applications/mobile-web-view/env/.env.production
@@ -16,26 +16,14 @@
# 是否在打包时开启压缩,支持 gzip 和 brotli
VITE_BUILD_COMPRESS = gzip
-# 目前倾斜摄影地址
-VITE_APP_MAP_TILE_URL = https://wrj.shuixiongit.com/3Dtile
-
# ws地址
VITE_APP_WS_API_URL = wss://aisky.org.cn/drone-wss/api/v1/ws
-# 航线文件地址
-VITE_APP_AIRLINE_URL = https://wrj.shuixiongit.com/aiskyminio/cloud-bucket
-
-VITE_APP_PICTURE_URL = https://wrj.shuixiongit.com/aiskyminio/cloud-bucket
-
#内嵌航线规划iframe地址
VITE_APP_WAY_LINE_PLAN = 'https://aisky.org.cn/bigScreen/#/layout/iframeWayline'
-
# 行政区划存放地址
VITE_APP_REGION_URL = https://wrj.shuixiongit.com/aiskyminio/cloud-bucket/ztzf_region
-
-# 国土举证 图片和视频
-VITE_APP_MEDIAPANEL_API_URL = https://aisky.org.cn/minio/cloud-bucket
# arcgis服务图层地址
VITE_APP_ARCGIS_URL = https://aisky.org.cn/arcgis116
diff --git a/applications/mobile-web-view/env/.env.test b/applications/mobile-web-view/env/.env.test
index 57dd477..2b5f4ba 100644
--- a/applications/mobile-web-view/env/.env.test
+++ b/applications/mobile-web-view/env/.env.test
@@ -7,24 +7,14 @@
VITE_APP_XT_URL = http://218.202.104.82:8200
-# 目前倾斜摄影地址
-VITE_APP_MAP_TILE_URL = https://wrj.shuixiongit.com/3Dtile
-
# ws地址
VITE_APP_WS_API_URL = wss://wrj.shuixiongit.com/drone-wss/api/v1/ws
-# 航线文件地址
-VITE_APP_AIRLINE_URL = https://wrj.shuixiongit.com/minio/cloud-bucket
-
-VITE_APP_PICTURE_URL = https://wrj.shuixiongit.com/aiskyminio/cloud-bucket
#内嵌航线规划iframe地址
VITE_APP_WAY_LINE_PLAN = 'https://wrj.shuixiongit.com/bigScreen/#/layout/iframeWayline'
# 行政区划存放地址
VITE_APP_REGION_URL = https://wrj.shuixiongit.com/aiskyminio/cloud-bucket/ztzf_region
-
-# 国土举证 图片和视频
-VITE_APP_MEDIAPANEL_API_URL = https://wrj.shuixiongit.com/minio/cloud-bucket
# arcgis服务图层地址
VITE_APP_ARCGIS_URL = https://wrj.shuixiongit.com/arcgis116
diff --git a/applications/mobile-web-view/vite.config.mjs b/applications/mobile-web-view/vite.config.mjs
index acf9700..49a7940 100644
--- a/applications/mobile-web-view/vite.config.mjs
+++ b/applications/mobile-web-view/vite.config.mjs
@@ -96,12 +96,6 @@
rewrite: path => path.replace(/^\/webodm-vol/, ''),
},
- '/3Dtile': {
- target: VITE_APP_MAP_TILE_URL,
- changeOrigin: true,
- rewrite: path => path.replace(/^\/3Dtile/, ''),
- },
-
'/arcgis116': {
target: VITE_APP_ARCGIS_URL,
changeOrigin: true,
diff --git a/applications/task-work-order/env/.env.development b/applications/task-work-order/env/.env.development
index 9d1c49f..2846312 100644
--- a/applications/task-work-order/env/.env.development
+++ b/applications/task-work-order/env/.env.development
@@ -6,9 +6,6 @@
#开发环境代理地址(推荐本地新建文件 .env.development.local 来进行覆盖)
VITE_APP_URL=http://192.168.1.227
-#新大屏地址
-VITE_APP_DASHBOARD_URL=''
-
# ws地址
VITE_APP_WS_API_URL=wss://wrj.shuixiongit.com/drone-wss/api/v1/ws
diff --git a/applications/task-work-order/env/.env.production b/applications/task-work-order/env/.env.production
index 6fbae68..8b7e310 100644
--- a/applications/task-work-order/env/.env.production
+++ b/applications/task-work-order/env/.env.production
@@ -4,9 +4,6 @@
#生产环境配置
VITE_APP_ENV='production'
-#新大屏地址
-VITE_APP_DASHBOARD_URL=''
-
# ws地址
VITE_APP_WS_API_URL=wss://aisky.org.cn/drone-wss/api/v1/ws
diff --git a/applications/task-work-order/env/.env.test b/applications/task-work-order/env/.env.test
index fbaea36..9d07f58 100644
--- a/applications/task-work-order/env/.env.test
+++ b/applications/task-work-order/env/.env.test
@@ -3,9 +3,6 @@
#开发环境配置
VITE_APP_ENV='test'
-#新大屏地址
-VITE_APP_DASHBOARD_URL=''
-
# ws地址
VITE_APP_WS_API_URL=wss://wrj.shuixiongit.com/drone-wss/api/v1/ws
diff --git a/applications/task-work-order/src/page/index/top/index.vue b/applications/task-work-order/src/page/index/top/index.vue
index 00db31c..72b2d80 100644
--- a/applications/task-work-order/src/page/index/top/index.vue
+++ b/applications/task-work-order/src/page/index/top/index.vue
@@ -91,10 +91,6 @@
logOutFun()
})
},
- jumpMH () {
- const adminUrl = import.meta.env.VITE_APP_DASHBOARD_URL
- window.location.href = `${adminUrl}#/gatewayPage`
- },
},
}
</script>
diff --git a/applications/task-work-order/src/permission.js b/applications/task-work-order/src/permission.js
index 8fa3ac5..b283fad 100644
--- a/applications/task-work-order/src/permission.js
+++ b/applications/task-work-order/src/permission.js
@@ -19,7 +19,6 @@
NProgress.configure({ showSpinner: false })
const lockPage = '/lock' //锁屏页
const urlParams = getUrlParams(window.location.href)
-const adminUrl = import.meta.env.VITE_APP_DASHBOARD_URL
const env = import.meta.env.VITE_APP_ENV
function findRouteByPath (routes, targetPath) {
--
Gitblit v1.9.3