From 65ec16da8ee1fd2e72dc5b3543d4def22bfb6828 Mon Sep 17 00:00:00 2001 From: zhufu <17863654727@163.com> Date: Tue, 16 Sep 2025 16:02:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B2=B3=E4=B8=9C=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.hedong | 43 +++++++++++++++++++++++++++++++++++++++++++ .env.hedongbuild | 32 ++++++++++++++++++++++++++++++++ .gitignore | 1 + package.json | 2 ++ 4 files changed, 78 insertions(+) create mode 100644 .env.hedong create mode 100644 .env.hedongbuild diff --git a/.env.hedong b/.env.hedong new file mode 100644 index 0000000..64d7b7d --- /dev/null +++ b/.env.hedong @@ -0,0 +1,43 @@ +# Whether to open mock +VITE_USE_MOCK = true + +# public path +VITE_PUBLIC_PATH = / + +# Whether to enable gzip or brotli compression +# Optional: gzip | brotli | none +# If you need multiple forms, you can use `,` to separate +VITE_BUILD_COMPRESS = 'none' + + +# Basic interface address SPA +# 天空地项目 +VITE_GLOB_API_URL=http://192.168.10.163:9041 + +VITE_GLOB_INFO_IMAGE_URL=http://175.27.168.120:6079 + +# File upload address, optional +# It can be forwarded by nginx or write the actual address directly +VITE_GLOB_UPLOAD_URL=http://175.27.168.120:6079 + +# Interface prefix + +VITE_GLOB_API_URL_PREFIX= + +VITE_GLOB_APP_TITLE = 设施农用地批后监管信息化系统 + +VITE_GLOB_APP_EN_TITLE = Post-approval supervision information system for facility agricultural land + +VITE_GLOB_APP_LOGO = /logo.png + +VITE_GLOB_APP_MANAGEMENT_UNIT = 管理单位:自然资源和规划局 + +VITE_GLOB_APP_TECHINICAL_SUPPORT = 技术⽀持:山东慧创信息科技有限公司 + +VITE_GLOB_APP_VERSIONS = 系统版本:V1.0 + +VITE_GLOB_YINGXIANG_SERVER = http://192.168.31.205:8080/geoserver/ne/wms?service=WMS&version=1.1.0&request=GetMap&layers=ne:linyitif&styles=&bbox={bbox-epsg-3857}&width=256&height=256&srs=EPSG:3857&format=image/png&TRANSPARENT=TRUE + +VITE_GLOB_FILE_PREVIEW = http://192.168.10.163:9040 + + diff --git a/.env.hedongbuild b/.env.hedongbuild new file mode 100644 index 0000000..110a807 --- /dev/null +++ b/.env.hedongbuild @@ -0,0 +1,32 @@ +# Whether to open mock +VITE_USE_MOCK = true + +# public path +VITE_PUBLIC_PATH = / + +VITE_BUILD_COMPRESS = 'none' + +# Basic interface address SPA +#基础框架 +VITE_GLOB_API_URL = http://192.168.10.163:9041 +# File upload address, optional +# It can be forwarded by nginx or write the actual address directly +VITE_GLOB_UPLOAD_URL= http://192.168.10.163:9040 + +VITE_GLOB_INFO_IMAGE_URL= http://192.168.10.163:9011 + +# Interface prefix +VITE_GLOB_API_URL_PREFIX= + +VITE_GLOB_APP_TITLE = 设施农用地批后监管信息化系统 + +VITE_GLOB_APP_EN_TITLE = Post-approval supervision information system for facility agricultural land + +VITE_GLOB_APP_LOGO = /logo.png + +VITE_GLOB_APP_MANAGEMENT_UNIT = 管理单位:临沂市自然资源和规划局 + + +VITE_GLOB_APP_TECHINICAL_SUPPORT = 技术⽀持:山东慧创信息科技有限公司 + +VITE_GLOB_APP_VERSIONS = 系统版本:V1.0 diff --git a/.gitignore b/.gitignore index 090afeb..b2003b6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ node_modules .DS_Store dist +dist_hedong dist.zip .cache .turbo diff --git a/package.json b/package.json index c770625..01df9b2 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,8 @@ "commit": "czg", "dev": "pnpm vite", "dev:lanling": "pnpm vite --mode lanling", + "dev:hedong": "pnpm vite --mode hedong", + "build:hedong": "vite build --mode hedongbuild", "preinstall": "npx only-allow pnpm", "postinstall": "turbo run stub", "lint": "turbo run lint",