From adeb11e813fb5246e3e5d850f09ae672e4e3c1f0 Mon Sep 17 00:00:00 2001 From: Vce Date: Wed, 24 Apr 2024 16:13:44 +0800 Subject: [PATCH] =?UTF-8?q?dev:=E4=B8=AD=E6=B5=B7=E8=87=BB=E5=A6=82?= =?UTF-8?q?=E5=BA=9C=E9=A1=B9=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/config.ts | 3 +- src/config/staticMenu.ts | 99 ++++++++++++++++++++++++++- src/views/sevenLargeScreen/indexL.vue | 8 ++- 3 files changed, 107 insertions(+), 3 deletions(-) diff --git a/src/config/config.ts b/src/config/config.ts index f090a36..0a4fb6c 100644 --- a/src/config/config.ts +++ b/src/config/config.ts @@ -24,7 +24,8 @@ export const BASE_IMAGE_URL = import.meta.env.VITE_BASE_IMAGE_URL; // 项目环境标识配置 部署时需更改对应的项目 // export const COMPANY: string = ""; //标准版 -export const COMPANY: string = "zsbf"; //鞍山项目 +export const COMPANY: string = "zhzrf"; //中海·臻如府 +// export const COMPANY: string = "zsbf"; //中水北方 // export const COMPANY: string = "as"; //鞍山项目 // export const COMPANY: string = "agjt"; //鞍钢集团 // export const COMPANY: string = "agjtCommand"; //鞍钢集团指挥部大屏 diff --git a/src/config/staticMenu.ts b/src/config/staticMenu.ts index 52cb86d..ada4fbd 100644 --- a/src/config/staticMenu.ts +++ b/src/config/staticMenu.ts @@ -1200,4 +1200,101 @@ export const ZSBFMenu: Array = [ ] }, { moduleName: "BIM模型", modulePath: "/bImModel" } -]; //中水北方项目 \ No newline at end of file +]; //中水北方项目 + +export const ZHZRFMenu: Array = [ + { + moduleName: "综合管理", + modulePath: "/projectOverview", + menuList: [ + { + menuName: "工程概况", + companyPath: "/projectOverview" + }, + { + menuName: "智慧党建", + companyPath: "/smartPartyBuilding" + } + ] + }, + { + moduleName: "劳务管理", + modulePath: "/laborManagement", + menuList: [ + { + menuName: "", + companyPath: "/laborManagement" + }, + ] + }, + { + moduleName: "视频管理", + modulePath: "/videoManagement", + menuList: [ + { + menuName: "", + companyPath: "/videoManagement" + }, + ] + }, + { + moduleName: "车辆管理", + modulePath: "/vehicleManagement", + menuList: [ + { + menuName: "", + companyPath: "/vehicleManagement" + }, + ] + }, + { + moduleName: "升降机监测", + modulePath: "/elevatorMonitoring", + menuList: [ + { + menuName: "", + companyPath: "/elevatorMonitoring" + }, + ] + }, + { + moduleName: "塔吊监测", + modulePath: "/towerCraneMonitoring", + menuList: [ + { + menuName: "", + companyPath: "/towerCraneMonitoring" + }, + ] + }, + { + moduleName: "高支模监测", + modulePath: "/highFormwork", + menuList: [ + { + menuName: "", + companyPath: "/highFormwork" + }, + ] + }, + { + moduleName: "基坑监测", + modulePath: "/foundationPitMonitor", + menuList: [ + { + menuName: "", + companyPath: "/foundationPitMonitor", + }, + ] + }, + { + moduleName: "环境监测", + modulePath: "/headNoise", + menuList: [ + { + menuName: "", + companyPath: "/headNoise" + }, + ] + }, +]; //中海·臻如府 \ No newline at end of file diff --git a/src/views/sevenLargeScreen/indexL.vue b/src/views/sevenLargeScreen/indexL.vue index 13ddf81..32c849c 100644 --- a/src/views/sevenLargeScreen/indexL.vue +++ b/src/views/sevenLargeScreen/indexL.vue @@ -97,7 +97,7 @@ import ScaleBox from "vue3-scale-box"; import { ref, reactive, onMounted, onBeforeUnmount, computed } from "vue"; import { getTaskTimeDetail } from "@/api/modules/schedulePlan"; import { jumpLargeUserInfoApi } from "@/api/modules/login"; -import { JSYCMenu, XJNBMenu, AHSAMenu, HFQCMenu,ASMenu,AGJTMenu,SLXMenu,ZSBFMenu } from "@/config/staticMenu"; +import { JSYCMenu, XJNBMenu, AHSAMenu, HFQCMenu,ASMenu,AGJTMenu,SLXMenu,ZSBFMenu,ZHZRFMenu } from "@/config/staticMenu"; import { COMPANY } from "@/config/config"; import { useRouter } from "vue-router"; @@ -489,6 +489,9 @@ onMounted(async () => { if (COMPANY === "zsbf") { menuList.value = ZSBFMenu; } + if (COMPANY === "zhzrf") { + menuList.value = ZHZRFMenu; + } console.log("配置菜单", menuList.value); console.log("当前跳转的路由", router.currentRoute.value); @@ -514,6 +517,9 @@ onMounted(async () => { if (COMPANY === 'hfqc'){ subMenus[3].style.marginLeft = "44%"; } + if (COMPANY === 'zhzrf'){ + subMenus[4].style.marginLeft = "34%"; + } if(COMPANY === 'agjt'){ dataBoardContent.style.height = '85%' dataBoardContent.style.margin = '30px auto 16px auto'