feat: 中科佳成项目环境添加
This commit is contained in:
parent
138fd5d63a
commit
86020fcf89
@ -27,9 +27,11 @@ NODE_ENV = 'development'
|
|||||||
# VITE_API_URL = 'http://42.180.188.17:11211' #测试环境
|
# VITE_API_URL = 'http://42.180.188.17:11211' #测试环境
|
||||||
# VITE_API_URL = 'http://jxj.zhgdyun.com:19812'
|
# VITE_API_URL = 'http://jxj.zhgdyun.com:19812'
|
||||||
# 苏立信/重庆市南岸区
|
# 苏立信/重庆市南岸区
|
||||||
VITE_API_URL = 'http://101.43.164.214:11111'
|
# VITE_API_URL = 'http://101.43.164.214:11111'
|
||||||
# 中科安信
|
# 中科安信
|
||||||
# VITE_API_URL = 'http://8.136.222.164:8808'
|
# VITE_API_URL = 'http://8.136.222.164:8808'
|
||||||
|
# 中科佳成
|
||||||
|
VITE_API_URL = 'http://1.13.185.209:8089'
|
||||||
# 上传
|
# 上传
|
||||||
VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url='
|
VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url='
|
||||||
|
|
||||||
|
|||||||
@ -24,10 +24,11 @@ NODE_ENV = "production"
|
|||||||
# VITE_API_URL = 'http://42.180.188.17:9809' #生产环境
|
# VITE_API_URL = 'http://42.180.188.17:9809' #生产环境
|
||||||
# VITE_API_URL = 'http://42.180.188.17:11211' #测试环境
|
# VITE_API_URL = 'http://42.180.188.17:11211' #测试环境
|
||||||
# 苏立信/重庆市南岸区
|
# 苏立信/重庆市南岸区
|
||||||
# VITE_API_URL = 'http://101.43.164.214:11111'
|
VITE_API_URL = 'http://101.43.164.214:11111'
|
||||||
# 中科安信
|
# 中科安信
|
||||||
VITE_API_URL = 'http://8.136.222.164:8808'
|
# VITE_API_URL = 'http://8.136.222.164:8808'
|
||||||
|
# 中科佳成
|
||||||
|
# VITE_API_URL = 'http://1.13.185.209:8089'
|
||||||
# 打包
|
# 打包
|
||||||
VITE_ULD_API_URL = 'http://jxj.zhgdyun.com:8012/onlinePreview?url='
|
VITE_ULD_API_URL = 'http://jxj.zhgdyun.com:8012/onlinePreview?url='
|
||||||
|
|
||||||
|
|||||||
@ -32,7 +32,8 @@ export const BASE_IMAGE_URL = import.meta.env.VITE_BASE_IMAGE_URL;
|
|||||||
// export const COMPANY: string = "agjtCommand"; //鞍钢集团指挥部大屏
|
// export const COMPANY: string = "agjtCommand"; //鞍钢集团指挥部大屏
|
||||||
// export const COMPANY: string = "agjtProjectKanban"; //鞍钢集团项目看板大屏
|
// export const COMPANY: string = "agjtProjectKanban"; //鞍钢集团项目看板大屏
|
||||||
// export const COMPANY: string = "agjtOverviewScreen"; //鞍钢集团项目总览
|
// export const COMPANY: string = "agjtOverviewScreen"; //鞍钢集团项目总览
|
||||||
export const COMPANY: string = "cqna"; //重庆市南岸区
|
export const COMPANY: string = "zkjc"; //中科佳成项目
|
||||||
|
// export const COMPANY: string = "cqna"; //重庆南岸项目
|
||||||
// export const COMPANY: string = "slx"; //苏立信项目
|
// export const COMPANY: string = "slx"; //苏立信项目
|
||||||
// export const COMPANY: string = "hfqc"; //合肥启程项目
|
// export const COMPANY: string = "hfqc"; //合肥启程项目
|
||||||
// export const COMPANY: string = "jsyc"; // 江苏盐城项目
|
// export const COMPANY: string = "jsyc"; // 江苏盐城项目
|
||||||
|
|||||||
@ -1371,3 +1371,66 @@ export const CQNAMenu: Array<any> = [
|
|||||||
modulePath: "/schedulePlan"
|
modulePath: "/schedulePlan"
|
||||||
}
|
}
|
||||||
]; //重庆南岸大屏
|
]; //重庆南岸大屏
|
||||||
|
|
||||||
|
export const ZKJCMenu: Array<any> = [
|
||||||
|
{
|
||||||
|
moduleName: "综合管理",
|
||||||
|
modulePath: "/projectOverview",
|
||||||
|
menuList: [
|
||||||
|
{
|
||||||
|
menuName: "工程概况",
|
||||||
|
companyPath: "/projectOverview"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
moduleName: "数字工地",
|
||||||
|
modulePath: "/videoManagement",
|
||||||
|
menuList: [
|
||||||
|
{
|
||||||
|
menuName: "视频管理",
|
||||||
|
companyPath: "/videoManagement"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
menuName: "AI预警",
|
||||||
|
companyPath: "/aIEarlyWarning"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
menuName: "车辆管理",
|
||||||
|
companyPath: "/vehicleManagement"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
menuName: "智能安全帽",
|
||||||
|
companyPath: "/smartSafeHat"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
moduleName: "劳务管理",
|
||||||
|
modulePath: "/laborManagement",
|
||||||
|
menuList: [
|
||||||
|
{
|
||||||
|
menuName: "劳务管理",
|
||||||
|
companyPath: "/laborManagement"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
moduleName: "绿色施工",
|
||||||
|
modulePath: "/headNoise",
|
||||||
|
menuList: [
|
||||||
|
{
|
||||||
|
menuName: "扬尘噪声",
|
||||||
|
companyPath: "/headNoise"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
companyPath: "/electricityMonitor",
|
||||||
|
menuName: "用电监测"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
companyPath: "/waterMonitor",
|
||||||
|
menuName: "用水监测"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]; //中科佳成大屏
|
||||||
@ -97,7 +97,7 @@ import ScaleBox from "vue3-scale-box";
|
|||||||
import { ref, reactive, onMounted, onBeforeUnmount, computed } from "vue";
|
import { ref, reactive, onMounted, onBeforeUnmount, computed } from "vue";
|
||||||
import { getTaskTimeDetail } from "@/api/modules/schedulePlan";
|
import { getTaskTimeDetail } from "@/api/modules/schedulePlan";
|
||||||
import { jumpLargeUserInfoApi } from "@/api/modules/login";
|
import { jumpLargeUserInfoApi } from "@/api/modules/login";
|
||||||
import { JSYCMenu, XJNBMenu, AHSAMenu, HFQCMenu,ASMenu,AGJTMenu,SLXMenu,ZSBFMenu,ZHZRFMenu, ZKAXMenu, CQNAMenu } from "@/config/staticMenu";
|
import { JSYCMenu, XJNBMenu, AHSAMenu, HFQCMenu,ASMenu,AGJTMenu,SLXMenu,ZSBFMenu,ZHZRFMenu, ZKAXMenu, CQNAMenu, ZKJCMenu } from "@/config/staticMenu";
|
||||||
import { COMPANY } from "@/config/config";
|
import { COMPANY } from "@/config/config";
|
||||||
|
|
||||||
import { useRouter } from "vue-router";
|
import { useRouter } from "vue-router";
|
||||||
@ -498,6 +498,9 @@ onMounted(async () => {
|
|||||||
if (COMPANY === "cqna") {
|
if (COMPANY === "cqna") {
|
||||||
menuList.value = CQNAMenu;
|
menuList.value = CQNAMenu;
|
||||||
}
|
}
|
||||||
|
if (COMPANY === "zkjc") {
|
||||||
|
menuList.value = ZKJCMenu;
|
||||||
|
}
|
||||||
console.log("配置菜单", menuList.value);
|
console.log("配置菜单", menuList.value);
|
||||||
console.log("当前跳转的路由", router.currentRoute.value);
|
console.log("当前跳转的路由", router.currentRoute.value);
|
||||||
// await getAllModelMenu();
|
// await getAllModelMenu();
|
||||||
@ -529,6 +532,12 @@ onMounted(async () => {
|
|||||||
dataBoardContent.style.height = '85%'
|
dataBoardContent.style.height = '85%'
|
||||||
dataBoardContent.style.margin = '30px auto 16px auto'
|
dataBoardContent.style.margin = '30px auto 16px auto'
|
||||||
}
|
}
|
||||||
|
if (COMPANY === 'zkjc'){
|
||||||
|
subMenus[1].style.marginLeft = "5%";
|
||||||
|
subMenus[1].style.marginRight = "auto";
|
||||||
|
subMenus[2].style.marginRight = "5%";
|
||||||
|
subMenus[3].style.marginRight = "5%";
|
||||||
|
}
|
||||||
await getProjectInfo();
|
await getProjectInfo();
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user