flx:提交武汉中铁配置

This commit is contained in:
X_Rian 2024-09-23 15:15:35 +08:00
parent 379e9a7634
commit ef050b8a9f
4 changed files with 35 additions and 4 deletions

View File

@ -6,14 +6,14 @@ NODE_ENV = "production"
# VITE_API_URL = "http://139.9.66.234:6688" # VITE_API_URL = "http://139.9.66.234:6688"
# VITE_API_URL = "http://jxj.zhgdyun.com:6688" # VITE_API_URL = "http://jxj.zhgdyun.com:6688"
# VITE_API_URL = 'http://jxj.zhgdyun.com:100' # VITE_API_URL = 'http://jxj.zhgdyun.com:100'
VITE_API_URL = 'http://jxj.zhgdyun.com:33981' # VITE_API_URL = 'http://jxj.zhgdyun.com:33981'
# 沈阳合盈线上 # 沈阳合盈线上
# VITE_API_URL = "http://101.43.164.214:45022" # VITE_API_URL = "http://101.43.164.214:45022"
# 嘉兴王江泾公用码头 # 嘉兴王江泾公用码头
# VITE_API_URL = "http://183.249.224.118:9003" # VITE_API_URL = "http://183.249.224.118:9003"
# 百色 新项目通用地址 # 百色 新项目通用地址
# VITE_API_URL = 'http://101.43.164.214:11111' VITE_API_URL = 'http://101.43.164.214:11111'
# 七参数标准版(演示平台) # 七参数标准版(演示平台)
# VITE_API_URL = 'http://jxj.zhgdyun.com:9809' # VITE_API_URL = 'http://jxj.zhgdyun.com:9809'

View File

@ -23,7 +23,7 @@ export const BAIDU_MAP_KEY: string = "";
export const BASE_IMAGE_URL = import.meta.env.VITE_BASE_IMAGE_URL; export const BASE_IMAGE_URL = import.meta.env.VITE_BASE_IMAGE_URL;
// 项目环境标识配置 部署时需更改对应的项目 // 项目环境标识配置 部署时需更改对应的项目
export const COMPANY: string = ""; //标准版 // export const COMPANY: string = ""; //标准版
// export const COMPANY: string = "zhzrf"; //中海·臻如府 // export const COMPANY: string = "zhzrf"; //中海·臻如府
// export const COMPANY: string = "zsbf"; //中水北方 // export const COMPANY: string = "zsbf"; //中水北方
// export const COMPANY: string = "as"; //鞍山项目 // export const COMPANY: string = "as"; //鞍山项目
@ -50,3 +50,4 @@ export const COMPANY: string = ""; //标准版
// export const COMPANY: string = "ahsa"; // 安徽水安项目 // export const COMPANY: string = "ahsa"; // 安徽水安项目
// export const COMPANY: string = "zkax"; // 中科安信项目 // export const COMPANY: string = "zkax"; // 中科安信项目
// export const COMPANY: string = "jzjt"; //九柱集团 // export const COMPANY: string = "jzjt"; //九柱集团
export const COMPANY: string = "whzt"; //武汉中铁

View File

@ -1865,3 +1865,29 @@ export const DLJBMenu: Array<any> = [
modulePath: "/towerCraneMonitoring" modulePath: "/towerCraneMonitoring"
} }
]; //大连金笔 ]; //大连金笔
// 新项目对应菜单配置
export const WHZTMenu: Array<any> = [
{
moduleName: "工程概况",
modulePath: "/projectOverview"
},
{
moduleName: "视频管理",
modulePath: "/videoManagement"
},
{
moduleName: "绿色施工",
modulePath: "/headNoise",
menuList: [
{
menuName: "扬尘噪声",
companyPath: "/headNoise"
},
{
companyPath: "/sewageMonitor",
menuName: "污水监测"
}
]
}
]; //武汉中铁

View File

@ -126,7 +126,8 @@ import {
SCWCMenu, SCWCMenu,
JZJTMenu, JZJTMenu,
BTHGMenu, BTHGMenu,
DLJBMenu DLJBMenu,
WHZTMenu
} from "@/config/staticMenu"; } from "@/config/staticMenu";
import { COMPANY } from "@/config/config"; import { COMPANY } from "@/config/config";
@ -588,6 +589,9 @@ onMounted(async () => {
if (COMPANY === "dljb") { if (COMPANY === "dljb") {
menuList.value = DLJBMenu; menuList.value = DLJBMenu;
} }
if (COMPANY === "whzt") {
menuList.value = WHZTMenu;
}
console.log("配置菜单", menuList.value); console.log("配置菜单", menuList.value);
console.log("当前跳转的路由", router.currentRoute.value); console.log("当前跳转的路由", router.currentRoute.value);
// await getAllModelMenu(); // await getAllModelMenu();