From 28b05cc0a8ef1578d4fe01ebadd3875d2e7f7ee6 Mon Sep 17 00:00:00 2001 From: cjp <3096114695@qq.com> Date: Wed, 6 Sep 2023 14:05:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=90=8C=E6=AD=A5=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=EF=BC=8C=E5=B9=B6=E8=A7=A3=E5=86=B3=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routers/modules/staticRouter.ts | 10 ++++++++ src/views/sevenLargeScreen/indexL.vue | 34 +++++++++++++++++++-------- 2 files changed, 34 insertions(+), 10 deletions(-) diff --git a/src/routers/modules/staticRouter.ts b/src/routers/modules/staticRouter.ts index 060e18f..2b82db2 100644 --- a/src/routers/modules/staticRouter.ts +++ b/src/routers/modules/staticRouter.ts @@ -93,6 +93,16 @@ export const staticRouter: RouteRecordRaw[] = [ name: "智慧党建", component: () => import("@/views/sevenLargeScreen/comprehensiveManage/smartPartyBuilding/index.vue") }, + { + path: "/digitalConstruction/aIEarlyWarning", + name: "AI预警", + component: () => import("@/views/sevenLargeScreen/digitalConstruction/aIEarlyWarning/index.vue") + }, + { + path: "/digitalConstruction/loadometerManage", + name: "地磅管理", + component: () => import("@/views/sevenLargeScreen/digitalConstruction/loadometerManage/index.vue") + } ], meta: { title: "七参数大屏" diff --git a/src/views/sevenLargeScreen/indexL.vue b/src/views/sevenLargeScreen/indexL.vue index 500e627..34a724f 100644 --- a/src/views/sevenLargeScreen/indexL.vue +++ b/src/views/sevenLargeScreen/indexL.vue @@ -83,7 +83,7 @@ let nowTime = ref("2023-04-16 09:22:12" as any); let showUserBox = ref(false as any); let adminName = ref("" as any); let menuList = ref([ -{ + { moduleName: "综合管理", modulePath: "/comprehensiveManage/projectOverview", menuList: [ @@ -94,7 +94,21 @@ let menuList = ref([ { menuName: "智慧党建", companyPath: "/comprehensiveManage/smartPartyBuilding" + } + ] + }, + { + moduleName: "数字工地", + modulePath: "/digitalConstruction/aIEarlyWarning", + menuList: [ + { + menuName: "AI预警", + companyPath: "/digitalConstruction/aIEarlyWarning" }, + { + menuName: "地磅管理", + companyPath: "/digitalConstruction/loadometerManage" + } ] }, { @@ -117,15 +131,15 @@ let menuList = ref([ } ] }, - { - moduleName: "扬尘噪声", - modulePath: "/headNoise" - }, - { - moduleName: "劳务管理", - modulePath: "/laborManagement" - }, - { moduleName: "视频管理", modulePath: "/videoManagement" }, + // { + // moduleName: "扬尘噪声", + // modulePath: "/headNoise" + // }, + // { + // moduleName: "劳务管理", + // modulePath: "/laborManagement" + // }, + // { moduleName: "视频管理", modulePath: "/videoManagement" }, { moduleName: "配电箱监测", modulePath: "/distributionMonitoring" }, { moduleName: "车辆管理", modulePath: "/vehicleManagement" }, { moduleName: "塔吊监测", modulePath: "/towerCraneMonitoring" },