From 3fe788fd084780450df283ed7171e2c0d16fcf67 Mon Sep 17 00:00:00 2001 From: Vce Date: Sat, 30 Mar 2024 09:02:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=90=88=E8=82=A5=E8=B5=B7?= =?UTF-8?q?=E7=A8=8B=E9=A1=B9=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 +- .env.production | 4 +- src/config/config.ts | 3 +- src/config/staticMenu.ts | 87 ++++++++++++++++++ src/routers/modules/staticRouter.ts | 10 +++ src/views/sevenLargeScreen/indexL.vue | 10 ++- src/views/sevenLargeScreen/indexL_syhy.vue | 90 ++++++++++++++++++- .../edgeProtection/index_wdzs.vue | 86 ++++++++++++++++++ .../wallScaffold/wallScaffold.vue | 79 ++++++++++++++++ 9 files changed, 365 insertions(+), 8 deletions(-) create mode 100644 src/views/sevenLargeScreen/safetyManagement/edgeProtection/index_wdzs.vue create mode 100644 src/views/sevenLargeScreen/safetyManagement/wallScaffold/wallScaffold.vue diff --git a/.env.development b/.env.development index 4367518..1cb52ab 100644 --- a/.env.development +++ b/.env.development @@ -13,9 +13,9 @@ NODE_ENV = 'development' # 沈阳合盈线上 # VITE_API_URL = "http://101.43.164.214:45022" # 演示平台 -VITE_API_URL = 'http://jxj.zhgdyun.com:9809' +# VITE_API_URL = 'http://jxj.zhgdyun.com:9809' # 百色七参数线上地址 -# VITE_API_URL = 'http://101.43.164.214:11111' +VITE_API_URL = 'http://101.43.164.214:11111' # 上传 VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url=' diff --git a/.env.production b/.env.production index 5184206..09f702d 100644 --- a/.env.production +++ b/.env.production @@ -12,10 +12,10 @@ NODE_ENV = "production" # VITE_API_URL = "http://183.249.224.118:9003" # 百色 新项目通用地址 -# VITE_API_URL = 'http://101.43.164.214:11111' +VITE_API_URL = 'http://101.43.164.214:11111' # 七参数标准版(演示平台) -VITE_API_URL = 'http://jxj.zhgdyun.com:9809' +# VITE_API_URL = 'http://jxj.zhgdyun.com:9809' # 七参数标准版(测试平台) # VITE_API_URL = 'http://jxj.zhgdyun.com:15551' diff --git a/src/config/config.ts b/src/config/config.ts index 60d8287..c559cb0 100644 --- a/src/config/config.ts +++ b/src/config/config.ts @@ -23,7 +23,8 @@ 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 = "hfqc"; //合肥启程项目 // 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 79e29c9..2fdf017 100644 --- a/src/config/staticMenu.ts +++ b/src/config/staticMenu.ts @@ -433,3 +433,90 @@ export const AHSAMenu: Array = [ ] } ]; //安徽水安项目 + +export const HFQCMenu: Array = [ + { + moduleName: "综合管理", + modulePath: "/projectOverview", + // menuList: [ + // { + // menuName: "工程概况", + // companyPath: "/projectOverview" + // }, + // { + // menuName: "智慧党建", + // companyPath: "/smartPartyBuilding" + // } + // ] + }, + { + moduleName: "准入管理", + modulePath: "/laborManagement", + menuList: [ + { + menuName: "劳务实名制", + companyPath: "/laborManagement" + }, + { + menuName: "车辆出入管理", + companyPath: "/vehicleManagement" + } + ] + }, + { + moduleName: "反违章纠察", + modulePath: "/videoManagement", + menuList: [ + { + menuName: "视频管理", + companyPath: "/videoManagement" + }, + { + menuName: "AI智能预警", + companyPath: "/aIEarlyWarning" + }, + ] + }, + { + moduleName: "智能安全帽", + modulePath: "/smartSafeHat", + // menuList: [ + // { + // menuName: "", + // companyPath: "/smartSafeHat" + // }, + // ] + }, + { + moduleName: "安全风险警示", + modulePath: "/distributionMonitoring", + menuList: [ + { + menuName: "配电箱监测", + companyPath: "/distributionMonitoring" + }, + { + menuName: "外墙脚手架监测", + companyPath: "/wallScaffold" + }, + { + menuName: "临边防护报警", + companyPath: "/edgeProtection2" + }, + { + menuName: "智能烟感监测", + companyPath: "/qualityManagement" + } + ] + }, + { + moduleName: "高支模监测预警", + modulePath: "/highFormwork", + // menuList: [ + // { + // menuName: "", + // companyPath: "/highFormwork" + // }, + // ] + } +]; //合肥启程项目 \ No newline at end of file diff --git a/src/routers/modules/staticRouter.ts b/src/routers/modules/staticRouter.ts index 22d713d..89fd816 100644 --- a/src/routers/modules/staticRouter.ts +++ b/src/routers/modules/staticRouter.ts @@ -119,6 +119,16 @@ export const staticRouter: RouteRecordRaw[] = [ name: "临边防护", component: () => import("@/views/sevenLargeScreen/safetyManagement/edgeProtection/index.vue") }, + { + path: "/wallScaffold", + name: "外墙脚手架监测", + component: () => import("@/views/sevenLargeScreen/safetyManagement/wallScaffold/wallScaffold.vue") + }, + { + path: "/edgeProtection2", + name: "临边防护", + component: () => import("@/views/sevenLargeScreen/safetyManagement/edgeProtection/index_wdzs.vue") + }, { path: "/toxicGasMonitor", name: "有毒气体监测", diff --git a/src/views/sevenLargeScreen/indexL.vue b/src/views/sevenLargeScreen/indexL.vue index bda1ef9..c3599a7 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 } from "@/config/staticMenu"; +import { JSYCMenu, XJNBMenu, AHSAMenu, HFQCMenu } from "@/config/staticMenu"; import { COMPANY } from "@/config/config"; import { useRouter } from "vue-router"; @@ -469,6 +469,9 @@ onMounted(async () => { if (COMPANY === "ahsa") { menuList.value = AHSAMenu; } + if (COMPANY === "hfqc") { + menuList.value = HFQCMenu; + } console.log("配置菜单", menuList.value); console.log("当前跳转的路由", router.currentRoute.value); @@ -487,9 +490,12 @@ onMounted(async () => { getNowTime(); document.addEventListener("click", bodyCloseMenus); const subMenus = document.querySelectorAll(".menStyle"); - if (subMenus.length >= 5) { + if (subMenus.length >= 5 && COMPANY !== 'hfqc') { subMenus[4].style.marginLeft = "30%"; } + if (COMPANY === 'hfqc'){ + subMenus[3].style.marginLeft = "44%"; + } await getProjectInfo(); diff --git a/src/views/sevenLargeScreen/indexL_syhy.vue b/src/views/sevenLargeScreen/indexL_syhy.vue index fc4f9fb..b0864b7 100644 --- a/src/views/sevenLargeScreen/indexL_syhy.vue +++ b/src/views/sevenLargeScreen/indexL_syhy.vue @@ -16,6 +16,9 @@

鄱湖美湾医疗、医美产业集群项目

+ +

乌丹站舍智慧工地项目

+
{{ nowTime }}
+
+ + + + + diff --git a/src/views/sevenLargeScreen/safetyManagement/wallScaffold/wallScaffold.vue b/src/views/sevenLargeScreen/safetyManagement/wallScaffold/wallScaffold.vue new file mode 100644 index 0000000..0df4bbd --- /dev/null +++ b/src/views/sevenLargeScreen/safetyManagement/wallScaffold/wallScaffold.vue @@ -0,0 +1,79 @@ + + + + +