diff --git a/src/routers/modules/staticRouter.ts b/src/routers/modules/staticRouter.ts index e5431c1..c47a8a4 100644 --- a/src/routers/modules/staticRouter.ts +++ b/src/routers/modules/staticRouter.ts @@ -26,7 +26,7 @@ export const staticRouter: RouteRecordRaw[] = [ name: "大屏", // component: () => import("@/views/sevenLargeScreen/indexL.vue"), //七参数标准版 component: () => import("@/views/commandScreen/indexCommand.vue"), //指挥部大屏 - // component: () => import("@/views/agjtLiveScreen/indexLive.vue"), //鞍钢现场大屏 + component: () => import("@/views/agjtLiveScreen/indexLive.vue"), //鞍钢现场大屏 // component: () => import("@/views/overviewScreen/indexCommand.vue"), //总览大屏 // component: () => import("@/views/agjtProjectKanban/indexL.vue"), //鞍钢集团项目看板大屏 // component: () => import("@/views/sevenLargeScreen/indexL_syhy.vue"), // 只有一级路由(盘锦、嘉兴、鄱湖美湾医疗项目需切换至该首页) @@ -310,7 +310,8 @@ export const staticRouter: RouteRecordRaw[] = [ } ], meta: { - title: "数字化项目监管平台" + // title: "数字化项目监管平台" + title: "智慧工厂安全生产监管平台" //指挥部大屏 } } diff --git a/src/views/commandScreen/commandCenter/centerTop.vue b/src/views/commandScreen/commandCenter/centerTop.vue index 08bbe76..d9610d1 100644 --- a/src/views/commandScreen/commandCenter/centerTop.vue +++ b/src/views/commandScreen/commandCenter/centerTop.vue @@ -80,7 +80,7 @@
-
+
危大工程  {{ statsDirectorateBigScreen.dangerousEngineeringRecordNum }}
diff --git a/src/views/commandScreen/commandCenter/index.vue b/src/views/commandScreen/commandCenter/index.vue index 15a52a4..e852a12 100644 --- a/src/views/commandScreen/commandCenter/index.vue +++ b/src/views/commandScreen/commandCenter/index.vue @@ -12,6 +12,28 @@
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+ {{ item.name }} +
+
+
+
+
+ +
@@ -24,6 +46,7 @@ import rightAll from "@/views/commandScreen/commandCenter/rightAll.vue"; import { GlobalStore } from "@/stores"; import dataDialog from "../dialogCompnnents/data-dialog.vue"; import * as mqtt from "mqtt/dist/mqtt.min"; +const BASEURL = import.meta.env.VITE_API_URL // import { getWorkerStatisticsCountApi, getProjectDetail } from "@/api/modules/projectOverview"; import { ref, onMounted } from "vue"; @@ -76,6 +99,38 @@ const mqttMSG = () => { client.on("error", (error: any) => { }); }; +const backendUrls = ref([ + {id:1, name:'项目概况', url:'', color:'#dc3c00'}, + {id:2, name:'工作台', url:'/workSpace', color:'#00aff0'},{id:3, name:'项目基本信息管理', url:'/project/summary/baseInfo', color:'#00aff0'}, + {id:4, name:'区域管理', url:'/project/quality/business', color:'#00aff0'},{id:5, name:'进度管理', url:'/project/progressManagementAg/projectganttChart', color:'#00aff0'}, + + {id:6, name:'安全准入', url:'', color:'#dc3c00'}, + {id:7, name:'人员管理', url:'/project/labor/personManage', color:'#0078d7'},{id:8, name:'车辆管理', url:'/project/carManage/realTimeData', color:'#0078d7'}, + {id:9, name:'访客管理', url:'/project/labor/visitRecord', color:'#0078d7'},{id:10, name:'材料入场管理', url:'/project/materialManage/materialEntryManage', color:'#0078d7'}, + {id:11, name:'材料出场管理', url:'/project/materialManage/materialExitManage', color:'#0078d7'}, + + {id:12, name:'安全管理', url:'', color:'#dc3c00'}, + {id:13, name:'安全隐患检查', url:'/project/safetyEducation/safetyAnalysis', color:'#113768'},{id:14, name:'AI预警分析', url:'/project/aiAnalysis/dealPushManage', color:'#113768'}, + {id:15, name:'AI训练模型', url:'/project/videoOverview', color:'#113768'},{id:16, name:'综合考试培训', url:'/project/examSystem2/subjectManagement', color:'#113768'}, + {id:17, name:'质量管理', url:'/project/quality/qualityAnalysis', color:'#113768'},{id:18, name:'特殊作业', url:'/project/specialWork/fireWork', color:'#113768'}, + {id:19, name:'智能巡检', url:'/project/inspecPoint/inspection', color:'#113768'}, +] as any) +function goBackend(item: any){ + if(item.url != ''){ + // window.location.replace('http://localhost:8080/#/login?command=1&pathItem='+ item.url +'&token=' + store.token); + console.log(BASEURL) + // window.open(BASEURL + '/#/login?command=1&pathItem='+ item.url +'&token=' + store.token, '_blank'); + window.open('http://10.0.1.77:8080' + '/#/login?command=1&pathItem='+ item.url +'&token=' + store.token, '_blank'); + } +} +const show = ref(false as any) +function retract(){ + show.value = false +} +function expand(){ + show.value = true +} + onMounted(() => { mqttMSG(); // setTimeout(() => { @@ -151,7 +206,6 @@ onMounted(() => { width: 100%; height: 100%; display: flex; - .left { height: 109.5%; width: 26%; @@ -197,5 +251,76 @@ onMounted(() => { // height: 32%; // } } + + .contentsBox{ + position: fixed; + top: 1px; + left: 0px; + width: 15.3%; + height: 100%; + // padding-top: 10px; + // transition: left 0.5s; /* 添加过渡效果 */ + .topBox{ + height: 3.7%; + width: 100%; + background-color: rgba($color: #000000, $alpha: 0); + display: flex; + justify-content: space-between; + align-items: center; + .retract{ + cursor: pointer; + } + } + .bottomBox{ + height: 96.3%; + width: 93%; + background: #0a1334; + .listItem{ + color: #fff; + height: 40px; + // background-color: darkred; + display: flex; + justify-content: flex-start; + align-items: center; + cursor: pointer; + .itemIcon{ + margin-left: 10px; + width: 60px; + height: 35px; + // background-color: darkblue; + display: flex; + justify-content: center; + align-items: center; + } + .itemText{ + margin-left: 10px; + font-size: 16px; + } + } + } + } + .hiddenDialog{ + left: -1000px; + } + .openDialog{ + left: 0; + } + .expandBtn{ + cursor: pointer; + color: #fff; + position: fixed; + width: auto; + height: 3.7%; + top:0; + left: 0; + // background-color: #061f51; + background-color: rgba($color: #000000, $alpha: 0); + display: flex; + justify-content: flex-start; + align-items: center; + font-size: 14px; + // margin-bottom: 5px; + // margin-left: 10px; + } } diff --git a/src/views/commandScreen/indexCommand.vue b/src/views/commandScreen/indexCommand.vue index 88f1df6..aa686ee 100644 --- a/src/views/commandScreen/indexCommand.vue +++ b/src/views/commandScreen/indexCommand.vue @@ -7,7 +7,7 @@

指挥部大屏

-
数字化项目监管平台
+
智慧工厂安全生产监管平台
{{ nowTime }}
@@ -192,7 +192,7 @@ function jumpBgd() { window.location.replace("http://182.90.224.237:15551/#/projectIndex"); // 鞍山项目 } if(COMPANY === "agjtCommand"){ - window.location.replace("http://47.93.215.234:9809" + "/#/login?token=" + store.token); + window.location.replace("http://42.180.188.17:11211" + "/#/login?token=" + store.token); } }