flx:提交新能源智慧基建管理平台配置

This commit is contained in:
X_Rian 2024-10-26 10:44:43 +08:00
parent f20414829f
commit a94e8b526c
4 changed files with 61 additions and 4 deletions

View File

@ -8,7 +8,7 @@ NODE_ENV = "production"
# VITE_API_URL = 'http://jxj.zhgdyun.com:100'
# 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"
@ -44,6 +44,8 @@ VITE_API_URL = "http://101.43.164.214:45022"
# VITE_API_URL = 'http://jxj.zhgdyun.com:18000'
# 大连金笔
# VITE_API_URL = 'http://101.43.164.214:11126'
# 新能源智慧基建管理平台
VITE_API_URL = 'http://121.37.106.37:9820'
# 打包
VITE_ULD_API_URL = 'http://jxj.zhgdyun.com:8012/onlinePreview?url='

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 COMPANY: string = ""; //标准版
// export const COMPANY: string = ""; //标准版
// export const COMPANY: string = "zhzrf"; //中海·臻如府
// export const COMPANY: string = "zsbf"; //中水北方
// export const COMPANY: string = "as"; //鞍山项目
@ -53,3 +53,6 @@ export const COMPANY: string = ""; //标准版
// export const COMPANY: string = "jzjt"; //九柱集团
// export const COMPANY: string = "whzt"; //武汉中铁
// export const COMPANY: string = "ztsyj"; // 中铁十一局
export const COMPANY: string = "xnyzhjj"; // 新能源智慧基建管理平台

View File

@ -1928,4 +1928,50 @@ export const ZTSYJMenu: Array<any> = [
modulePath: "/vehicleManagspeed"
},
] // 中铁十一局
] // 中铁十一局
export const XNYZHJJMenu: Array<any> = [
{
moduleName: "项目信息管理",
modulePath: "/projectOverview",
},
{
moduleName: "人员管理",
modulePath: "/laborManagement",
menuList: [
{
menuName: "人员管理",
companyPath: "/laborManagement"
}
]
},
{
moduleName: "进度管理",
modulePath: "/schedulePlan",
menuList: [
{
menuName: "进度管理",
companyPath: "/schedulePlan"
}
]
},
{
moduleName: "安全管理",
modulePath: "/securityManagement"
},
{
moduleName: "质量管理",
modulePath: "/qualityManagement"
},
{
moduleName: "车辆管理",
modulePath: "/vehicleManagement"
},
{
moduleName: "环境监测",
modulePath: "/headNoise"
},
{
moduleName: "视频管理",
modulePath: "/videoManagement"
},
] // 新能源智慧基建管理平台

View File

@ -165,7 +165,8 @@ import {
BTHGMenu,
DLJBMenu,
WHZTMenu,
ZTSYJMenu
ZTSYJMenu,
XNYZHJJMenu
} from "@/config/staticMenu";
import { COMPANY } from "@/config/config";
@ -648,6 +649,9 @@ onMounted(async () => {
if (COMPANY === "ztsyj") {
menuList.value = ZTSYJMenu;
}
if(COMPANY === "xnyzhjj") {
menuList.value = XNYZHJJMenu;
}
console.log("配置菜单", menuList.value);
console.log("当前跳转的路由", router.currentRoute.value);
// await getAllModelMenu();
@ -739,6 +743,8 @@ 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") {
window.location.replace("http://121.37.106.37:9809/#/login?token=" + store.token);
} else if (envList.includes(COMPANY)) {
window.location.replace(BASEURL + "/#/login?token=" + store.token);
} else {