diff --git a/.env.production b/.env.production index 943a0f2..e9b92c9 100644 --- a/.env.production +++ b/.env.production @@ -10,7 +10,7 @@ NODE_ENV = "production" # 沈阳合盈线上 # 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' @@ -44,10 +44,12 @@ NODE_ENV = "production" # VITE_API_URL = 'http://jxj.zhgdyun.com:18000' # 大连金笔 # VITE_API_URL = 'http://101.43.164.214:11126' -# 新能源智慧基建管理平台|中新建电力集团 +# 新能源智慧基建管理平台|中新建电力集团(内网) # VITE_API_URL = 'http://10.30.102.4:9820' +# 新能源智慧基建管理平台|中新建电力集团(外网) +# VITE_API_URL = 'http://117.146.73.156:9820' # 国维科技 -VITE_API_URL = 'http://10.216.103.99:9820' +# VITE_API_URL = 'http://10.216.103.99: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 e4e0ea9..41e2306 100644 --- a/src/config/config.ts +++ b/src/config/config.ts @@ -45,7 +45,7 @@ export const BASE_IMAGE_URL = import.meta.env.VITE_BASE_IMAGE_URL; // export const COMPANY: string = "cpgs"; //成平高速项目 // export const COMPANY: string = "jsyc"; // 江苏盐城项目 // export const COMPANY: string = "syhy"; //沈阳合盈盘锦项目 (需要去src\routers\modules\staticRouter.ts更换首页) -// export const COMPANY: string = "jxwjj"; //嘉兴王江泾公用码头项目 (需要去src\routers\modules\staticRouter.ts更换首页) +export const COMPANY: string = "jxwjj"; //嘉兴王江泾公用码头项目 (需要去src\routers\modules\staticRouter.ts更换首页) // export const COMPANY: string = "phmw"; //鄱湖美湾医疗、医美产业集群项目 (需要去src\routers\modules\staticRouter.ts更换首页) // export const COMPANY: string = "xjnb"; // 新建宁波项目 // export const COMPANY: string = "ahsa"; // 安徽水安项目 @@ -53,7 +53,7 @@ export const BASE_IMAGE_URL = import.meta.env.VITE_BASE_IMAGE_URL; // export const COMPANY: string = "jzjt"; //九柱集团 // export const COMPANY: string = "whzt"; //武汉中铁 // export const COMPANY: string = "ztsyj"; // 中铁十一局 -// export const COMPANY: string = "xnyzhjj"; // 新能源智慧基建管理平台 -export const COMPANY: string = "gwkj"; // 国维科技 +// export const COMPANY: string = "xnyzhjj"; // 新能源智慧基建管理平台|中新建 +// export const COMPANY: string = "gwkj"; // 国维科技 diff --git a/src/config/staticMenu.ts b/src/config/staticMenu.ts index 4db4d6e..1e4d0f5 100644 --- a/src/config/staticMenu.ts +++ b/src/config/staticMenu.ts @@ -2379,4 +2379,51 @@ export const GWKJMenu: Array = [ ] }, { moduleName: "BIM模型", modulePath: "/bImModel" } -]; //国维科技 \ No newline at end of file +]; //国维科技 +// 新项目对应菜单配置 +export const JXWJJMenu: Array = [ + { + moduleName: "综合管理", + modulePath: "/projectOverview", + menuList: [ + { + menuName: "工程概况", + companyPath: "/projectOverview" + }, + ] + }, + { + moduleName: "绿色施工", + modulePath: "/headNoise", + menuList: [ + { + menuName: "扬尘噪声", + companyPath: "/headNoise" + }, + ] + }, + { + moduleName: "劳务管理", + modulePath: "/laborManagement" + }, + { + moduleName: "安全管理", + modulePath: "/securityManagement", + menuList: [ + { + menuName: "安全管理", + companyPath: "/securityManagement" + }, + ] + }, + { + moduleName: "数字工地", + modulePath: "/aIEarlyWarning", + menuList: [ + { + menuName: "AI预警", + companyPath: "/aIEarlyWarning" + }, + ] + }, +]; //嘉兴王江泾公用码头项目 diff --git a/src/views/sevenLargeScreen/indexL.vue b/src/views/sevenLargeScreen/indexL.vue index 7365b82..4584e48 100644 --- a/src/views/sevenLargeScreen/indexL.vue +++ b/src/views/sevenLargeScreen/indexL.vue @@ -153,7 +153,8 @@ import { WHZTMenu, ZTSYJMenu, XNYZHJJMenu, - GWKJMenu + GWKJMenu, + JXWJJMenu } from "@/config/staticMenu"; import { COMPANY } from "@/config/config"; @@ -642,6 +643,9 @@ onMounted(async () => { if (COMPANY === "gwkj") { menuList.value = GWKJMenu; } + if(COMPANY === "jxwjj") { + menuList.value = JXWJJMenu; + } console.log("配置菜单", menuList.value); console.log("当前跳转的路由", router.currentRoute.value); // await getAllModelMenu(); @@ -733,8 +737,13 @@ 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 === "jxwjj") { + window.location.replace("http://183.249.224.118:9000/#/login?token=" + store.token); //嘉兴王江泾公用码头 } else if (COMPANY === "xnyzhjj") { - window.location.replace("http://10.30.102.4:9809/#/login?token=" + store.token); + // 内网 + // window.location.replace("http://10.30.102.4:9809/#/login?token=" + store.token); + // 外网 + window.location.replace("http://117.146.73.156:9809/#/login?token=" + store.token); } else if (COMPANY === "gwkj") { window.location.replace("http://10.216.103.99:9809/#/login?token=" + store.token); } else if (envList.includes(COMPANY)) {