From b302fe4ddcb115f885dcc0df9cecfd583240ea36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9DRain=E2=80=9C?= <904416525@qq.com> Date: Wed, 19 Jun 2024 23:55:08 +0800 Subject: [PATCH] =?UTF-8?q?flx=EF=BC=9A=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/config.ts | 45 +++++++++++++++++++++++++++++ src/routers/modules/staticRouter.ts | 4 +-- 2 files changed, 47 insertions(+), 2 deletions(-) diff --git a/src/config/config.ts b/src/config/config.ts index e69de29..7fdbcd2 100644 --- a/src/config/config.ts +++ b/src/config/config.ts @@ -0,0 +1,45 @@ +// ? 全局不动配置项 只做导出不做修改 + +// * 首页地址(默认) +export const HOME_URL: string = "/government"; + +// * 登录页地址(默认) +export const LOGIN_URL: string = "/login"; + +// export const PROJECT_URL: string = "/projectlogon"; + +// * 默认主题颜色 +export const DEFAULT_PRIMARY: string = "#008BFF"; + +// * 路由白名单地址(必须是本地存在的路由 staticRouter.ts) +export const ROUTER_WHITE_LIST: string[] = ["/500", "/projectlogon", "/compLogon"]; + +// * 高德地图 key +export const AMAP_MAP_KEY: string = "142e51d55274a0140e838245345cf9ad"; + +// * 百度地图 key +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 = "zhzrf"; //中海·臻如府 +// export const COMPANY: string = "zsbf"; //中水北方 +// export const COMPANY: string = "as"; //鞍山项目 +// export const COMPANY: string = "agjt"; //鞍钢集团 +export const COMPANY: string = "agjtLive"; //鞍钢集团现场大屏 +// export const COMPANY: string = "agjtCommand"; //鞍钢集团指挥部大屏 +// export const COMPANY: string = "agjtProjectKanban"; //鞍钢集团项目看板大屏 +// export const COMPANY: string = "agjtOverviewScreen"; //鞍钢集团项目总览 +// export const COMPANY: string = "zkjc"; //中科佳成项目 +// export const COMPANY: string = "cqna"; //重庆南岸项目 +// export const COMPANY: string = "slx"; //苏立信项目 +// 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更换首页) +// 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"; // 中科安信项目 diff --git a/src/routers/modules/staticRouter.ts b/src/routers/modules/staticRouter.ts index 550726a..1ac7204 100644 --- a/src/routers/modules/staticRouter.ts +++ b/src/routers/modules/staticRouter.ts @@ -25,8 +25,8 @@ export const staticRouter: RouteRecordRaw[] = [ path: "/large", name: "大屏", // component: () => import("@/views/sevenLargeScreen/indexL.vue"), //七参数标准版 - component: () => import("@/views/commandScreen/indexCommand.vue"), //指挥部大屏 - // component: () => import("@/views/agjtLiveScreen/indexLive.vue"), //鞍钢现场大屏 + // component: () => import("@/views/commandScreen/indexCommand.vue"), //指挥部大屏 + component: () => import("@/views/agjtLiveScreen/indexLive.vue"), //鞍钢现场大屏 // component: () => import("@/views/overviewScreen/indexCommand.vue"), //总览大屏 // component: () => import("@/views/agjtProjectKanban/indexL.vue"), //鞍钢集团项目看板大屏 // component: () => import("@/views/sevenLargeScreen/indexL_syhy.vue"), // 只有一级路由(盘锦、嘉兴、鄱湖美湾医疗项目需切换至该首页)