diff --git a/.env.development b/.env.development index 8db04bcf0..897b5253f 100644 --- a/.env.development +++ b/.env.development @@ -37,10 +37,22 @@ VITE_INTERFACE_URL='http://localhost:12080/magic/web/index.html' VITE_JMREPORT_BASE_URL='http://localhost:12080' # 租户配置 -VITE_TENANT='["长春1379","成都1397","长春2379"]' +VITE_TENANT='["德立天津工厂"]' # 查看质检报告环境 VITE_REPORT_URL = 'http://dev.ccwin-in.com:25400' # 是否需要验证码 VITE_NEED_CODE = false + +# LOGO图标 +VITE_LOGO_URL = '/src/assets/imgs/logo_white_blue.png' + +# LOGO图标 +VITE_LOGO_WHITE_URL = '/src/assets/imgs/logo_white.png' + +# 项目名称 +VITE_PROJECT_NAME = '富维海拉智慧工厂管理平台' + +# 租户配置 +VITE_TENANT_LIST='[{"text":"德立天津工厂","value":1}]' diff --git a/.env.dl-check b/.env.dl-check new file mode 100644 index 000000000..82ea805aa --- /dev/null +++ b/.env.dl-check @@ -0,0 +1,62 @@ +# 生产环境 +NODE_ENV=test + +VITE_DEV=false + +# 请求路径 +VITE_BASE_URL='http://172.16.0.13/api' + +# 上传路径 +VITE_UPLOAD_URL='http://172.16.0.13/api/admin-api/infra/file/upload' + +# 接口前缀 +VITE_API_BASEPATH= + +# 接口地址 +VITE_API_URL=/admin-api + +# 是否删除debugger +VITE_DROP_DEBUGGER=true + +# 是否删除console.log +VITE_DROP_CONSOLE=true + +# 是否sourcemap +VITE_SOURCEMAP=false + +# 打包路径 +VITE_BASE_PATH=/ + +# 输出路径 +VITE_OUT_DIR=sfms3.0 + +# 自定义接口路径 +VITE_INTERFACE_URL='http://172.16.0.13/magic/web/index.html' + +# 积木报表请求路径 +VITE_JMREPORT_BASE_URL='http://172.16.0.13' + + +# 租户配置 +VITE_TENANT='["德立天津工厂"]' + +# 查看质检报告环境 +VITE_REPORT_URL = 'http://172.16.0.13' + +# 是否需要验证码 +VITE_NEED_CODE = false + +# 是否需要下载PDA链接 +VITE_PDA_URL = false + +# LOGO图标 +VITE_LOGO_URL = '/src/assets/imgs/logo_white_blue.png' + +# LOGO图标 +VITE_LOGO_WHITE_URL = '/src/assets/imgs/logo_white.png' + +# 项目名称 +VITE_PROJECT_NAME = '富维海拉智慧工厂管理平台' + +# 租户配置 +VITE_TENANT_LIST='[{"text":"长春1379","value":1},{"text":"成都1397","value":2},{"text":"长春2379","value":3}]' diff --git a/.env.dl-prod b/.env.dl-prod new file mode 100644 index 000000000..82ea805aa --- /dev/null +++ b/.env.dl-prod @@ -0,0 +1,62 @@ +# 生产环境 +NODE_ENV=test + +VITE_DEV=false + +# 请求路径 +VITE_BASE_URL='http://172.16.0.13/api' + +# 上传路径 +VITE_UPLOAD_URL='http://172.16.0.13/api/admin-api/infra/file/upload' + +# 接口前缀 +VITE_API_BASEPATH= + +# 接口地址 +VITE_API_URL=/admin-api + +# 是否删除debugger +VITE_DROP_DEBUGGER=true + +# 是否删除console.log +VITE_DROP_CONSOLE=true + +# 是否sourcemap +VITE_SOURCEMAP=false + +# 打包路径 +VITE_BASE_PATH=/ + +# 输出路径 +VITE_OUT_DIR=sfms3.0 + +# 自定义接口路径 +VITE_INTERFACE_URL='http://172.16.0.13/magic/web/index.html' + +# 积木报表请求路径 +VITE_JMREPORT_BASE_URL='http://172.16.0.13' + + +# 租户配置 +VITE_TENANT='["德立天津工厂"]' + +# 查看质检报告环境 +VITE_REPORT_URL = 'http://172.16.0.13' + +# 是否需要验证码 +VITE_NEED_CODE = false + +# 是否需要下载PDA链接 +VITE_PDA_URL = false + +# LOGO图标 +VITE_LOGO_URL = '/src/assets/imgs/logo_white_blue.png' + +# LOGO图标 +VITE_LOGO_WHITE_URL = '/src/assets/imgs/logo_white.png' + +# 项目名称 +VITE_PROJECT_NAME = '富维海拉智慧工厂管理平台' + +# 租户配置 +VITE_TENANT_LIST='[{"text":"长春1379","value":1},{"text":"成都1397","value":2},{"text":"长春2379","value":3}]' diff --git a/.env.dl-test b/.env.dl-test new file mode 100644 index 000000000..82ea805aa --- /dev/null +++ b/.env.dl-test @@ -0,0 +1,62 @@ +# 生产环境 +NODE_ENV=test + +VITE_DEV=false + +# 请求路径 +VITE_BASE_URL='http://172.16.0.13/api' + +# 上传路径 +VITE_UPLOAD_URL='http://172.16.0.13/api/admin-api/infra/file/upload' + +# 接口前缀 +VITE_API_BASEPATH= + +# 接口地址 +VITE_API_URL=/admin-api + +# 是否删除debugger +VITE_DROP_DEBUGGER=true + +# 是否删除console.log +VITE_DROP_CONSOLE=true + +# 是否sourcemap +VITE_SOURCEMAP=false + +# 打包路径 +VITE_BASE_PATH=/ + +# 输出路径 +VITE_OUT_DIR=sfms3.0 + +# 自定义接口路径 +VITE_INTERFACE_URL='http://172.16.0.13/magic/web/index.html' + +# 积木报表请求路径 +VITE_JMREPORT_BASE_URL='http://172.16.0.13' + + +# 租户配置 +VITE_TENANT='["德立天津工厂"]' + +# 查看质检报告环境 +VITE_REPORT_URL = 'http://172.16.0.13' + +# 是否需要验证码 +VITE_NEED_CODE = false + +# 是否需要下载PDA链接 +VITE_PDA_URL = false + +# LOGO图标 +VITE_LOGO_URL = '/src/assets/imgs/logo_white_blue.png' + +# LOGO图标 +VITE_LOGO_WHITE_URL = '/src/assets/imgs/logo_white.png' + +# 项目名称 +VITE_PROJECT_NAME = '富维海拉智慧工厂管理平台' + +# 租户配置 +VITE_TENANT_LIST='[{"text":"长春1379","value":1},{"text":"成都1397","value":2},{"text":"长春2379","value":3}]' diff --git a/.env.prod b/.env.prod index 06f2aa7cc..c400ac03a 100644 --- a/.env.prod +++ b/.env.prod @@ -52,3 +52,15 @@ VITE_NEED_CODE = true # 是否需要下载PDA链接 VITE_PDA_URL = false + +# LOGO图标 +VITE_LOGO_URL = '/src/assets/imgs/logo_white_blue.png' + +# LOGO图标 +VITE_LOGO_WHITE_URL = '/src/assets/imgs/logo_white.png' + +# 项目名称 +VITE_PROJECT_NAME = '富维海拉智慧工厂管理平台' + +# 租户配置 +VITE_TENANT_LIST='[{"text":"长春1379","value":1},{"text":"成都1397","value":2},{"text":"长春2379","value":3}]' diff --git a/.env.test b/.env.test index cb687a764..676319e88 100644 --- a/.env.test +++ b/.env.test @@ -47,4 +47,16 @@ VITE_NEED_CODE = true # 是否需要下载PDA链接 -VITE_PDA_URL = true \ No newline at end of file +VITE_PDA_URL = true + +# LOGO图标 +VITE_LOGO_URL = '/src/assets/imgs/logo_white_blue.png' + +# LOGO图标 +VITE_LOGO_WHITE_URL = '/src/assets/imgs/logo_white.png' + +# 项目名称 +VITE_PROJECT_NAME = '富维海拉智慧工厂管理平台' + +# 租户配置 +VITE_TENANT_LIST='[{"text":"长春1379","value":1},{"text":"成都1397","value":2},{"text":"长春2379","value":3}]' \ No newline at end of file diff --git a/.env.test-scp b/.env.test-scp index 218728c32..9180ad97f 100644 --- a/.env.test-scp +++ b/.env.test-scp @@ -48,3 +48,15 @@ VITE_NEED_CODE = false # 是否需要下载PDA链接 VITE_PDA_URL = false + +# LOGO图标 +VITE_LOGO_URL = '/src/assets/imgs/logo_white_blue.png' + +# LOGO图标 +VITE_LOGO_WHITE_URL = '/src/assets/imgs/logo_white.png' + +# 项目名称 +VITE_PROJECT_NAME = '富维海拉智慧工厂管理平台' + +# 租户配置 +VITE_TENANT_LIST='[{"text":"长春1379","value":1},{"text":"成都1397","value":2},{"text":"长春2379","value":3}]' diff --git a/.env.wyf b/.env.wyf index 7ee319b35..865f01438 100644 --- a/.env.wyf +++ b/.env.wyf @@ -46,11 +46,11 @@ VITE_DEV=false # # 上传路径 # VITE_UPLOAD_URL='http://192.168.0.37:12080/admin-api/infra/file/upload' -# 81 WMS请求路径 82 SCP -VITE_BASE_URL='http://172.22.32.9/api' -# 上传路径 -VITE_UPLOAD_URL='http://172.22.32.9/api/admin-api/infra/file/upload' +# 请求路径 +VITE_BASE_URL='http://dev.ccwin-in.com:25400/api' +# 上传路径 +VITE_UPLOAD_URL='http://dev.ccwin-in.com:25400/api/admin-api/infra/file/upload' # # 81 WMS请求路径 82 SCP @@ -116,7 +116,7 @@ VITE_INTERFACE_URL='http://dev.ccwin-in.com:25310/magic/web/index.html' VITE_JMREPORT_BASE_URL='http://172.22.32.9:90' # 租户配置 -VITE_TENANT='["长春1379","成都1397","长春2379"]' +VITE_TENANT='["德立天津工厂"]' # 查看质检报告环境 VITE_REPORT_URL = 'http://localhost' @@ -128,4 +128,16 @@ VITE_SYSTERM_UPDATE_ALERT = false VITE_NEED_CODE = false # 是否需要下载PDA链接 -VITE_PDA_URL = true \ No newline at end of file +VITE_PDA_URL = true + +# LOGO图标 +VITE_LOGO_URL = '/src/assets/imgs/logo_white_blue.png' + +# LOGO图标 +VITE_LOGO_WHITE_URL = '/src/assets/imgs/logo_white.png' + +# 项目名称 +VITE_PROJECT_NAME = '富维海拉智慧工厂管理平台' + +# 租户配置 +VITE_TENANT_LIST='[{"text":"德立天津工厂","value":1}]' diff --git a/Dockerfile_prod b/Dockerfile_prod deleted file mode 100644 index e2a9419c2..000000000 --- a/Dockerfile_prod +++ /dev/null @@ -1,7 +0,0 @@ -# 设置基础镜像 -FROM win-nginx - -WORKDIR /opt/sfms3.0 -COPY nginx_prod.conf /usr/local/nginx/conf/nginx.conf -# 将dist文件中的内容复制到 /opt/sfms3.0 这个目录下面 -COPY sfms3.0/ /opt/sfms3.0 diff --git a/Dockerfile_scp b/Dockerfile_scp deleted file mode 100644 index 700cdf9a9..000000000 --- a/Dockerfile_scp +++ /dev/null @@ -1,7 +0,0 @@ -# 设置基础镜像 -FROM win-nginx - -WORKDIR /opt/sfms3.0 -COPY nginx_scp.conf /usr/local/nginx/conf/nginx.conf -# 将dist文件中的内容复制到 /opt/sfms3.0 这个目录下面 -COPY sfms3.0/ /opt/sfms3.0 diff --git a/index.html b/index.html index e1dc00eea..531256c97 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@
- + @@ -132,7 +132,7 @@