diff --git a/.env.production b/.env.production index b7f5386e..539a2731 100644 --- a/.env.production +++ b/.env.production @@ -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=' diff --git a/src/config/config.ts b/src/config/config.ts index 563497a8..3c8a15ee 100644 --- a/src/config/config.ts +++ b/src/config/config.ts @@ -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"; // 新能源智慧基建管理平台 + + diff --git a/src/config/staticMenu.ts b/src/config/staticMenu.ts index 5b112d0a..86a1c508 100644 --- a/src/config/staticMenu.ts +++ b/src/config/staticMenu.ts @@ -1928,4 +1928,50 @@ export const ZTSYJMenu: Array = [ modulePath: "/vehicleManagspeed" }, -] // 中铁十一局 \ No newline at end of file +] // 中铁十一局 +export const XNYZHJJMenu: Array = [ + { + 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" + }, +] // 新能源智慧基建管理平台 diff --git a/src/views/sevenLargeScreen/indexL.vue b/src/views/sevenLargeScreen/indexL.vue index d1876864..d3bc3d27 100644 --- a/src/views/sevenLargeScreen/indexL.vue +++ b/src/views/sevenLargeScreen/indexL.vue @@ -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 {