shenzhen-dev #2

Merged
admin merged 614 commits from shenzhen-dev into master 2025-06-03 18:28:43 +08:00
4 changed files with 226 additions and 27 deletions
Showing only changes of commit 23de1bfb89 - Show all commits

View File

@ -45,7 +45,9 @@ NODE_ENV = "production"
# 大连金笔
# VITE_API_URL = 'http://101.43.164.214:11126'
# 新能源智慧基建管理平台
VITE_API_URL = 'http://121.37.106.37:9820'
# VITE_API_URL = 'http://121.37.106.37:9820'
# 国维科技
VITE_API_URL = 'http://192.168.0.12:9820'
# 打包
VITE_ULD_API_URL = 'http://jxj.zhgdyun.com:8012/onlinePreview?url='

View File

@ -53,6 +53,7 @@ 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 = "gwkj"; // 国维科技

View File

@ -1975,3 +1975,207 @@ export const XNYZHJJMenu: Array<any> = [
modulePath: "/videoManagement"
},
] // 新能源智慧基建管理平台
export const GWKJMenu: Array<any> = [
{
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"
},
{
menuName: "临边防护",
companyPath: "/newEdgeProtection"
}
]
},
{
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" }
]; //国维科技

View File

@ -1,12 +1,5 @@
<template>
<ScaleBox
:width="1920"
:height="1080"
bgc="transparent"
:delay="100"
:isFlat="false"
@scaleChange="scaleChange"
>
<ScaleBox :width="1920" :height="1080" bgc="transparent" :delay="100" :isFlat="false" @scaleChange="scaleChange">
<!-- <div class="container"> -->
<div class="largeScreen" ref="dataScreenRef" style="width: 100%; height: 100%">
<div class="header" :class="!EntityMap.Mapswitch ? 'storeheader' : ''">
@ -78,11 +71,7 @@
<template v-if="EntityMap.Mapswitch">
<div class="menuList">
<div v-for="(item, index) in menuList" :key="index" class="menStyle">
<div
class="subMenu"
:index="item.modulePath"
:class="{ active: activeTab === item.modulePath }"
>
<div class="subMenu" :index="item.modulePath" :class="{ active: activeTab === item.modulePath }">
<span @click="navigateTo(item, 1)">{{ item.moduleName }}</span>
</div>
</div>
@ -97,10 +86,9 @@
:index="data.companyPath"
@click="navigateTo(data, 2)"
>
<span
style="white-space: nowrap"
:class="{ active2: activeTab2 === data.companyPath }"
>{{ data.menuName }}</span>
<span style="white-space: nowrap" :class="{ active2: activeTab2 === data.companyPath }">{{
data.menuName
}}</span>
</div>
</div>
</el-scrollbar>
@ -110,10 +98,8 @@
<span>
{{ projectTimeInfo.contractPeriodStartTime }}起开始计算至今日{{ nowDate }}
<span class="numColor">
{{
projectPassDay
}}
</span>个日历天
{{ projectPassDay }} </span
>个日历天
</span>
</div>
<div class="dataBoardContent">
@ -166,7 +152,8 @@ import {
DLJBMenu,
WHZTMenu,
ZTSYJMenu,
XNYZHJJMenu
XNYZHJJMenu,
GWKJMenu
} from "@/config/staticMenu";
import { COMPANY } from "@/config/config";
@ -279,7 +266,7 @@ let menuList = ref([
{
menuName: "智慧党建",
companyPath: "/smartPartyBuilding"
},
}
// {
// menuName: "-1",
// companyPath: "/projectOverviewer"
@ -649,9 +636,12 @@ onMounted(async () => {
if (COMPANY === "ztsyj") {
menuList.value = ZTSYJMenu;
}
if(COMPANY === "xnyzhjj") {
if (COMPANY === "xnyzhjj") {
menuList.value = XNYZHJJMenu;
}
if (COMPANY === "gwkj") {
menuList.value = GWKJMenu;
}
console.log("配置菜单", menuList.value);
console.log("当前跳转的路由", router.currentRoute.value);
// await getAllModelMenu();
@ -743,8 +733,10 @@ function jumpBgd() {
window.location.replace("http://182.90.224.237:15551/#/login?token=" + store.token);
} else if (COMPANY === "scwc") {
window.location.replace("http://192.168.9.249:9809/#/login?token=" + store.token);
} else if (COMPANY === "xnyzhjj") {
} else if (COMPANY === "xnyzhjj") {
window.location.replace("http://121.37.106.37:9809/#/login?token=" + store.token);
} else if (COMPANY === "gwkj") {
window.location.replace("http://192.168.0.12:9809/#/login?token=" + store.token);
} else if (envList.includes(COMPANY)) {
window.location.replace(BASEURL + "/#/login?token=" + store.token);
} else {