diff --git a/.env.development b/.env.development index 1cb52ab..7f01c59 100644 --- a/.env.development +++ b/.env.development @@ -15,8 +15,11 @@ NODE_ENV = 'development' # 演示平台 # 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_API_URL = 'http://jxj.zhgdyun.com:15551' +# 七参数标准版(测试平台) +VITE_API_URL = 'http://182.90.224.237:15551' # 上传 VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url=' diff --git a/.env.production b/.env.production index 09f702d..bb7af38 100644 --- a/.env.production +++ b/.env.production @@ -12,12 +12,14 @@ 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:15551' +# 七参数标准版(测试平台) +VITE_API_URL = 'http://182.90.224.237:15551' # 打包 VITE_ULD_API_URL = 'http://jxj.zhgdyun.com:8012/onlinePreview?url=' diff --git a/src/config/config.ts b/src/config/config.ts index c559cb0..dc583bb 100644 --- a/src/config/config.ts +++ b/src/config/config.ts @@ -24,7 +24,8 @@ export const BASE_IMAGE_URL = import.meta.env.VITE_BASE_IMAGE_URL; // 项目环境标识配置 部署时需更改对应的项目 // export const COMPANY: string = ""; //标准版 -export const COMPANY: string = "hfqc"; //合肥启程项目 +export const COMPANY: string = "as"; //鞍山项目 +// 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更换首页) diff --git a/src/config/staticMenu.ts b/src/config/staticMenu.ts index 441a316..e2358c2 100644 --- a/src/config/staticMenu.ts +++ b/src/config/staticMenu.ts @@ -515,4 +515,204 @@ export const HFQCMenu: Array = [ }, ] } -]; //合肥启程项目 \ No newline at end of file +]; //合肥启程项目 + +export const ASMenu: Array = [ + { + moduleName: "综合管理", + modulePath: "/projectOverview", + menuList: [ + { + menuName: "工程概况", + companyPath: "/projectOverview" + }, + { + menuName: "智慧党建", + companyPath: "/smartPartyBuilding" + } + ] + }, + { + moduleName: "数字工地", + modulePath: "/videoManagement", + menuList: [ + { + menuName: "视频管理", + companyPath: "/videoManagement" + }, + { + menuName: "AI预警", + companyPath: "/aIEarlyWarning" + }, + { + menuName: "地磅管理", + companyPath: "/loadometerManage" + }, + { + menuName: "车辆管理", + companyPath: "/vehicleManagement" + }, + { + menuName: "配电箱监测", + companyPath: "/distributionMonitoring" + }, + { + menuName: "标养室监测", + companyPath: "/standardCureRoom" + }, + { + menuName: "车辆定位", + companyPath: "/carPosition" + }, + { + menuName: "机械设备定位", + companyPath: "/equipmentPosition" + }, + { + menuName: "智能安全帽", + companyPath: "/smartSafeHat" + } + ] + }, + { + moduleName: "劳务管理", + modulePath: "/laborManagement" + }, + { + moduleName: "安全管理", + modulePath: "/securityManagement", + menuList: [ + { + menuName: "安全管理", + companyPath: "/securityManagement" + }, + { + companyPath: "/foundationPitMonitor", + menuName: "基坑监测" + }, + { + menuName: "隧道定位监测", + companyPath: "/tunnelPosition" + }, + { + menuName: "临边防护", + companyPath: "/edgeProtection" + }, + { + menuName: "有毒气体监测", + companyPath: "/toxicGasMonitor" + }, + { + menuName: "高支模监测", + companyPath: "/highFormwork" + }, + { + menuName: "高边坡监测", + companyPath: "/highSlope" + }, + { + menuName: "烟感监测", + companyPath: "/smokeSensor" + }, + { + menuName: "安全教育", + companyPath: "/safeEducation" + } + ] + }, + { + moduleName: "质量管理", + modulePath: "/qualityManagement", + menuList: [ + { + menuName: "质量管理", + companyPath: "/qualityManagement" + }, + { + menuName: "混凝土测温", + companyPath: "/concreteMonitor" + }, + { + menuName: "进度计划", + companyPath: "/schedulePlan" + } + ] + }, + { + moduleName: "绿色施工", + modulePath: "/headNoise", + menuList: [ + { + menuName: "扬尘噪声", + companyPath: "/headNoise" + }, + { + companyPath: "/electricityMonitor", + menuName: "用电监测" + }, + { + companyPath: "/waterMonitor", + menuName: "用水监测" + }, + { + companyPath: "/sewageMonitor", + menuName: "污水监测" + } + ] + }, + { + moduleName: "大型机械", + modulePath: "/towerCraneMonitoring", + menuList: [ + { + menuName: "塔吊监测", + companyPath: "/towerCraneMonitoring" + }, + { + menuName: "升降机监测", + companyPath: "/elevatorMonitoring" + }, + { + menuName: "卸料平台", + companyPath: "/unloadPlatform" + }, + { + menuName: "混凝土拌合站", + companyPath: "/concreteMixingPlant" + }, + { + menuName: "龙门吊监测", + companyPath: "/gantryCrane" + }, + { + companyPath: "/erectCrane", + menuName: "架桥机" + }, + { + companyPath: "/hangBasket", + menuName: "挂篮监测" + }, + { + companyPath: "/pressureTestMachine", + menuName: "压力试验机" + }, + { + companyPath: "/universalTestMachine", + menuName: "万能试验机" + }, + { + companyPath: "/compressionIntegrate", + menuName: "抗压一体机" + }, + { + companyPath: "/asphaltMixer", + menuName: "沥青拌合站" + }, + { + companyPath: "/waterStabilizedMixer", + menuName: "水稳拌合站" + } + ] + }, + { moduleName: "BIM模型", modulePath: "/bImModel" } +]; //鞍山 \ No newline at end of file diff --git a/src/views/sevenLargeScreen/indexL.vue b/src/views/sevenLargeScreen/indexL.vue index 819f113..54d020c 100644 --- a/src/views/sevenLargeScreen/indexL.vue +++ b/src/views/sevenLargeScreen/indexL.vue @@ -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, HFQCMenu } from "@/config/staticMenu"; +import { JSYCMenu, XJNBMenu, AHSAMenu, HFQCMenu,ASMenu } from "@/config/staticMenu"; import { COMPANY } from "@/config/config"; import { useRouter } from "vue-router"; @@ -473,6 +473,9 @@ onMounted(async () => { if (COMPANY === "hfqc") { menuList.value = HFQCMenu; } + if (COMPANY === "as") { + menuList.value = ASMenu; + } console.log("配置菜单", menuList.value); console.log("当前跳转的路由", router.currentRoute.value); @@ -545,6 +548,8 @@ function jumpBgd() { // 标准版——跳转演示平台项目后台 if (COMPANY == "") { window.location.replace("http://jxj.zhgdyun.com:100/#/projectIndex"); + }else if(COMPANY === "as"){ + window.location.replace("http://182.90.224.237:15551/#/projectIndex"); } else { // 新项目通用(百色服务器) window.location.replace("http://101.43.164.214:11111/#/projectIndex"); diff --git a/src/views/sevenLargeScreen/indexL_syhy.vue b/src/views/sevenLargeScreen/indexL_syhy.vue index 923330b..b6a36cf 100644 --- a/src/views/sevenLargeScreen/indexL_syhy.vue +++ b/src/views/sevenLargeScreen/indexL_syhy.vue @@ -19,6 +19,9 @@

乌丹站舍智慧工地项目

+ +

鞍钢尾矿资源利用

+
{{ nowTime }}