dev:中海臻如府项目

This commit is contained in:
Vce 2024-04-24 16:13:44 +08:00
parent 4e579861db
commit adeb11e813
3 changed files with 107 additions and 3 deletions

View File

@ -24,7 +24,8 @@ export const BASE_IMAGE_URL = import.meta.env.VITE_BASE_IMAGE_URL;
// 项目环境标识配置 部署时需更改对应的项目
// export const COMPANY: string = ""; //标准版
export const COMPANY: string = "zsbf"; //鞍山项目
export const COMPANY: string = "zhzrf"; //中海·臻如府
// export const COMPANY: string = "zsbf"; //中水北方
// export const COMPANY: string = "as"; //鞍山项目
// export const COMPANY: string = "agjt"; //鞍钢集团
// export const COMPANY: string = "agjtCommand"; //鞍钢集团指挥部大屏

View File

@ -1201,3 +1201,100 @@ export const ZSBFMenu: Array<any> = [
},
{ moduleName: "BIM模型", modulePath: "/bImModel" }
]; //中水北方项目
export const ZHZRFMenu: Array<any> = [
{
moduleName: "综合管理",
modulePath: "/projectOverview",
menuList: [
{
menuName: "工程概况",
companyPath: "/projectOverview"
},
{
menuName: "智慧党建",
companyPath: "/smartPartyBuilding"
}
]
},
{
moduleName: "劳务管理",
modulePath: "/laborManagement",
menuList: [
{
menuName: "",
companyPath: "/laborManagement"
},
]
},
{
moduleName: "视频管理",
modulePath: "/videoManagement",
menuList: [
{
menuName: "",
companyPath: "/videoManagement"
},
]
},
{
moduleName: "车辆管理",
modulePath: "/vehicleManagement",
menuList: [
{
menuName: "",
companyPath: "/vehicleManagement"
},
]
},
{
moduleName: "升降机监测",
modulePath: "/elevatorMonitoring",
menuList: [
{
menuName: "",
companyPath: "/elevatorMonitoring"
},
]
},
{
moduleName: "塔吊监测",
modulePath: "/towerCraneMonitoring",
menuList: [
{
menuName: "",
companyPath: "/towerCraneMonitoring"
},
]
},
{
moduleName: "高支模监测",
modulePath: "/highFormwork",
menuList: [
{
menuName: "",
companyPath: "/highFormwork"
},
]
},
{
moduleName: "基坑监测",
modulePath: "/foundationPitMonitor",
menuList: [
{
menuName: "",
companyPath: "/foundationPitMonitor",
},
]
},
{
moduleName: "环境监测",
modulePath: "/headNoise",
menuList: [
{
menuName: "",
companyPath: "/headNoise"
},
]
},
]; //中海·臻如府

View File

@ -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, HFQCMenu,ASMenu,AGJTMenu,SLXMenu,ZSBFMenu } from "@/config/staticMenu";
import { JSYCMenu, XJNBMenu, AHSAMenu, HFQCMenu,ASMenu,AGJTMenu,SLXMenu,ZSBFMenu,ZHZRFMenu } from "@/config/staticMenu";
import { COMPANY } from "@/config/config";
import { useRouter } from "vue-router";
@ -489,6 +489,9 @@ onMounted(async () => {
if (COMPANY === "zsbf") {
menuList.value = ZSBFMenu;
}
if (COMPANY === "zhzrf") {
menuList.value = ZHZRFMenu;
}
console.log("配置菜单", menuList.value);
console.log("当前跳转的路由", router.currentRoute.value);
@ -514,6 +517,9 @@ onMounted(async () => {
if (COMPANY === 'hfqc'){
subMenus[3].style.marginLeft = "44%";
}
if (COMPANY === 'zhzrf'){
subMenus[4].style.marginLeft = "34%";
}
if(COMPANY === 'agjt'){
dataBoardContent.style.height = '85%'
dataBoardContent.style.margin = '30px auto 16px auto'