From 44d0c738f001674906a7c30ec23ccc32339185fe Mon Sep 17 00:00:00 2001 From: X_Rian <904416525@qq.com> Date: Fri, 9 Aug 2024 16:37:07 +0800 Subject: [PATCH] =?UTF-8?q?flx=EF=BC=9A=E6=8F=90=E4=BA=A4=E5=9B=9B?= =?UTF-8?q?=E5=B7=9D=E7=BD=91=E5=9F=8E=20=E4=B9=9D=E6=9F=B1=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 5 +- .env.production | 4 +- src/config/staticMenu.ts | 150 ++++++-------------------- src/views/sevenLargeScreen/indexL.vue | 12 ++- 4 files changed, 46 insertions(+), 125 deletions(-) diff --git a/.env.development b/.env.development index 64d286a..981cde5 100644 --- a/.env.development +++ b/.env.development @@ -37,7 +37,10 @@ VITE_API_URL = 'http://192.168.34.221:9111' #雄哥本地 # 九柱 # VITE_API_URL = 'http://jxjzw.zhgdyun.com:11111' # 四川网诚 -VITE_API_URL = 'http://jxj.zhgdyun.com:100' +# VITE_API_URL = 'http://jxj.zhgdyun.com:100' +VITE_API_URL = 'http://jxj.zhgdyun.com:34568' +# 九柱集团 +# VITE_API_URL = 'http://218.95.151.122:31004' # 上传 VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url=' diff --git a/.env.production b/.env.production index 12d7165..3b34eb0 100644 --- a/.env.production +++ b/.env.production @@ -36,7 +36,9 @@ NODE_ENV = "production" # 同济 # VITE_API_URL = 'http://192.168.110.220:9809' # 四川网诚 -VITE_API_URL = 'http://jxj.zhgdyun.com:100' +VITE_API_URL = 'http://192.168.9.249:9820' +# 九柱集团 +# VITE_API_URL = 'http://218.95.151.122:31004' # 打包 VITE_ULD_API_URL = 'http://jxj.zhgdyun.com:8012/onlinePreview?url=' diff --git a/src/config/staticMenu.ts b/src/config/staticMenu.ts index 3e2e4ec..a716a45 100644 --- a/src/config/staticMenu.ts +++ b/src/config/staticMenu.ts @@ -1608,34 +1608,6 @@ export const SCWCMenu: Array = [ { 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" } ] }, @@ -1651,41 +1623,9 @@ export const SCWCMenu: Array = [ 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" } ] }, @@ -1697,10 +1637,6 @@ export const SCWCMenu: Array = [ menuName: "质量管理", companyPath: "/qualityManagement" }, - { - menuName: "混凝土测温", - companyPath: "/concreteMonitor" - }, { menuName: "进度计划", companyPath: "/schedulePlan" @@ -1725,10 +1661,6 @@ export const SCWCMenu: Array = [ menuName: "环境监测", companyPath: "/headNoise" }, - { - menuName: "升降机监测", - companyPath: "/elevatorMonitoring" - }, { menuName: "塔吊监测", companyPath: "/towerCraneMonitoring" @@ -1736,14 +1668,6 @@ export const SCWCMenu: Array = [ { menuName: "高支模监测", companyPath: "/highFormwork" - }, - { - menuName: "基坑监测", - companyPath: "/foundationPitMonitor" - }, - { - menuName: "配电箱监测", - companyPath: "/distributionMonitoring" } ] }, @@ -1754,52 +1678,38 @@ export const SCWCMenu: Array = [ { 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" } ]; //四川网诚 +export const JZJTMenu: Array = [ + { + moduleName: "工程概况", + modulePath: "/projectOverview" + }, + { + moduleName: "劳务管理", + modulePath: "/laborManagement" + }, + { + moduleName: "质量管理", + modulePath: "/qualityManagement" + }, + { + moduleName: "升降机监测", + modulePath: "/elevatorMonitoring" + }, + { + moduleName: "塔吊监测", + modulePath: "/towerCraneMonitoring" + }, + { + moduleName: "高支模监测", + modulePath: "/highFormwork" + }, + { + moduleName: "基坑监测", + modulePath: "/foundationPitMonitor" + } +]; //九柱集团 diff --git a/src/views/sevenLargeScreen/indexL.vue b/src/views/sevenLargeScreen/indexL.vue index 14e5dd2..64cc136 100644 --- a/src/views/sevenLargeScreen/indexL.vue +++ b/src/views/sevenLargeScreen/indexL.vue @@ -123,7 +123,8 @@ import { ZKJCMenu, CPGSMenu, TJMenu, - SCWCMenu + SCWCMenu, + JZJTMenu } from "@/config/staticMenu"; import { COMPANY } from "@/config/config"; @@ -550,6 +551,9 @@ onMounted(async () => { if (COMPANY === "scwc") { menuList.value = SCWCMenu; } + if (COMPANY === "jzjt") { + menuList.value = JZJTMenu; + } console.log("配置菜单", menuList.value); console.log("当前跳转的路由", router.currentRoute.value); // await getAllModelMenu(); @@ -639,8 +643,6 @@ function jumpBgd() { window.location.replace("http://192.168.110.220:9809/#/login?token=" + store.token); } else if (COMPANY === "as") { window.location.replace("http://182.90.224.237:15551/#/login?token=" + store.token); - } else if (COMPANY === "jzjt") { - window.location.replace("http://jxjzw.zhgdyun.com:6089/#/login?token=" + store.token); } else if (envList.includes(COMPANY)) { window.location.replace(BASEURL + "/#/login?token=" + store.token); } else { @@ -649,6 +651,10 @@ function jumpBgd() { // window.location.replace("http://192.168.34.138:8080/#/login?token=" + store.token); // window.open("http://192.168.34.138:8080/#/login?token=" + store.token); } + + // else if (COMPANY === "jzjt") { + // window.location.replace("http://jxjzw.zhgdyun.com:6089/#/login?token=" + store.token); + // } }