Browse Source

更换系统logo

deli_scp
王宇飞 1 week ago
parent
commit
30e528b73f
  1. 2
      .env
  2. 6
      .env.dl-check
  3. 6
      .env.dl-prod
  4. 6
      .env.dl-test
  5. 6
      .env.prod
  6. 6
      .env.test
  7. 6
      .env.test-scp
  8. 20
      .env.wyf
  9. 4
      index.html
  10. 8
      public/systemConfig.js
  11. BIN
      src/assets/imgs/deli_logo_white.png
  12. BIN
      src/assets/imgs/deli_logo_white_blue.png
  13. 3
      src/locales/en-US.ts
  14. 3
      src/locales/zh-CN.ts
  15. 2
      src/main.ts
  16. 2
      src/store/modules/permission.ts

2
.env

@ -1,5 +1,5 @@
# 标题
VITE_APP_TITLE=富维海拉智慧工厂管理平台
VITE_APP_TITLE=德立智能制造系统
# 项目本地运行端口号
VITE_PORT=80

6
.env.dl-check

@ -50,13 +50,13 @@ VITE_NEED_CODE = false
VITE_PDA_URL = false
# LOGO图标
VITE_LOGO_URL = '/src/assets/imgs/logo_white_blue.png'
VITE_LOGO_URL = '/src/assets/imgs/deli_logo_white_blue.png'
# LOGO图标
VITE_LOGO_WHITE_URL = '/src/assets/imgs/logo_white.png'
VITE_LOGO_WHITE_URL = '/src/assets/imgs/deli_logo_white.png'
# 项目名称
VITE_PROJECT_NAME = '富维海拉智慧工厂管理平台'
VITE_PROJECT_NAME = '德立智能制造系统'
# 租户配置
VITE_TENANT_LIST='[{"text":"长春1379","value":1},{"text":"成都1397","value":2},{"text":"长春2379","value":3}]'

6
.env.dl-prod

@ -50,13 +50,13 @@ VITE_NEED_CODE = false
VITE_PDA_URL = false
# LOGO图标
VITE_LOGO_URL = '/src/assets/imgs/logo_white_blue.png'
VITE_LOGO_URL = '/src/assets/imgs/deli_logo_white_blue.png'
# LOGO图标
VITE_LOGO_WHITE_URL = '/src/assets/imgs/logo_white.png'
VITE_LOGO_WHITE_URL = '/src/assets/imgs/deli_logo_white.png'
# 项目名称
VITE_PROJECT_NAME = '富维海拉智慧工厂管理平台'
VITE_PROJECT_NAME = '德立智能制造系统'
# 租户配置
VITE_TENANT_LIST='[{"text":"长春1379","value":1},{"text":"成都1397","value":2},{"text":"长春2379","value":3}]'

6
.env.dl-test

@ -50,13 +50,13 @@ VITE_NEED_CODE = false
VITE_PDA_URL = false
# LOGO图标
VITE_LOGO_URL = '/src/assets/imgs/logo_white_blue.png'
VITE_LOGO_URL = '/src/assets/imgs/deli_logo_white_blue.png'
# LOGO图标
VITE_LOGO_WHITE_URL = '/src/assets/imgs/logo_white.png'
VITE_LOGO_WHITE_URL = '/src/assets/imgs/deli_logo_white.png'
# 项目名称
VITE_PROJECT_NAME = '富维海拉智慧工厂管理平台'
VITE_PROJECT_NAME = '德立智能制造系统'
# 租户配置
VITE_TENANT_LIST='[{"text":"长春1379","value":1},{"text":"成都1397","value":2},{"text":"长春2379","value":3}]'

6
.env.prod

@ -54,13 +54,13 @@ VITE_NEED_CODE = true
VITE_PDA_URL = false
# LOGO图标
VITE_LOGO_URL = '/src/assets/imgs/logo_white_blue.png'
VITE_LOGO_URL = '/src/assets/imgs/deli_logo_white_blue.png'
# LOGO图标
VITE_LOGO_WHITE_URL = '/src/assets/imgs/logo_white.png'
VITE_LOGO_WHITE_URL = '/src/assets/imgs/deli_logo_white.png'
# 项目名称
VITE_PROJECT_NAME = '富维海拉智慧工厂管理平台'
VITE_PROJECT_NAME = '德立智能制造系统'
# 租户配置
VITE_TENANT_LIST='[{"text":"长春1379","value":1},{"text":"成都1397","value":2},{"text":"长春2379","value":3}]'

6
.env.test

@ -50,13 +50,13 @@ VITE_NEED_CODE = true
VITE_PDA_URL = true
# LOGO图标
VITE_LOGO_URL = '/src/assets/imgs/logo_white_blue.png'
VITE_LOGO_URL = '/src/assets/imgs/deli_logo_white_blue.png'
# LOGO图标
VITE_LOGO_WHITE_URL = '/src/assets/imgs/logo_white.png'
VITE_LOGO_WHITE_URL = '/src/assets/imgs/deli_logo_white.png'
# 项目名称
VITE_PROJECT_NAME = '富维海拉智慧工厂管理平台'
VITE_PROJECT_NAME = '德立智能制造系统'
# 租户配置
VITE_TENANT_LIST='[{"text":"长春1379","value":1},{"text":"成都1397","value":2},{"text":"长春2379","value":3}]'

6
.env.test-scp

@ -50,13 +50,13 @@ VITE_NEED_CODE = false
VITE_PDA_URL = false
# LOGO图标
VITE_LOGO_URL = '/src/assets/imgs/logo_white_blue.png'
VITE_LOGO_URL = '/src/assets/imgs/deli_logo_white_blue.png'
# LOGO图标
VITE_LOGO_WHITE_URL = '/src/assets/imgs/logo_white.png'
VITE_LOGO_WHITE_URL = '/src/assets/imgs/deli_logo_white.png'
# 项目名称
VITE_PROJECT_NAME = '富维海拉智慧工厂管理平台'
VITE_PROJECT_NAME = '德立智能制造系统'
# 租户配置
VITE_TENANT_LIST='[{"text":"长春1379","value":1},{"text":"成都1397","value":2},{"text":"长春2379","value":3}]'

20
.env.wyf

@ -42,15 +42,15 @@ VITE_DEV=false
# VITE_UPLOAD_URL='http://192.168.1.254:12080/admin-api/infra/file/upload'
# # zb
# VITE_BASE_URL='http://192.168.0.37:12080'
# # 上传路径
# VITE_UPLOAD_URL='http://192.168.0.37:12080/admin-api/infra/file/upload'
VITE_BASE_URL='http://192.168.0.52:12080'
# 上传路径
VITE_UPLOAD_URL='http://192.168.0.52:12080/admin-api/infra/file/upload'
# 请求路径
VITE_BASE_URL='http://dev.ccwin-in.com:25400/api'
# # 请求路径
# 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'
# # 上传路径
# VITE_UPLOAD_URL='http://dev.ccwin-in.com:25400/api/admin-api/infra/file/upload'
# # 81 WMS请求路径 82 SCP
@ -131,13 +131,13 @@ VITE_NEED_CODE = false
VITE_PDA_URL = true
# LOGO图标
VITE_LOGO_URL = '/src/assets/imgs/logo_white_blue.png'
VITE_LOGO_URL = '/src/assets/imgs/deli_logo_white_blue.png'
# LOGO图标
VITE_LOGO_WHITE_URL = '/src/assets/imgs/logo_white.png'
VITE_LOGO_WHITE_URL = '/src/assets/imgs/deli_logo_white.png'
# 项目名称
VITE_PROJECT_NAME = '富维海拉智慧工厂管理平台'
VITE_PROJECT_NAME = '德立智能制造系统'
# 租户配置
VITE_TENANT_LIST='[{"text":"德立天津工厂","value":1}]'

4
index.html

@ -6,8 +6,8 @@
<link rel="icon" href="" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="keywords" content="富维海拉智慧工厂管理平台" />
<meta name="description" content="富维海拉智慧工厂管理平台" />
<meta name="keywords" content="德立智能制造系统" />
<meta name="description" content="德立智能制造系统" />
<script src="/systemConfig.js"></script>
<title>%VITE_APP_TITLE%</title>
</head>

8
public/systemConfig.js

@ -20,13 +20,13 @@ let systemConfig = {
pdaUrl: false,
// logo图标
logoUrl: '/logo_white_blue.png',
logoUrl: '/deli_logo_white_blue.png',
// logo图标
logoUrlWhite: '/logo_white.png',
logoUrlWhite: '/deli_logo_white.png',
// 项目名称
projectName: '富维海拉智慧工厂管理平台',
projectName: '德立智能制造系统',
// 浏览器上方图标
iconUrl: '/logo1.png',
iconUrl: '/deli_logo_white_blue.png',
// 租戶列表
tenantList:'[{"text":"长春1379","value":1},{"text":"成都1397","value":2},{"text":"长春2379","value":3}]'
}

BIN
src/assets/imgs/deli_logo_white.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
src/assets/imgs/deli_logo_white_blue.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

3
src/locales/en-US.ts

@ -1120,7 +1120,6 @@ export default {
:'Check the quality inspection report',
:'ChangChun',
:'ChengDu',
: 'FAWAY HELLA Smart Factory Management Platform',
: 'Deli Intelligent Manufacturing System',
:'Purchase unreceived record',
:'Please select the desired shipment tracking number',
@ -1141,7 +1140,6 @@ export default {
// 基础设施:'infrastructure',
// 报表管理:'report manager',
// 报表:'statement',
// 富维海拉供应商管理系统:'vendor management system',
:'Please enter your username',
:'Please enter email',
:'Forget Password',
@ -1170,7 +1168,6 @@ export default {
:'Planner',
:'Min',
:'Max',
:'FAWAY HELLA Supplier System',
:'System Management',
:'Infrastructure Construction',
:'Report Management',

3
src/locales/zh-CN.ts

@ -1123,7 +1123,6 @@ export default {
:'查看质检报告',
:'长春',
:'成都',
: '富维海拉智慧工厂管理平台',
: '德立智能制造系统',
:'采购未收货记录',
:'请选择要货计划单号',
@ -1144,7 +1143,6 @@ export default {
:'基础设施',
:'报表管理',
:'报表',
:'富维海拉供应商管理系统',
:'请输入用户名',
:'请输入邮箱',
:'忘记密码',
@ -1173,7 +1171,6 @@ export default {
:'计划员',
:'最小值',
:'最大值',
:'富维海拉供应商系统',
:'物料包装信息',
:'仓库管理',
:'库区管理',

2
src/main.ts

@ -78,7 +78,7 @@ const setupAll = async () => {
// 多语言相关
const localeStore = useLocaleStore()
if(localeStore&&localeStore.currentLocale&&localeStore.currentLocale.lang.indexOf('en')>-1&&document.querySelector('#app-loading-title')){
document.querySelector('#app-loading-title').innerHTML = 'FAWAY HELLA Smart Factory Management Platform' // 富维海拉智慧工厂管理平台
document.querySelector('#app-loading-title').innerHTML = 'Deli Intelligent Manufacturing System' // 德立智能制造系统
}
setupAll()

2
src/store/modules/permission.ts

@ -41,7 +41,7 @@ export const usePermissionStore = defineStore('permission', {
if (wsCache.get(CACHE_KEY.ROLE_ROUTERS)) {
res = wsCache.get(CACHE_KEY.ROLE_ROUTERS) as AppCustomRouteRecordRaw[]
// res.forEach(item=>{
// if(item.name == '富维海拉供应商系统'&&tenant){
// if(item.name == '德立智能制造系统'&&tenant){
// item.name = item.name + tenant['text']
// }
// })

Loading…
Cancel
Save