diff --git a/src/config/config.ts b/src/config/config.ts index 2b2c85a..2420a90 100644 --- a/src/config/config.ts +++ b/src/config/config.ts @@ -23,10 +23,10 @@ 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 = "as"; //鞍山项目 // export const COMPANY: string = "agjt"; //鞍钢集团 -// export const COMPANY: string = "slx"; //苏立信项目 +export const COMPANY: string = "slx"; //苏立信项目 // export const COMPANY: string = "hfqc"; //合肥启程项目 // export const COMPANY: string = "jsyc"; // 江苏盐城项目 // export const COMPANY: string = "syhy"; //沈阳合盈盘锦项目 (需要去src\routers\modules\staticRouter.ts更换首页) diff --git a/src/config/staticMenu.ts b/src/config/staticMenu.ts index d24f144..c78c401 100644 --- a/src/config/staticMenu.ts +++ b/src/config/staticMenu.ts @@ -788,4 +788,204 @@ export const AGJTMenu: Array = [ // }, // ] }, -] \ No newline at end of file +]; //鞍钢集团 + +export const SLXMenu: Array = [ + { + moduleName: "综合管理", + modulePath: "/projectOverview", + menuList: [ + { + menuName: "工程概况", + companyPath: "/projectOverview" + }, + { + menuName: "智慧党建", + companyPath: "/smartPartyBuilding" + } + ] + }, + { + moduleName: "数字工地", + modulePath: "/videoManagement", + menuList: [ + { + menuName: "视频管理", + companyPath: "/videoManagement" + }, + { + menuName: "AI预警", + companyPath: "/aIEarlyWarning" + }, + { + menuName: "地磅管理", + companyPath: "/loadometerManage" + }, + { + menuName: "车辆管理", + companyPath: "/vehicleManagement" + }, + { + menuName: "配电箱监测", + companyPath: "/distributionMonitoring" + }, + { + menuName: "标养室监测", + companyPath: "/standardCureRoom" + }, + { + menuName: "车辆定位", + companyPath: "/carPosition" + }, + { + menuName: "机械设备定位", + companyPath: "/equipmentPosition" + }, + { + menuName: "智能安全帽", + companyPath: "/smartSafeHat" + } + ] + }, + { + moduleName: "劳务管理", + modulePath: "/laborManagement" + }, + { + moduleName: "安全管理", + modulePath: "/securityManagement", + menuList: [ + { + menuName: "安全管理", + companyPath: "/securityManagement" + }, + { + companyPath: "/foundationPitMonitor", + menuName: "基坑监测" + }, + { + menuName: "隧道定位监测", + companyPath: "/tunnelPosition" + }, + { + menuName: "临边防护", + companyPath: "/edgeProtection" + }, + { + menuName: "有毒气体监测", + companyPath: "/toxicGasMonitor" + }, + { + menuName: "高支模监测", + companyPath: "/highFormwork" + }, + { + menuName: "高边坡监测", + companyPath: "/highSlope" + }, + { + menuName: "烟感监测", + companyPath: "/smokeSensor" + }, + { + menuName: "安全教育", + companyPath: "/safeEducation" + } + ] + }, + { + moduleName: "质量管理", + modulePath: "/qualityManagement", + menuList: [ + { + menuName: "质量管理", + companyPath: "/qualityManagement" + }, + { + menuName: "混凝土测温", + companyPath: "/concreteMonitor" + }, + { + menuName: "进度计划", + companyPath: "/schedulePlan" + } + ] + }, + { + moduleName: "绿色施工", + modulePath: "/headNoise", + menuList: [ + { + menuName: "扬尘噪声", + companyPath: "/headNoise" + }, + { + companyPath: "/electricityMonitor", + menuName: "用电监测" + }, + { + companyPath: "/waterMonitor", + menuName: "用水监测" + }, + { + companyPath: "/sewageMonitor", + menuName: "污水监测" + } + ] + }, + { + moduleName: "大型机械", + modulePath: "/towerCraneMonitoring", + menuList: [ + { + menuName: "塔吊监测", + companyPath: "/towerCraneMonitoring" + }, + { + menuName: "升降机监测", + companyPath: "/elevatorMonitoring" + }, + { + menuName: "卸料平台", + companyPath: "/unloadPlatform" + }, + { + menuName: "混凝土拌合站", + companyPath: "/concreteMixingPlant" + }, + { + menuName: "龙门吊监测", + companyPath: "/gantryCrane" + }, + { + companyPath: "/erectCrane", + menuName: "架桥机" + }, + { + companyPath: "/hangBasket", + menuName: "挂篮监测" + }, + { + companyPath: "/pressureTestMachine", + menuName: "压力试验机" + }, + { + companyPath: "/universalTestMachine", + menuName: "万能试验机" + }, + { + companyPath: "/compressionIntegrate", + menuName: "抗压一体机" + }, + { + companyPath: "/asphaltMixer", + menuName: "沥青拌合站" + }, + { + companyPath: "/waterStabilizedMixer", + menuName: "水稳拌合站" + } + ] + }, + { moduleName: "BIM模型", modulePath: "/bImModel" } +]; //苏立信项目 \ No newline at end of file diff --git a/src/views/sevenLargeScreen/indexL.vue b/src/views/sevenLargeScreen/indexL.vue index 4d73f9c..d4fe750 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 } from "@/config/staticMenu"; +import { JSYCMenu, XJNBMenu, AHSAMenu, HFQCMenu,ASMenu,AGJTMenu,SLXMenu } from "@/config/staticMenu"; import { COMPANY } from "@/config/config"; import { useRouter } from "vue-router"; @@ -483,6 +483,9 @@ onMounted(async () => { if (COMPANY === "agjt") { menuList.value = AGJTMenu; } + if (COMPANY === "slx") { + menuList.value = SLXMenu; + } console.log("配置菜单", menuList.value); console.log("当前跳转的路由", router.currentRoute.value);