添加合肥起程项目
This commit is contained in:
parent
caacd541cf
commit
3fe788fd08
@ -13,9 +13,9 @@ NODE_ENV = 'development'
|
||||
# 沈阳合盈线上
|
||||
# VITE_API_URL = "http://101.43.164.214:45022"
|
||||
# 演示平台
|
||||
VITE_API_URL = 'http://jxj.zhgdyun.com:9809'
|
||||
# VITE_API_URL = 'http://jxj.zhgdyun.com:9809'
|
||||
# 百色七参数线上地址
|
||||
# VITE_API_URL = 'http://101.43.164.214:11111'
|
||||
VITE_API_URL = 'http://101.43.164.214:11111'
|
||||
|
||||
# 上传
|
||||
VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url='
|
||||
|
||||
@ -12,10 +12,10 @@ NODE_ENV = "production"
|
||||
# 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'
|
||||
|
||||
# 七参数标准版(演示平台)
|
||||
VITE_API_URL = 'http://jxj.zhgdyun.com:9809'
|
||||
# VITE_API_URL = 'http://jxj.zhgdyun.com:9809'
|
||||
# 七参数标准版(测试平台)
|
||||
# VITE_API_URL = 'http://jxj.zhgdyun.com:15551'
|
||||
|
||||
|
||||
@ -23,7 +23,8 @@ 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 = "hfqc"; //合肥启程项目
|
||||
// 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更换首页)
|
||||
|
||||
@ -433,3 +433,90 @@ export const AHSAMenu: Array<any> = [
|
||||
]
|
||||
}
|
||||
]; //安徽水安项目
|
||||
|
||||
export const HFQCMenu: Array<any> = [
|
||||
{
|
||||
moduleName: "综合管理",
|
||||
modulePath: "/projectOverview",
|
||||
// menuList: [
|
||||
// {
|
||||
// menuName: "工程概况",
|
||||
// companyPath: "/projectOverview"
|
||||
// },
|
||||
// {
|
||||
// menuName: "智慧党建",
|
||||
// companyPath: "/smartPartyBuilding"
|
||||
// }
|
||||
// ]
|
||||
},
|
||||
{
|
||||
moduleName: "准入管理",
|
||||
modulePath: "/laborManagement",
|
||||
menuList: [
|
||||
{
|
||||
menuName: "劳务实名制",
|
||||
companyPath: "/laborManagement"
|
||||
},
|
||||
{
|
||||
menuName: "车辆出入管理",
|
||||
companyPath: "/vehicleManagement"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
moduleName: "反违章纠察",
|
||||
modulePath: "/videoManagement",
|
||||
menuList: [
|
||||
{
|
||||
menuName: "视频管理",
|
||||
companyPath: "/videoManagement"
|
||||
},
|
||||
{
|
||||
menuName: "AI智能预警",
|
||||
companyPath: "/aIEarlyWarning"
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
moduleName: "智能安全帽",
|
||||
modulePath: "/smartSafeHat",
|
||||
// menuList: [
|
||||
// {
|
||||
// menuName: "",
|
||||
// companyPath: "/smartSafeHat"
|
||||
// },
|
||||
// ]
|
||||
},
|
||||
{
|
||||
moduleName: "安全风险警示",
|
||||
modulePath: "/distributionMonitoring",
|
||||
menuList: [
|
||||
{
|
||||
menuName: "配电箱监测",
|
||||
companyPath: "/distributionMonitoring"
|
||||
},
|
||||
{
|
||||
menuName: "外墙脚手架监测",
|
||||
companyPath: "/wallScaffold"
|
||||
},
|
||||
{
|
||||
menuName: "临边防护报警",
|
||||
companyPath: "/edgeProtection2"
|
||||
},
|
||||
{
|
||||
menuName: "智能烟感监测",
|
||||
companyPath: "/qualityManagement"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
moduleName: "高支模监测预警",
|
||||
modulePath: "/highFormwork",
|
||||
// menuList: [
|
||||
// {
|
||||
// menuName: "",
|
||||
// companyPath: "/highFormwork"
|
||||
// },
|
||||
// ]
|
||||
}
|
||||
]; //合肥启程项目
|
||||
@ -119,6 +119,16 @@ export const staticRouter: RouteRecordRaw[] = [
|
||||
name: "临边防护",
|
||||
component: () => import("@/views/sevenLargeScreen/safetyManagement/edgeProtection/index.vue")
|
||||
},
|
||||
{
|
||||
path: "/wallScaffold",
|
||||
name: "外墙脚手架监测",
|
||||
component: () => import("@/views/sevenLargeScreen/safetyManagement/wallScaffold/wallScaffold.vue")
|
||||
},
|
||||
{
|
||||
path: "/edgeProtection2",
|
||||
name: "临边防护",
|
||||
component: () => import("@/views/sevenLargeScreen/safetyManagement/edgeProtection/index_wdzs.vue")
|
||||
},
|
||||
{
|
||||
path: "/toxicGasMonitor",
|
||||
name: "有毒气体监测",
|
||||
|
||||
@ -97,7 +97,7 @@ import ScaleBox from "vue3-scale-box";
|
||||
import { ref, reactive, onMounted, onBeforeUnmount, computed } from "vue";
|
||||
import { getTaskTimeDetail } from "@/api/modules/schedulePlan";
|
||||
import { jumpLargeUserInfoApi } from "@/api/modules/login";
|
||||
import { JSYCMenu, XJNBMenu, AHSAMenu } from "@/config/staticMenu";
|
||||
import { JSYCMenu, XJNBMenu, AHSAMenu, HFQCMenu } from "@/config/staticMenu";
|
||||
import { COMPANY } from "@/config/config";
|
||||
|
||||
import { useRouter } from "vue-router";
|
||||
@ -469,6 +469,9 @@ onMounted(async () => {
|
||||
if (COMPANY === "ahsa") {
|
||||
menuList.value = AHSAMenu;
|
||||
}
|
||||
if (COMPANY === "hfqc") {
|
||||
menuList.value = HFQCMenu;
|
||||
}
|
||||
|
||||
console.log("配置菜单", menuList.value);
|
||||
console.log("当前跳转的路由", router.currentRoute.value);
|
||||
@ -487,9 +490,12 @@ onMounted(async () => {
|
||||
getNowTime();
|
||||
document.addEventListener("click", bodyCloseMenus);
|
||||
const subMenus = document.querySelectorAll(".menStyle");
|
||||
if (subMenus.length >= 5) {
|
||||
if (subMenus.length >= 5 && COMPANY !== 'hfqc') {
|
||||
subMenus[4].style.marginLeft = "30%";
|
||||
}
|
||||
if (COMPANY === 'hfqc'){
|
||||
subMenus[3].style.marginLeft = "44%";
|
||||
}
|
||||
await getProjectInfo();
|
||||
|
||||
|
||||
|
||||
@ -16,6 +16,9 @@
|
||||
<span class="projectSmallTitle" v-if="COMPANY === 'phmw'">
|
||||
<p>鄱湖美湾医疗、医美产业集群项目</p>
|
||||
</span>
|
||||
<span class="projectSmallTitle" v-if="COMPANY === 'hfqc'">
|
||||
<p>乌丹站舍智慧工地项目</p>
|
||||
</span>
|
||||
<div class="rightIcon" @click.stop>
|
||||
<div class="time">{{ nowTime }}</div>
|
||||
<!-- <div class="Icon">
|
||||
@ -195,6 +198,82 @@ let panHuMenuList = ref([
|
||||
}
|
||||
]);
|
||||
|
||||
//乌丹站舍智慧工地项目
|
||||
let heFeiMenuList = ref([
|
||||
{
|
||||
moduleName: "综合管理",
|
||||
modulePath: "/projectOverview",
|
||||
// menuList: [
|
||||
// {
|
||||
// menuName: "工程概况",
|
||||
// companyPath: "/projectOverview"
|
||||
// },
|
||||
// {
|
||||
// menuName: "智慧党建",
|
||||
// companyPath: "/smartPartyBuilding"
|
||||
// }
|
||||
// ]
|
||||
},
|
||||
{
|
||||
moduleName: "准入管理",
|
||||
modulePath: "/laborManagement",
|
||||
menuList: [
|
||||
{
|
||||
menuName: "劳务实名制",
|
||||
companyPath: "/laborManagement"
|
||||
},
|
||||
{
|
||||
menuName: "车辆出入管理",
|
||||
companyPath: "/vehicleManagement"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
moduleName: "反违章纠察",
|
||||
modulePath: "/videoManagement",
|
||||
menuList: [
|
||||
{
|
||||
menuName: "视频管理",
|
||||
companyPath: "/videoManagement"
|
||||
},
|
||||
{
|
||||
menuName: "AI智能预警",
|
||||
companyPath: "/aIEarlyWarning"
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
moduleName: "智能安全帽",
|
||||
modulePath: "/smartSafeHat",
|
||||
},
|
||||
{
|
||||
moduleName: "安全风险警示",
|
||||
modulePath: "/distributionMonitoring",
|
||||
menuList: [
|
||||
{
|
||||
menuName: "配电箱监测",
|
||||
companyPath: "/distributionMonitoring"
|
||||
},
|
||||
{
|
||||
menuName: "外墙脚手架监测",
|
||||
companyPath: "/wallScaffold"
|
||||
},
|
||||
{
|
||||
menuName: "临边防护报警",
|
||||
companyPath: "/edgeProtection"
|
||||
},
|
||||
{
|
||||
menuName: "智能烟感监测",
|
||||
companyPath: "/qualityManagement"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
moduleName: "高支模监测预警",
|
||||
modulePath: "/highFormwork",
|
||||
}
|
||||
])
|
||||
|
||||
const itemList = ref([]);
|
||||
const activeTab = ref(0);
|
||||
const activeTab2 = ref(0);
|
||||
@ -229,6 +308,9 @@ onMounted(async () => {
|
||||
if (COMPANY === "phmw") {
|
||||
menuList.value = panHuMenuList.value;
|
||||
}
|
||||
if (COMPANY === "hfqc") {
|
||||
menuList.value = heFeiMenuList.value;
|
||||
}
|
||||
//这里是跳转过来后免登录的操作,接收token 登录 懂了
|
||||
//数据看板跳转免登录
|
||||
if (window.location.href.indexOf("token") != -1) {
|
||||
@ -265,9 +347,12 @@ onMounted(async () => {
|
||||
getNowTime();
|
||||
document.addEventListener("click", bodyCloseMenus);
|
||||
const subMenus = document.querySelectorAll(".menStyle");
|
||||
if (subMenus.length >= 5) {
|
||||
if (subMenus.length >= 5 && COMPANY !== 'hfqc') {
|
||||
subMenus[4].style.marginLeft = "30%";
|
||||
}
|
||||
if (COMPANY === 'hfqc') {
|
||||
subMenus[3].style.marginLeft = "44%";
|
||||
}
|
||||
});
|
||||
|
||||
let timer = ref(null as any);
|
||||
@ -317,6 +402,9 @@ function jumpBgd() {
|
||||
if (COMPANY === "phmw") {
|
||||
window.location.replace("http://101.43.164.214:11111/#/projectIndex"); // 鄱湖美湾医疗、医美产业集群项目
|
||||
}
|
||||
if (COMPANY === "hfqc") {
|
||||
window.location.replace("http://101.43.164.214:11111/#/projectIndex"); // 鄱湖美湾医疗、医美产业集群项目
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@ -0,0 +1,86 @@
|
||||
<template>
|
||||
<div class="distributionBox">
|
||||
123
|
||||
<!-- <div class="top">
|
||||
<div class="topLeft">
|
||||
<TopLeft></TopLeft>
|
||||
</div>
|
||||
<div class="topCenter">
|
||||
<TopCenter></TopCenter>
|
||||
</div>
|
||||
<div class="topRight">
|
||||
<TopRight></TopRight>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bottom">
|
||||
<div class="bottomLeft">
|
||||
<BottomLeft></BottomLeft>
|
||||
</div>
|
||||
<div class="bottomRight">
|
||||
<BottomRight></BottomRight>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import TopLeft from "@/views/sevenLargeScreen/safetyManagement/edgeProtection/topLeft.vue";
|
||||
import TopCenter from "@/views/sevenLargeScreen/safetyManagement/edgeProtection/topCenter.vue";
|
||||
import TopRight from "@/views/sevenLargeScreen/safetyManagement/edgeProtection/topRight.vue";
|
||||
import BottomLeft from "@/views/sevenLargeScreen/safetyManagement/edgeProtection/bottomLeft.vue";
|
||||
import BottomRight from "@/views/sevenLargeScreen/safetyManagement/edgeProtection/bottomRight.vue";
|
||||
export default {
|
||||
components: { TopLeft, TopCenter, TopRight, BottomLeft, BottomRight }
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.distributionBox {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
.top {
|
||||
width: 100%;
|
||||
height: 49%;
|
||||
display: flex;
|
||||
margin-bottom: 1%;
|
||||
.topLeft {
|
||||
width: 33%;
|
||||
// background-color: orchid;
|
||||
}
|
||||
.topCenter {
|
||||
margin: 0% 1%;
|
||||
width: 33%;
|
||||
:deep(.h-card) {
|
||||
// .content {
|
||||
// margin-top: 1.5% !important;
|
||||
// }
|
||||
}
|
||||
}
|
||||
.topRight {
|
||||
width: 33%;
|
||||
}
|
||||
}
|
||||
.bottom {
|
||||
width: 100%;
|
||||
height: 48%;
|
||||
display: flex;
|
||||
.bottomLeft {
|
||||
width: 33%;
|
||||
margin-right: 1%;
|
||||
:deep(.h-card) {
|
||||
.content {
|
||||
margin-top: 2% !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
.bottomRight {
|
||||
width: 66%;
|
||||
:deep(.h-card) {
|
||||
.content {
|
||||
margin-top: 1% !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@ -0,0 +1,79 @@
|
||||
<template>
|
||||
<div class="distributionBox">
|
||||
123123
|
||||
<!-- <div class="top">
|
||||
<div class="topLeft">
|
||||
<TopLeft></TopLeft>
|
||||
</div>
|
||||
<div class="topCenter">
|
||||
<TopCenter></TopCenter>
|
||||
</div>
|
||||
<div class="topRight">
|
||||
<TopRight></TopRight>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bottom">
|
||||
<div class="bottomLeft">
|
||||
<BottomLeft></BottomLeft>
|
||||
</div>
|
||||
<div class="bottomRight">
|
||||
<BottomRight></BottomRight>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.distributionBox {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
.top {
|
||||
width: 100%;
|
||||
height: 49%;
|
||||
display: flex;
|
||||
margin-bottom: 1%;
|
||||
.topLeft {
|
||||
width: 33%;
|
||||
// background-color: orchid;
|
||||
}
|
||||
.topCenter {
|
||||
margin: 0% 1%;
|
||||
width: 33%;
|
||||
:deep(.h-card) {
|
||||
// .content {
|
||||
// margin-top: 1.5% !important;
|
||||
// }
|
||||
}
|
||||
}
|
||||
.topRight {
|
||||
width: 33%;
|
||||
}
|
||||
}
|
||||
.bottom {
|
||||
width: 100%;
|
||||
height: 48%;
|
||||
display: flex;
|
||||
.bottomLeft {
|
||||
width: 33%;
|
||||
margin-right: 1%;
|
||||
:deep(.h-card) {
|
||||
.content {
|
||||
margin-top: 2% !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
.bottomRight {
|
||||
width: 66%;
|
||||
:deep(.h-card) {
|
||||
.content {
|
||||
margin-top: 1% !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Loading…
x
Reference in New Issue
Block a user