flx:提交嘉兴王江泾公用码头

This commit is contained in:
X_Rian 2024-12-06 09:12:47 +08:00
parent c7eefe2ac3
commit db3df202db
4 changed files with 67 additions and 9 deletions

View File

@ -10,7 +10,7 @@ NODE_ENV = "production"
# 沈阳合盈线上 # 沈阳合盈线上
# 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'
@ -44,10 +44,12 @@ NODE_ENV = "production"
# VITE_API_URL = 'http://jxj.zhgdyun.com:18000' # VITE_API_URL = 'http://jxj.zhgdyun.com:18000'
# 大连金笔 # 大连金笔
# VITE_API_URL = 'http://101.43.164.214:11126' # VITE_API_URL = 'http://101.43.164.214:11126'
# 新能源智慧基建管理平台|中新建电力集团 # 新能源智慧基建管理平台|中新建电力集团(内网)
# VITE_API_URL = 'http://10.30.102.4:9820' # 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=' VITE_ULD_API_URL = 'http://jxj.zhgdyun.com:8012/onlinePreview?url='

View File

@ -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 = "cpgs"; //成平高速项目
// export const COMPANY: string = "jsyc"; // 江苏盐城项目 // export const COMPANY: string = "jsyc"; // 江苏盐城项目
// export const COMPANY: string = "syhy"; //沈阳合盈盘锦项目 (需要去src\routers\modules\staticRouter.ts更换首页) // 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 = "phmw"; //鄱湖美湾医疗、医美产业集群项目 (需要去src\routers\modules\staticRouter.ts更换首页)
// export const COMPANY: string = "xjnb"; // 新建宁波项目 // export const COMPANY: string = "xjnb"; // 新建宁波项目
// export const COMPANY: string = "ahsa"; // 安徽水安项目 // 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 = "jzjt"; //九柱集团
// export const COMPANY: string = "whzt"; //武汉中铁 // export const COMPANY: string = "whzt"; //武汉中铁
// export const COMPANY: string = "ztsyj"; // 中铁十一局 // export const COMPANY: string = "ztsyj"; // 中铁十一局
// export const COMPANY: string = "xnyzhjj"; // 新能源智慧基建管理平台 // export const COMPANY: string = "xnyzhjj"; // 新能源智慧基建管理平台|中新建
export const COMPANY: string = "gwkj"; // 国维科技 // export const COMPANY: string = "gwkj"; // 国维科技

View File

@ -2380,3 +2380,50 @@ export const GWKJMenu: Array<any> = [
}, },
{ moduleName: "BIM模型", modulePath: "/bImModel" } { moduleName: "BIM模型", modulePath: "/bImModel" }
]; //国维科技 ]; //国维科技
// 新项目对应菜单配置
export const JXWJJMenu: Array<any> = [
{
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"
},
]
},
]; //嘉兴王江泾公用码头项目

View File

@ -153,7 +153,8 @@ import {
WHZTMenu, WHZTMenu,
ZTSYJMenu, ZTSYJMenu,
XNYZHJJMenu, XNYZHJJMenu,
GWKJMenu GWKJMenu,
JXWJJMenu
} from "@/config/staticMenu"; } from "@/config/staticMenu";
import { COMPANY } from "@/config/config"; import { COMPANY } from "@/config/config";
@ -642,6 +643,9 @@ onMounted(async () => {
if (COMPANY === "gwkj") { if (COMPANY === "gwkj") {
menuList.value = GWKJMenu; menuList.value = GWKJMenu;
} }
if(COMPANY === "jxwjj") {
menuList.value = JXWJJMenu;
}
console.log("配置菜单", menuList.value); console.log("配置菜单", menuList.value);
console.log("当前跳转的路由", router.currentRoute.value); console.log("当前跳转的路由", router.currentRoute.value);
// await getAllModelMenu(); // await getAllModelMenu();
@ -733,8 +737,13 @@ function jumpBgd() {
window.location.replace("http://182.90.224.237:15551/#/login?token=" + store.token); window.location.replace("http://182.90.224.237:15551/#/login?token=" + store.token);
} else if (COMPANY === "scwc") { } else if (COMPANY === "scwc") {
window.location.replace("http://192.168.9.249:9809/#/login?token=" + store.token); 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") { } 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") { } else if (COMPANY === "gwkj") {
window.location.replace("http://10.216.103.99:9809/#/login?token=" + store.token); window.location.replace("http://10.216.103.99:9809/#/login?token=" + store.token);
} else if (envList.includes(COMPANY)) { } else if (envList.includes(COMPANY)) {