添加包头化工配置

This commit is contained in:
jiayu 2024-07-18 16:11:01 +08:00
parent 3d5c6e66e2
commit c6c531021b
5 changed files with 129 additions and 1 deletions

View File

@ -24,6 +24,8 @@ VITE_API_URL = 'http://192.168.34.221:9111' #雄哥本地
# VITE_API_URL = 'http://182.90.224.237:15551'
# 七参数标准版(演示平台)
# VITE_API_URL = 'http://jxj.zhgdyun.com:9809'
# 包头化工
# VITE_API_URL = 'http://jxj.zhgdyun.com:18000'
# agjt
# VITE_API_URL = 'http://42.180.188.17:9809' #生产环境
# VITE_API_URL = 'http://42.180.188.17:11211' #测试环境

View File

@ -35,6 +35,8 @@ VITE_API_URL = 'http://42.180.188.17:9809' #生产环境
# VITE_API_URL = 'http://jxjzw.zhgdyun.com:11111'
# 同济
# VITE_API_URL = 'http://192.168.110.220:9809'
# 包头化工
# VITE_API_URL = 'http://jxj.zhgdyun.com:18000'
# 打包
VITE_ULD_API_URL = 'http://jxj.zhgdyun.com:8012/onlinePreview?url='

View File

@ -30,6 +30,7 @@ export const BASE_IMAGE_URL = import.meta.env.VITE_BASE_IMAGE_URL;
// export const COMPANY: string = "agjt"; //鞍钢集团
// export const COMPANY: string = "tj"; // 同济项目
export const COMPANY: string = "agjtLive"; //鞍钢集团现场大屏
// export const COMPANY: string = "bthg"; //包头化工
// export const COMPANY: string = "agjtCommand"; //鞍钢集团指挥部大屏
// export const COMPANY: string = "agjtProjectKanban"; //鞍钢集团项目看板大屏
// export const COMPANY: string = "agjtOverviewScreen"; //鞍钢集团项目总览

View File

@ -1582,3 +1582,122 @@ export const TJMenu: Array<any> = [
]
}
]; //同济大屏
export const BTHGMenu: Array<any> = [
{
moduleName: "首页概览",
modulePath: "/projectOverview",
menuList: [
{
menuName: "工程概况",
companyPath: "/projectOverview"
}
]
},
{
moduleName: "党建引领",
modulePath: "/smartPartyBuilding",
menuList: [
{
menuName: "党建引领",
companyPath: "/smartPartyBuilding"
}
]
},
{
moduleName: "质量管理",
modulePath: "/qualityManagement",
menuList: [
{
menuName: "质量检查管理",
companyPath: "/qualityManagement"
},
{
menuName: "混凝土测温",
companyPath: "/concreteMonitor"
}
]
},
{
moduleName: "进度管理",
modulePath: "/schedulePlan",
menuList: [
{
menuName: "进度管理",
companyPath: "/schedulePlan"
}
]
},
{
moduleName: "安全管理",
modulePath: "/securityManagement",
menuList: [
{
menuName: "安全检查",
companyPath: "/securityManagement"
},
{
companyPath: "/foundationPitMonitor",
menuName: "基坑监测"
},
{
menuName: "高支模监测",
companyPath: "/highFormwork"
},
{
menuName: "视频管理",
companyPath: "/videoManagement"
},
{
menuName: "AI预警",
companyPath: "/aIEarlyWarning"
},
{
menuName: "人员定位",
companyPath: "/smartSafeHat"
},
{
menuName: "塔吊监测",
companyPath: "/towerCraneMonitoring"
},
{
companyPath: "/hangBasket",
menuName: "吊篮监测"
}
]
},
{
moduleName: "绿色施工",
modulePath: "/headNoise",
menuList: [
{
menuName: "环境监测",
companyPath: "/headNoise"
},
{
menuName: "有毒有害气体监测",
companyPath: "/toxicGasMonitor"
}
]
},
{
moduleName: "人员管理",
modulePath: "/laborManagement",
menuList: [
{
menuName: "人员管理",
companyPath: "/laborManagement"
}
]
},
{
moduleName: "施工设备机具",
modulePath: "/vehicleManagement",
menuList: [
{
menuName: "车辆管理",
companyPath: "/vehicleManagement"
}
]
}
]; //包头化工

View File

@ -122,7 +122,8 @@ import {
CQNAMenu,
ZKJCMenu,
CPGSMenu,
TJMenu
TJMenu,
BTHGMenu
} from "@/config/staticMenu";
import { COMPANY } from "@/config/config";
@ -546,6 +547,9 @@ onMounted(async () => {
if (COMPANY === "tj") {
menuList.value = TJMenu;
}
if (COMPANY === "bthg") {
menuList.value = BTHGMenu;
}
console.log("配置菜单", menuList.value);
console.log("当前跳转的路由", router.currentRoute.value);
// await getAllModelMenu();