diff --git a/.env.development b/.env.development index 4f79e0e..3c84888 100644 --- a/.env.development +++ b/.env.development @@ -24,6 +24,8 @@ VITE_API_URL = 'http://192.168.34.221:9111' #雄哥本地 # VITE_API_URL = 'http://182.90.224.237:15551' # 七参数标准版(演示平台) # VITE_API_URL = 'http://jxj.zhgdyun.com:9809' +# 包头化工 +# VITE_API_URL = 'http://jxj.zhgdyun.com:18000' # agjt # VITE_API_URL = 'http://42.180.188.17:9809' #生产环境 # VITE_API_URL = 'http://42.180.188.17:11211' #测试环境 diff --git a/.env.production b/.env.production index 2cbd7de..719c749 100644 --- a/.env.production +++ b/.env.production @@ -35,6 +35,8 @@ VITE_API_URL = 'http://42.180.188.17:9809' #生产环境 # VITE_API_URL = 'http://jxjzw.zhgdyun.com:11111' # 同济 # VITE_API_URL = 'http://192.168.110.220:9809' +# 包头化工 +# VITE_API_URL = 'http://jxj.zhgdyun.com:18000' # 打包 VITE_ULD_API_URL = 'http://jxj.zhgdyun.com:8012/onlinePreview?url=' diff --git a/src/config/config.ts b/src/config/config.ts index dde00df..0cad819 100644 --- a/src/config/config.ts +++ b/src/config/config.ts @@ -30,6 +30,7 @@ export const BASE_IMAGE_URL = import.meta.env.VITE_BASE_IMAGE_URL; // export const COMPANY: string = "agjt"; //鞍钢集团 // export const COMPANY: string = "tj"; // 同济项目 export const COMPANY: string = "agjtLive"; //鞍钢集团现场大屏 +// export const COMPANY: string = "bthg"; //包头化工 // export const COMPANY: string = "agjtCommand"; //鞍钢集团指挥部大屏 // export const COMPANY: string = "agjtProjectKanban"; //鞍钢集团项目看板大屏 // export const COMPANY: string = "agjtOverviewScreen"; //鞍钢集团项目总览 diff --git a/src/config/staticMenu.ts b/src/config/staticMenu.ts index ca29d61..9d8509a 100644 --- a/src/config/staticMenu.ts +++ b/src/config/staticMenu.ts @@ -1582,3 +1582,122 @@ export const TJMenu: Array = [ ] } ]; //同济大屏 + +export const BTHGMenu: Array = [ + { + moduleName: "首页概览", + modulePath: "/projectOverview", + menuList: [ + { + menuName: "工程概况", + companyPath: "/projectOverview" + } + ] + }, + { + moduleName: "党建引领", + modulePath: "/smartPartyBuilding", + menuList: [ + { + menuName: "党建引领", + companyPath: "/smartPartyBuilding" + } + ] + }, + { + moduleName: "质量管理", + modulePath: "/qualityManagement", + menuList: [ + { + menuName: "质量检查管理", + companyPath: "/qualityManagement" + }, + { + menuName: "混凝土测温", + companyPath: "/concreteMonitor" + } + ] + }, + { + moduleName: "进度管理", + modulePath: "/schedulePlan", + menuList: [ + { + menuName: "进度管理", + companyPath: "/schedulePlan" + } + ] + }, + { + moduleName: "安全管理", + modulePath: "/securityManagement", + menuList: [ + { + menuName: "安全检查", + companyPath: "/securityManagement" + }, + { + companyPath: "/foundationPitMonitor", + menuName: "基坑监测" + }, + { + menuName: "高支模监测", + companyPath: "/highFormwork" + }, + { + menuName: "视频管理", + companyPath: "/videoManagement" + }, + { + menuName: "AI预警", + companyPath: "/aIEarlyWarning" + }, + { + menuName: "人员定位", + companyPath: "/smartSafeHat" + }, + { + menuName: "塔吊监测", + companyPath: "/towerCraneMonitoring" + }, + { + companyPath: "/hangBasket", + menuName: "吊篮监测" + } + ] + }, + { + moduleName: "绿色施工", + modulePath: "/headNoise", + menuList: [ + { + menuName: "环境监测", + companyPath: "/headNoise" + }, + { + menuName: "有毒有害气体监测", + companyPath: "/toxicGasMonitor" + } + ] + }, + { + moduleName: "人员管理", + modulePath: "/laborManagement", + menuList: [ + { + menuName: "人员管理", + companyPath: "/laborManagement" + } + ] + }, + { + moduleName: "施工设备机具", + modulePath: "/vehicleManagement", + menuList: [ + { + menuName: "车辆管理", + companyPath: "/vehicleManagement" + } + ] + } +]; //包头化工 diff --git a/src/views/sevenLargeScreen/indexL.vue b/src/views/sevenLargeScreen/indexL.vue index 2d5e394..6145906 100644 --- a/src/views/sevenLargeScreen/indexL.vue +++ b/src/views/sevenLargeScreen/indexL.vue @@ -122,7 +122,8 @@ import { CQNAMenu, ZKJCMenu, CPGSMenu, - TJMenu + TJMenu, + BTHGMenu } from "@/config/staticMenu"; import { COMPANY } from "@/config/config"; @@ -546,6 +547,9 @@ onMounted(async () => { if (COMPANY === "tj") { menuList.value = TJMenu; } + if (COMPANY === "bthg") { + menuList.value = BTHGMenu; + } console.log("配置菜单", menuList.value); console.log("当前跳转的路由", router.currentRoute.value); // await getAllModelMenu();