From d519a9734293f37002a35df6de0345f429f59e1e Mon Sep 17 00:00:00 2001 From: X_Rian <904416525@qq.com> Date: Wed, 20 Nov 2024 11:10:57 +0800 Subject: [PATCH] =?UTF-8?q?flx:=E6=8F=90=E4=BA=A4=E4=B8=AD=E6=96=B0?= =?UTF-8?q?=E5=BB=BA=E7=94=B5=E5=8A=9B=E9=9B=86=E5=9B=A2=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 6 +++--- src/config/config.ts | 4 ++-- src/routers/modules/staticRouter.ts | 4 ++-- src/views/sevenLargeScreen/indexL.vue | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.env.production b/.env.production index 2beecfa..201db88 100644 --- a/.env.production +++ b/.env.production @@ -25,7 +25,7 @@ NODE_ENV = "production" # 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' +# VITE_API_URL = 'http://101.43.164.214:11111' # 中科安信 # VITE_API_URL = 'http://8.136.222.164:8808' # 中科佳成 @@ -44,8 +44,8 @@ VITE_API_URL = 'http://101.43.164.214:11111' # VITE_API_URL = 'http://jxj.zhgdyun.com:18000' # 大连金笔 # VITE_API_URL = 'http://101.43.164.214:11126' -# 新能源智慧基建管理平台 -# VITE_API_URL = 'http://121.37.106.37:9820' +# 新能源智慧基建管理平台|中新建电力集团 +VITE_API_URL = 'http://10.30.102.4:9820' # 国维科技 # VITE_API_URL = 'http://192.168.0.12:9820' # 打包 diff --git a/src/config/config.ts b/src/config/config.ts index 66547bf..170db23 100644 --- a/src/config/config.ts +++ b/src/config/config.ts @@ -46,14 +46,14 @@ export const BASE_IMAGE_URL = import.meta.env.VITE_BASE_IMAGE_URL; // 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更换首页) -export const COMPANY: string = "phmw"; //鄱湖美湾医疗、医美产业集群项目 (需要去src\routers\modules\staticRouter.ts更换首页) +// export const COMPANY: string = "phmw"; //鄱湖美湾医疗、医美产业集群项目 (需要去src\routers\modules\staticRouter.ts更换首页) // export const COMPANY: string = "xjnb"; // 新建宁波项目 // export const COMPANY: string = "ahsa"; // 安徽水安项目 // export const COMPANY: string = "zkax"; // 中科安信项目 // export const COMPANY: string = "jzjt"; //九柱集团 // export const COMPANY: string = "whzt"; //武汉中铁 // export const COMPANY: string = "ztsyj"; // 中铁十一局 -// export const COMPANY: string = "xnyzhjj"; // 新能源智慧基建管理平台 +export const COMPANY: string = "xnyzhjj"; // 新能源智慧基建管理平台 // export const COMPANY: string = "gwkj"; // 国维科技 diff --git a/src/routers/modules/staticRouter.ts b/src/routers/modules/staticRouter.ts index 2dd86af..361ceda 100644 --- a/src/routers/modules/staticRouter.ts +++ b/src/routers/modules/staticRouter.ts @@ -24,13 +24,13 @@ export const staticRouter: RouteRecordRaw[] = [ { path: "/large", name: "大屏", - // component: () => import("@/views/sevenLargeScreen/indexL.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"), //人员定位大屏 // component: () => import("@/views/agjtProjectKanban/indexL.vue"), //鞍钢集团项目看板大屏 - component: () => import("@/views/sevenLargeScreen/indexL_syhy.vue"), // 只有一级路由(盘锦、嘉兴、鄱湖美湾医疗项目需切换至该首页) + // component: () => import("@/views/sevenLargeScreen/indexL_syhy.vue"), // 只有一级路由(盘锦、嘉兴、鄱湖美湾医疗项目需切换至该首页) children: [ { path: "/headNoise", diff --git a/src/views/sevenLargeScreen/indexL.vue b/src/views/sevenLargeScreen/indexL.vue index 3f6eb67..eb0e9de 100644 --- a/src/views/sevenLargeScreen/indexL.vue +++ b/src/views/sevenLargeScreen/indexL.vue @@ -734,7 +734,7 @@ function jumpBgd() { } else if (COMPANY === "scwc") { window.location.replace("http://192.168.9.249:9809/#/login?token=" + store.token); } else if (COMPANY === "xnyzhjj") { - window.location.replace("http://121.37.106.37:9809/#/login?token=" + store.token); + window.location.replace("http://10.30.102.4:9809/#/login?token=" + store.token); } else if (COMPANY === "gwkj") { window.location.replace("http://192.168.0.12:9809/#/login?token=" + store.token); } else if (envList.includes(COMPANY)) {