diff --git a/.env.development b/.env.development index 30add85..97d2b10 100644 --- a/.env.development +++ b/.env.development @@ -4,7 +4,7 @@ NODE_ENV = 'development' # 本地环境接口地址(/api/index.ts文件中使用) # 后端本地 # VITE_API_URL = 'http://192.168.34.155:19111' -VITE_API_URL = 'http://192.168.34.221:9111' #雄哥本地 +VITE_API_URL = 'http://192.168.34.221:19112' #雄哥本地 # VITE_API_URL = 'http://192.168.34.221:28890' #雄哥本地 # VITE_API_URL = 'http://182.90.224.237:51234' #雄哥远程 # VITE_API_URL = 'http://192.168.34.221:28889' diff --git a/.merge_file_a03828 b/.merge_file_a03828 index 49d297e..d0fe15b 100644 --- a/.merge_file_a03828 +++ b/.merge_file_a03828 @@ -43,4 +43,5 @@ export const COMPANY: string = "agjtCommand"; //鞍钢集团指挥部大屏 // export const COMPANY: string = "ahsa"; // 安徽水安项目 // export const COMPANY: string = "zkax"; // 中科安信项目 // export const COMPANY: string = "ztsyj"; // 中铁十一局 +// export const COMPANY: string = "allxm"; // 安立路项目 diff --git a/dist.rar b/dist.rar new file mode 100644 index 0000000..cbaf6f1 Binary files /dev/null and b/dist.rar differ diff --git a/src/config/config.ts b/src/config/config.ts index 3c8a15e..524753c 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"; //鞍山项目 @@ -53,6 +53,8 @@ export const BASE_IMAGE_URL = import.meta.env.VITE_BASE_IMAGE_URL; // export const COMPANY: string = "jzjt"; //九柱集团 // export const COMPANY: string = "whzt"; //武汉中铁 // export const COMPANY: string = "ztsyj"; // 中铁十一局 -export const COMPANY: string = "xnyzhjj"; // 新能源智慧基建管理平台 +// export const COMPANY: string = "xnyzhjj"; // 新能源智慧基建管理平台 +// export const COMPANY: string = "allxm"; // 安立路项目 + diff --git a/src/config/staticMenu.ts b/src/config/staticMenu.ts index 86a1c50..3387705 100644 --- a/src/config/staticMenu.ts +++ b/src/config/staticMenu.ts @@ -1975,3 +1975,136 @@ export const XNYZHJJMenu: Array = [ modulePath: "/videoManagement" }, ] // 新能源智慧基建管理平台 + + +export const ALLXMMenu: Array = [ + { + moduleName: "综合管理", + modulePath: "/projectOverview", + menuList: [ + { + menuName: "工程概况", + companyPath: "/projectOverview" + }, + { + menuName: "智慧党建", + companyPath: "/smartPartyBuilding" + }, + { + menuName: "双碳管理", + companyPath: "/projectioter" + }, + ] + }, + { + moduleName: "数字工地", + modulePath: "/videoManagement", + menuList: [ + { + menuName: "视频管理", + companyPath: "/videoManagement" + }, + { + menuName: "AI预警", + companyPath: "/aIEarlyWarning" + }, + { + menuName: "车辆管理", + companyPath: "/vehicleManagement" + }, + ] + }, + { + moduleName: "劳务管理", + modulePath: "/laborManagement", + menuList: [ + { + menuName: "劳务管理", + companyPath: "/laborManagement" + } + ] + }, + { + moduleName: "安全管理", + modulePath: "/securityManagement", + menuList: [ + { + menuName: "安全管理", + companyPath: "/securityManagement" + }, + { + companyPath: "/foundationPitMonitor", + menuName: "基坑监测" + }, + + { + menuName: "有毒气体监测", + companyPath: "/toxicGasMonitor" + }, + + { + menuName: "烟感监测", + companyPath: "/smokeSensor" + }, + { + menuName: "安全教育", + companyPath: "/safeEducation" + }, + { + menuName: "临边防护", + companyPath: "/newEdgeProtection" + } + ] + }, + { + moduleName: "质量管理", + modulePath: "/qualityManagement", + menuList: [ + { + menuName: "质量管理", + companyPath: "/qualityManagement" + }, + { + menuName: "进度计划", + companyPath: "/schedulePlan" + } + ] + }, + { + moduleName: "绿色施工", + modulePath: "/headNoise", + menuList: [ + { + menuName: "扬尘噪声", + companyPath: "/headNoise" + }, + { + companyPath: "/electricityMonitor", + menuName: "用电监测" + }, + { + companyPath: "/waterMonitor", + menuName: "用水监测" + }, + ] + }, + { + moduleName: "大型机械", + modulePath: "/towerCraneMonitoring", + menuList: [ + { + menuName: "塔吊监测", + companyPath: "/towerCraneMonitoring" + }, + { + menuName: "升降机监测", + companyPath: "/elevatorMonitoring" + }, + { + menuName: "卸料平台", + companyPath: "/unloadPlatform" + }, + ] + }, + { 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 0e3c30a..9634eba 100644 --- a/src/views/sevenLargeScreen/indexL.vue +++ b/src/views/sevenLargeScreen/indexL.vue @@ -166,7 +166,8 @@ import { DLJBMenu, WHZTMenu, ZTSYJMenu, - XNYZHJJMenu + XNYZHJJMenu, + ALLXMMenu } from "@/config/staticMenu"; import { COMPANY } from "@/config/config"; @@ -656,6 +657,9 @@ onMounted(async () => { if(COMPANY === "xnyzhjj") { menuList.value = XNYZHJJMenu; } + if(COMPANY === "allxm") { + menuList.value = ALLXMMenu; + } console.log("配置菜单", menuList.value); console.log("当前跳转的路由", router.currentRoute.value); // await getAllModelMenu();