diff --git a/.env.production b/.env.production index 8c84a3c..262ceb0 100644 --- a/.env.production +++ b/.env.production @@ -29,7 +29,7 @@ VITE_API_URL = 'http://42.180.188.17:9809' #生产环境 # VITE_API_URL = 'http://8.136.222.164:8808' # 中科佳成 # VITE_API_URL = 'http://1.13.185.209:8089' -# 合肥启程 +# 合肥启程(乌丹) # VITE_API_URL = 'http://192.168.100.4:9809' # 打包 VITE_ULD_API_URL = 'http://jxj.zhgdyun.com:8012/onlinePreview?url=' diff --git a/src/config/config.ts b/src/config/config.ts index ff2368c..ac346ca 100644 --- a/src/config/config.ts +++ b/src/config/config.ts @@ -33,9 +33,10 @@ export const COMPANY: string = "agjtCommand"; //鞍钢集团指挥部大屏 // export const COMPANY: string = "agjtProjectKanban"; //鞍钢集团项目看板大屏 // export const COMPANY: string = "agjtOverviewScreen"; //鞍钢集团项目总览 // export const COMPANY: string = "zkjc"; //中科佳成项目 -// export const COMPANY: string = "cqna"; //重庆南岸项目 +export const COMPANY: string = "cqna"; //重庆南岸项目 // export const COMPANY: string = "slx"; //苏立信项目 -// export const COMPANY: string = "hfqc"; //合肥启程项目 +// export const COMPANY: string = "hfqc"; //合肥启程(乌丹)项目 +// export const COMPANY: string = "cpgs"; //成平高速项目 // export const COMPANY: string = "jsyc"; // 江苏盐城项目 // export const COMPANY: string = "syhy"; //沈阳合盈盘锦项目 (需要去src\routers\modules\staticRouter.ts更换首页) // export const COMPANY: string = "jxwjj"; //嘉兴王江泾公用码头项目 (需要去src\routers\modules\staticRouter.ts更换首页) diff --git a/src/config/staticMenu.ts b/src/config/staticMenu.ts index 1bc2908..6bd7c29 100644 --- a/src/config/staticMenu.ts +++ b/src/config/staticMenu.ts @@ -497,11 +497,11 @@ export const HFQCMenu: Array = [ }, { menuName: "外墙脚手架监测", - companyPath: "/wallScaffold" + companyPath: "/wallScaffold2" }, { menuName: "临边防护", - companyPath: "/edgeProtection2" + companyPath: "/newEdgeProtection" } // { // menuName: "智能烟感监测", @@ -1372,6 +1372,14 @@ export const CQNAMenu: Array = [ { moduleName: "进度计划", modulePath: "/schedulePlan" + }, + { + moduleName: "AI预警", + modulePath: "/aIEarlyWarning" + }, + { + moduleName: "视频管理", + modulePath: "/videoManagement" } ]; //重庆南岸大屏 @@ -1437,3 +1445,29 @@ export const ZKJCMenu: Array = [ ] } ]; //中科佳成大屏 +export const CPGSMenu: Array = [ + { + moduleName: "首页概览", + modulePath: "/projectOverview" + }, + { + moduleName: "劳务管理", + modulePath: "/laborManagement" + }, + { + moduleName: "质量管理", + modulePath: "/qualityManagement" + }, + { + moduleName: "安全管理", + modulePath: "/securityManagement" + }, + { + moduleName: "AI预警", + modulePath: "/aIEarlyWarning" + }, + { + moduleName: "视频管理", + modulePath: "/videoManagement" + } +]; //成平高速大屏 diff --git a/src/views/sevenLargeScreen/indexL.vue b/src/views/sevenLargeScreen/indexL.vue index cf40957..3b6f6e9 100644 --- a/src/views/sevenLargeScreen/indexL.vue +++ b/src/views/sevenLargeScreen/indexL.vue @@ -120,7 +120,8 @@ import { ZHZRFMenu, ZKAXMenu, CQNAMenu, - ZKJCMenu + ZKJCMenu, + CPGSMenu } from "@/config/staticMenu"; import { COMPANY } from "@/config/config"; @@ -534,6 +535,9 @@ onMounted(async () => { if (COMPANY === "zkjc") { menuList.value = ZKJCMenu; } + if (COMPANY === "cpgs") { + menuList.value = CPGSMenu; + } console.log("配置菜单", menuList.value); console.log("当前跳转的路由", router.currentRoute.value); // await getAllModelMenu(); @@ -615,7 +619,7 @@ function loginOut() { } //跳转后台 function jumpBgd() { - const envList = ["agjt", "zkax", "zkjc", "hfqc"]; // 环境标识 + const envList = ["agjt", "zkax", "zkjc", "hfqc", "cpgs", "cqna"]; // 环境标识 // 标准版——跳转演示平台项目后台 if (COMPANY == "") { window.location.replace("http://jxj.zhgdyun.com:100/#/login?token=" + store.token);