diff --git a/.env.production b/.env.production index e2b1dc1..746bd5d 100644 --- a/.env.production +++ b/.env.production @@ -6,14 +6,14 @@ NODE_ENV = "production" # VITE_API_URL = "http://139.9.66.234:6688" # VITE_API_URL = "http://jxj.zhgdyun.com:6688" # VITE_API_URL = 'http://jxj.zhgdyun.com:100' -VITE_API_URL = 'http://jxj.zhgdyun.com:33981' +# VITE_API_URL = 'http://jxj.zhgdyun.com:33981' # 沈阳合盈线上 # VITE_API_URL = "http://101.43.164.214:45022" # 嘉兴王江泾公用码头 # VITE_API_URL = "http://183.249.224.118:9003" # 百色 新项目通用地址 -# VITE_API_URL = 'http://101.43.164.214:11111' +VITE_API_URL = 'http://101.43.164.214:11111' # 七参数标准版(演示平台) # VITE_API_URL = 'http://jxj.zhgdyun.com:9809' diff --git a/src/config/config.ts b/src/config/config.ts index 1d7f27b..97812bd 100644 --- a/src/config/config.ts +++ b/src/config/config.ts @@ -23,7 +23,7 @@ export const BAIDU_MAP_KEY: string = ""; export const BASE_IMAGE_URL = import.meta.env.VITE_BASE_IMAGE_URL; // 项目环境标识配置 部署时需更改对应的项目 -export const COMPANY: string = ""; //标准版 +// export const COMPANY: string = ""; //标准版 // export const COMPANY: string = "zhzrf"; //中海·臻如府 // export const COMPANY: string = "zsbf"; //中水北方 // export const COMPANY: string = "as"; //鞍山项目 @@ -50,3 +50,4 @@ export const COMPANY: string = ""; //标准版 // export const COMPANY: string = "ahsa"; // 安徽水安项目 // export const COMPANY: string = "zkax"; // 中科安信项目 // export const COMPANY: string = "jzjt"; //九柱集团 +export const COMPANY: string = "whzt"; //武汉中铁 diff --git a/src/config/staticMenu.ts b/src/config/staticMenu.ts index d18ed4a..73ffeb4 100644 --- a/src/config/staticMenu.ts +++ b/src/config/staticMenu.ts @@ -1865,3 +1865,29 @@ export const DLJBMenu: Array = [ modulePath: "/towerCraneMonitoring" } ]; //大连金笔 + +// 新项目对应菜单配置 +export const WHZTMenu: Array = [ + { + moduleName: "工程概况", + modulePath: "/projectOverview" + }, + { + moduleName: "视频管理", + modulePath: "/videoManagement" + }, + { + moduleName: "绿色施工", + modulePath: "/headNoise", + menuList: [ + { + menuName: "扬尘噪声", + companyPath: "/headNoise" + }, + { + companyPath: "/sewageMonitor", + menuName: "污水监测" + } + ] + } +]; //武汉中铁 diff --git a/src/views/sevenLargeScreen/indexL.vue b/src/views/sevenLargeScreen/indexL.vue index afdc5be..3d7e665 100644 --- a/src/views/sevenLargeScreen/indexL.vue +++ b/src/views/sevenLargeScreen/indexL.vue @@ -126,7 +126,8 @@ import { SCWCMenu, JZJTMenu, BTHGMenu, - DLJBMenu + DLJBMenu, + WHZTMenu } from "@/config/staticMenu"; import { COMPANY } from "@/config/config"; @@ -588,6 +589,9 @@ onMounted(async () => { if (COMPANY === "dljb") { menuList.value = DLJBMenu; } + if (COMPANY === "whzt") { + menuList.value = WHZTMenu; + } console.log("配置菜单", menuList.value); console.log("当前跳转的路由", router.currentRoute.value); // await getAllModelMenu();