From 2d6868a3e94e294f5f0fea43dc0ef7d1d5f84d8c Mon Sep 17 00:00:00 2001 From: X_Rian <904416525@qq.com> Date: Tue, 20 Aug 2024 14:51:14 +0800 Subject: [PATCH] =?UTF-8?q?flx=EF=BC=9A=E6=8F=90=E4=BA=A4=E5=A4=A7?= =?UTF-8?q?=E8=BF=9E=E9=87=91=E7=AC=94=E9=85=8D=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/config.ts | 3 ++- src/config/staticMenu.ts | 34 +++++++++++++++++++++++++++ src/views/sevenLargeScreen/indexL.vue | 6 ++++- 5 files changed, 48 insertions(+), 4 deletions(-) diff --git a/.env.development b/.env.development index 30ef668..000102f 100644 --- a/.env.development +++ b/.env.development @@ -39,12 +39,15 @@ 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_API_URL = 'http://jxj.zhgdyun.com:18000' +# 大连金笔 +VITE_API_URL = 'http://101.43.164.214:11126' + # 上传 VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url=' diff --git a/.env.production b/.env.production index b68e369..cd61121 100644 --- a/.env.production +++ b/.env.production @@ -5,7 +5,7 @@ NODE_ENV = "production" # 注:切换部署环境时需更改src\routers\modules\staticRouter里的路径 改src\config\config.ts里的项目标识 # VITE_API_URL = "http://139.9.66.234:6688" # VITE_API_URL = "http://jxj.zhgdyun.com:6688" -VITE_API_URL = 'http://jxj.zhgdyun.com:100' +# VITE_API_URL = 'http://jxj.zhgdyun.com:100' # 沈阳合盈线上 # VITE_API_URL = "http://101.43.164.214:45022" # 嘉兴王江泾公用码头 @@ -41,6 +41,8 @@ VITE_API_URL = 'http://jxj.zhgdyun.com:100' # VITE_API_URL = 'http://218.95.151.122:31004' # 包头化工 # VITE_API_URL = 'http://jxj.zhgdyun.com:18000' +# 大连金笔 +VITE_API_URL = 'http://101.43.164.214:11126' # 打包 VITE_ULD_API_URL = 'http://jxj.zhgdyun.com:8012/onlinePreview?url=' diff --git a/src/config/config.ts b/src/config/config.ts index bea07eb..9553d17 100644 --- a/src/config/config.ts +++ b/src/config/config.ts @@ -23,13 +23,14 @@ 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 = "zhzrf"; //中海·臻如府 // export const COMPANY: string = "zsbf"; //中水北方 // export const COMPANY: string = "as"; //鞍山项目 // export const COMPANY: string = "agjt"; //鞍钢集团 // export const COMPANY: string = "tj"; // 同济项目 // export const COMPANY: string = "scwc"; // 四川网诚项目 +export const COMPANY: string = "dljb"; // 大连金笔项目 // export const COMPANY: string = "agjtLive"; //鞍钢集团现场大屏 // export const COMPANY: string = "bthg"; //包头化工 // export const COMPANY: string = "agjtCommand"; //鞍钢集团指挥部大屏 diff --git a/src/config/staticMenu.ts b/src/config/staticMenu.ts index 3ddce20..d18ed4a 100644 --- a/src/config/staticMenu.ts +++ b/src/config/staticMenu.ts @@ -1831,3 +1831,37 @@ export const JZJTMenu: Array = [ modulePath: "/foundationPitMonitor" } ]; //九柱集团 +export const DLJBMenu: Array = [ + { + moduleName: "工程概况", + modulePath: "/projectOverview" + }, + { + moduleName: "视频管理", + modulePath: "/videoManagement" + }, + { + moduleName: "劳务管理", + modulePath: "/laborManagement" + }, + { + moduleName: "安全管理", + modulePath: "/securityManagement" + }, + { + moduleName: "质量管理", + modulePath: "/qualityManagement" + }, + { + moduleName: "进度计划", + modulePath: "/schedulePlan" + }, + { + moduleName: "扬尘噪声", + modulePath: "/headNoise" + }, + { + moduleName: "塔吊监测", + modulePath: "/towerCraneMonitoring" + } +]; //大连金笔 diff --git a/src/views/sevenLargeScreen/indexL.vue b/src/views/sevenLargeScreen/indexL.vue index 69f716a..bed107a 100644 --- a/src/views/sevenLargeScreen/indexL.vue +++ b/src/views/sevenLargeScreen/indexL.vue @@ -125,7 +125,8 @@ import { TJMenu, SCWCMenu, JZJTMenu, - BTHGMenu + BTHGMenu, + DLJBMenu } from "@/config/staticMenu"; import { COMPANY } from "@/config/config"; @@ -584,6 +585,9 @@ onMounted(async () => { if (COMPANY === "bthg") { menuList.value = BTHGMenu; } + if (COMPANY === "dljb") { + menuList.value = DLJBMenu; + } console.log("配置菜单", menuList.value); console.log("当前跳转的路由", router.currentRoute.value); // await getAllModelMenu();