| | |
| | | # 是否在打包时开启压缩,支持 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 |
| | | |
| | |
| | | # 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 |
| | |
| | | # 是否在打包时开启压缩,支持 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 |
| | |
| | | |
| | | 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 |
| | |
| | | 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, |
| | |
| | | #开发环境代理地址(推荐本地新建文件 .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 |
| | | |
| | |
| | | #生产环境配置 |
| | | VITE_APP_ENV='production' |
| | | |
| | | #新大屏地址 |
| | | VITE_APP_DASHBOARD_URL='' |
| | | |
| | | # ws地址 |
| | | VITE_APP_WS_API_URL=wss://aisky.org.cn/drone-wss/api/v1/ws |
| | | |
| | |
| | | #开发环境配置 |
| | | VITE_APP_ENV='test' |
| | | |
| | | #新大屏地址 |
| | | VITE_APP_DASHBOARD_URL='' |
| | | |
| | | # ws地址 |
| | | VITE_APP_WS_API_URL=wss://wrj.shuixiongit.com/drone-wss/api/v1/ws |
| | | |
| | |
| | | logOutFun() |
| | | }) |
| | | }, |
| | | jumpMH () { |
| | | const adminUrl = import.meta.env.VITE_APP_DASHBOARD_URL |
| | | window.location.href = `${adminUrl}#/gatewayPage` |
| | | }, |
| | | }, |
| | | } |
| | | </script> |
| | |
| | | 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) { |