吉安感知网项目-前端
罗广辉
2026-03-31 733102a21804e643b3cc636c8fe02180a7b5d646
feat: 删除无用代码
9 files modified
54 ■■■■■ changed files
applications/mobile-web-view/env/.env.development 12 ●●●●● patch | view | raw | blame | history
applications/mobile-web-view/env/.env.production 12 ●●●●● patch | view | raw | blame | history
applications/mobile-web-view/env/.env.test 10 ●●●●● patch | view | raw | blame | history
applications/mobile-web-view/vite.config.mjs 6 ●●●●● patch | view | raw | blame | history
applications/task-work-order/env/.env.development 3 ●●●●● patch | view | raw | blame | history
applications/task-work-order/env/.env.production 3 ●●●●● patch | view | raw | blame | history
applications/task-work-order/env/.env.test 3 ●●●●● patch | view | raw | blame | history
applications/task-work-order/src/page/index/top/index.vue 4 ●●●● patch | view | raw | blame | history
applications/task-work-order/src/permission.js 1 ●●●● patch | view | raw | blame | history
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
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
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
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,
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
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
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
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>
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) {