diff --git a/.env.development b/.env.development index 4f79e0e..64d286a 100644 --- a/.env.development +++ b/.env.development @@ -36,6 +36,8 @@ VITE_API_URL = 'http://192.168.34.221:9111' #雄哥本地 # VITE_API_URL = 'http://1.13.185.209:8089' # 九柱 # VITE_API_URL = 'http://jxjzw.zhgdyun.com:11111' +# 四川网诚 +VITE_API_URL = 'http://jxj.zhgdyun.com:100' # 上传 VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url=' diff --git a/.env.production b/.env.production index 2cbd7de..12d7165 100644 --- a/.env.production +++ b/.env.production @@ -21,7 +21,7 @@ NODE_ENV = "production" # 七参数标准版(测试平台) # VITE_API_URL = 'http://182.90.224.237:15551' # agjt -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://101.43.164.214:11111' @@ -35,7 +35,8 @@ VITE_API_URL = 'http://42.180.188.17:9809' #生产环境 # VITE_API_URL = 'http://jxjzw.zhgdyun.com:11111' # 同济 # VITE_API_URL = 'http://192.168.110.220:9809' - +# 四川网诚 +VITE_API_URL = 'http://jxj.zhgdyun.com:100' # 打包 VITE_ULD_API_URL = 'http://jxj.zhgdyun.com:8012/onlinePreview?url=' diff --git a/src/config/config.ts b/src/config/config.ts index 8865ce0..af54b87 100644 --- a/src/config/config.ts +++ b/src/config/config.ts @@ -29,8 +29,9 @@ export const BASE_IMAGE_URL = import.meta.env.VITE_BASE_IMAGE_URL; // export const COMPANY: string = "as"; //鞍山项目 // export const COMPANY: string = "agjt"; //鞍钢集团 // export const COMPANY: string = "tj"; // 同济项目 +export const COMPANY: string = "scwc"; // 四川网诚项目 // export const COMPANY: string = "agjtLive"; //鞍钢集团现场大屏 -export const COMPANY: string = "agjtCommand"; //鞍钢集团指挥部大屏 +// export const COMPANY: string = "agjtCommand"; //鞍钢集团指挥部大屏 // export const COMPANY: string = "agjtProjectKanban"; //鞍钢集团项目看板大屏 // export const COMPANY: string = "agjtOverviewScreen"; //鞍钢集团项目总览 // export const COMPANY: string = "agjtLocationLive"; //鞍钢集团人员定位大屏 diff --git a/src/config/staticMenu.ts b/src/config/staticMenu.ts index ca29d61..3e2e4ec 100644 --- a/src/config/staticMenu.ts +++ b/src/config/staticMenu.ts @@ -1582,3 +1582,224 @@ export const TJMenu: Array = [ ] } ]; //同济大屏 +export const SCWCMenu: 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" + }, + { + menuName: "临边防护", + companyPath: "/newEdgeProtection" + } + ] + }, + { + moduleName: "质量管理", + modulePath: "/qualityManagement", + menuList: [ + { + menuName: "质量管理", + companyPath: "/qualityManagement" + }, + { + menuName: "混凝土测温", + companyPath: "/concreteMonitor" + }, + { + menuName: "进度计划", + companyPath: "/schedulePlan" + } + ] + }, + { + moduleName: "视频监控", + modulePath: "/videoManagement", + menuList: [ + { + menuName: "视频监控", + companyPath: "/videoManagement" + } + ] + }, + { + moduleName: "绿色施工", + modulePath: "/headNoise", + menuList: [ + { + menuName: "环境监测", + companyPath: "/headNoise" + }, + { + menuName: "升降机监测", + companyPath: "/elevatorMonitoring" + }, + { + menuName: "塔吊监测", + companyPath: "/towerCraneMonitoring" + }, + { + menuName: "高支模监测", + companyPath: "/highFormwork" + }, + { + menuName: "基坑监测", + companyPath: "/foundationPitMonitor" + }, + { + menuName: "配电箱监测", + companyPath: "/distributionMonitoring" + } + ] + }, + { + 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" } +]; //四川网诚 diff --git a/src/routers/modules/staticRouter.ts b/src/routers/modules/staticRouter.ts index 55609c0..d0cedfd 100644 --- a/src/routers/modules/staticRouter.ts +++ b/src/routers/modules/staticRouter.ts @@ -24,8 +24,8 @@ export const staticRouter: RouteRecordRaw[] = [ { path: "/large", name: "大屏", - // component: () => import("@/views/sevenLargeScreen/indexL.vue"), //七参数标准版 - component: () => import("@/views/commandScreen/indexCommand.vue"), //指挥部大屏 + component: () => import("@/views/sevenLargeScreen/indexL.vue"), //七参数标准版 + // component: () => import("@/views/commandScreen/indexCommand.vue"), //指挥部大屏 // component: () => import("@/views/agjtLiveScreen/indexLive.vue"), //鞍钢现场大屏 // component: () => import("@/views/overviewScreen/indexCommand.vue"), //总览大屏 // component: () => import("@/views/locationLive/locationL.vue"), //人员定位大屏 diff --git a/src/views/sevenLargeScreen/indexL.vue b/src/views/sevenLargeScreen/indexL.vue index 2d5e394..14e5dd2 100644 --- a/src/views/sevenLargeScreen/indexL.vue +++ b/src/views/sevenLargeScreen/indexL.vue @@ -122,7 +122,8 @@ import { CQNAMenu, ZKJCMenu, CPGSMenu, - TJMenu + TJMenu, + SCWCMenu } from "@/config/staticMenu"; import { COMPANY } from "@/config/config"; @@ -546,6 +547,9 @@ onMounted(async () => { if (COMPANY === "tj") { menuList.value = TJMenu; } + if (COMPANY === "scwc") { + menuList.value = SCWCMenu; + } console.log("配置菜单", menuList.value); console.log("当前跳转的路由", router.currentRoute.value); // await getAllModelMenu(); @@ -627,7 +631,7 @@ function loginOut() { } //跳转后台 function jumpBgd() { - const envList = ["agjt", "zkax", "zkjc", "hfqc", "cpgs", "cqna", "jzjt", "tj"]; // 环境标识 + const envList = ["agjt", "zkax", "zkjc", "hfqc", "cpgs", "cqna", "jzjt", "tj", "scwc"]; // 环境标识 // 标准版——跳转演示平台项目后台 if (COMPANY == "") { window.location.replace("http://jxj.zhgdyun.com:100/#/login?token=" + store.token);