import LangStorage from '@/utils/lang'; import Favicon from '@/assets/icon/favicon.png'; import FaviconXty from '@/assets/icon/favicon_xty.png'; import FaviconGzb from '@/assets/icon/favicon_gzb.png'; import FaviconHyd from '@/assets/icon/favicon_hyd.png'; import FaviconXadt from '@/assets/icon/favicon_xas.png'; import FaviconJyd from '@/assets/icon/favicon_jyd.png'; import Bottom_Jyd from '@/assets/icon/bottom_jyd.png'; import Link_Jyd from '@/assets/icon/link_jyd.png'; import FaviconTky from '@/assets/icon/favicon_tky.png'; import { LoginParams } from '@/utils/login'; // title:页面title; loginPath:退出登录跳转路径; loginParam:登录接口参数project;loginTitle:登录页左上角title;logoWidth:登录页左上角logo宽度; // homeTitle:导航栏title(没有采用title); browserTitle:浏览器窗口title;bottomColumn:底部栏描述;bottomIcon:底部栏Icon;linkIcon:浏览器窗口icon(没有采用ProjectIcon) export const loginInfo = { xty: { title: '西安铁路职业技术学院城市轨道交通实训平台', loginPath: '/xty/login', loginParam: 'XTY', navigationLogoWidth: '40px', navigationMarginLeft: '60px' }, login: { title: LangStorage.getLang() == 'en' ? ' Urban Rail Transit Practical Training Platform' : '城市轨道交通实训平台', loginPath: '/login', loginParam: 'DEFAULT', navigationLogoWidth: '40px', navigationMarginLeft: '60px' }, design: { title: LangStorage.getLang() == 'en' ? ' Urban Rail Transit Design Platform' : '城市轨道交通设计平台', loginPath: '/design/login', loginParam: 'DEFAULT', navigationLogoWidth: '40px', navigationMarginLeft: '60px' }, designxty: { title: '西安铁路职业技术学院城市轨道交通设计平台', loginPath: '/designxty/login', loginParam: 'XTY', navigationLogoWidth: '40px', navigationMarginLeft: '60px' }, gzb: { title: '贵州装备制造职业学院城市轨道交通实训平台', loginPath: '/gzb/login', loginParam: 'GZB', navigationLogoWidth: '40px', navigationMarginLeft: '60px' }, designgzb: { title: '贵州装备制造职业学院城市轨道交通设计平台', loginPath: '/designgzb/login', loginParam: 'GZB', navigationLogoWidth: '40px', navigationMarginLeft: '60px' }, hyd: { title: '城市轨道交通综合行车模拟仿真系统V1.0', loginPath: '/login', bottomColumn: '哈尔滨盈达科技有限公司 联系电话:0451-87001273', loginParam: 'DEFAULT', navigationLogoWidth: '120px', navigationMarginLeft: '140px' }, designhyd: { title: '城市轨道交通设计平台V1.0', loginPath: '/design/login', bottomColumn: '哈尔滨盈达科技有限公司 联系电话:0451-87001273', loginParam: 'DEFAULT', navigationLogoWidth: '120px', navigationMarginLeft: '140px' }, xadt: { title: '城市轨道交通实训平台', logoWidth: '60px', loginTitle: '调度一部', homeTitle: '调度一部', browserTitle: '西安地铁调度一部城市轨道交通实训平台', loginPath: '/xadt/login', loginParam: 'DEFAULT', navigationLogoWidth: '40px', navigationMarginLeft: '60px' }, designxadt: { title: '城市轨道交通设计平台', logoWidth: '60px', loginTitle: '调度一部', homeTitle: '调度一部', browserTitle: '西安地铁调度一部城市轨道交通设计平台', loginPath: '/designxadt/login', loginParam: 'DEFAULT', navigationLogoWidth: '40px', navigationMarginLeft: '60px' }, jsxt:{ title: '城市轨道交通竞赛平台', loginPath: '/jsxt/login', loginParam: 'DEFAULT', navigationLogoWidth: '40px', navigationMarginLeft: '60px' }, refereeJsxt:{ title: '城市轨道交通裁判平台', loginPath: '/refereeJsxt/login', loginParam: 'DEFAULT', navigationLogoWidth: '40px', navigationMarginLeft: '60px' }, jyd: { title: '城市轨道交通实训平台', loginPath: '/jyd/login', logoWidth: '300px', navigationLogoWidth: '120px', navigationMarginLeft: '140px', loginTitle: '空串', bottomColumn: '', bottomIcon: Bottom_Jyd, linkIcon: Link_Jyd, loginParam: 'DEFAULT' }, designjyd: { title: '城市轨道交通设计平台', loginTitle: '空串', logoWidth: '300px', navigationLogoWidth: '120px', navigationMarginLeft: '140px', loginPath: '/designjyd/login', bottomColumn: '', bottomIcon: Bottom_Jyd, linkIcon: Link_Jyd, loginParam: 'DEFAULT' }, tky: { title: '城市轨道交通实训平台', loginPath: '/tky/login', loginTitle: 'jyd', bottomColumn: '', bottomIcon: FaviconTky, loginParam: 'DEFAULT' }, designtky: { title: '城市轨道交通设计平台', loginPath: '/designtky/login', loginTitle: 'jyd', bottomIcon: FaviconTky, bottomColumn: '', loginParam: 'DEFAULT' } }; export const ProjectIcon = { xty: FaviconXty, login: Favicon, design: Favicon, designxty: FaviconXty, gzb: FaviconGzb, designgzb:FaviconGzb, hyd: FaviconHyd, designhyd: FaviconHyd, xadt: FaviconXadt, designxadt: FaviconXadt, jsxt: Favicon, refereeJsxt: Favicon, jyd: FaviconJyd, designjyd: FaviconJyd, tky: FaviconTky, designtky: FaviconTky }; export const ProjectCode = { xty: 'XTY', designxty: 'XTY', gzb: 'GZB', designgzb: 'GZB', hyd: 'HYD', designhyd: 'HYD', xadt: 'XADT', designxadt: 'XADT', jyd: 'JYD', designjyd: 'JYD', tky: 'TKY', designtky: 'TKY' }; export const BottomColumnOnlyConInfo = ['hyd', 'designhyd', 'jyd', 'designjyd', 'tky', 'designtky']; // 底部栏仅展示公司信息不展示备案号 export const GetMapListByProjectList = ['xty', 'designxty', 'gzb', 'designgzb', 'xadt', 'designxadt']; // 实训设计平台通过项目code获取地图列表的项目 export const CaseHideProjectList = ['hyd', 'designhyd']; // 案例展示隐藏的项目 export const VersionBaseNoShow = ['hyd', 'designhyd']; // 登录页右下角版本开发基于不展示 export const MainBodyNoShow = ['hyd', 'designhyd', 'jyd', 'designjyd', 'tky', 'designtky']; // 登录页右下角主体不展示 export const GenerateRouteProjectList = ['xty', 'designxty', 'gzb', 'designgzb', 'xadt', 'designxadt', 'jsxt', 'refereeJsxt', 'jyd', 'designjyd', 'tky', 'designtky'];// 需要在公共路由中生成登录页面的项目&登录页样式 export const goOtherPlatformMenu = { // 导航栏快速切换平台 login: '/design/login', design: '/login', xty: '/designxty/login', designxty: '/xty/login', gzb: '/designgzb/login', designgzb: '/gzb/login', hyd: '/design/login', designhyd: '/login', xadt: '/designxadt/login', designxadt: '/xadt/login', jyd: '/designjyd/login', designjyd: '/jyd/login', tky: '/designtky/login', designtky: '/tky/login' }; export const PermissionParam = { // 路径权限处理所需参数配置(跳转白名单&路径正则匹配&clientId) hyd: { systemType: '011' }, designhyd: { systemType: '011' }, login: { systemType: '011' }, design: { systemType: '011' }, designxty: { whitePage: '/designxty/login', reg: /^\/designxty/, systemType: '013', clientId: LoginParams.Design.clientId }, designgzb: { whitePage: '/designgzb/login', reg: /^\/designgzb/, systemType: '014', clientId: LoginParams.Design.clientId }, designxadt: { whitePage: '/designxadt/login', reg: /^\/designxadt/, systemType: '012', clientId: LoginParams.Design.clientId }, designjyd: { whitePage: '/designjyd/login', reg: /^\/designjyd/, systemType: '017', clientId: LoginParams.Design.clientId }, designtky: { whitePage: '/designtky/login', reg: /^\/designtky/, systemType: '018', clientId: LoginParams.Design.clientId }, xty: { whitePage: '/xty/login', reg: /^\/xty/, systemType: '013', clientId: null }, gzb: { whitePage: '/gzb/login', reg: /^\/gzb/, systemType: '014', clientId: null }, xadt: { whitePage: '/xadt/login', reg: /^\/xadt/, systemType: '012', clientId: null }, jyd: { whitePage: '/jyd/login', reg: /^\/jyd/, systemType: '017', clientId: null }, tky: { whitePage: '/tky/login', reg: /^\/tky/, systemType: '018', clientId: null }, jsxt: { whitePage: '/jsxt/login', reg: /^\/jsxt/, systemType: '015', clientId: null }, refereeJsxt: { whitePage: '/refereeJsxt/login', reg: /^\/refereeJsxt/, systemType: '015', clientId: LoginParams.Design.clientId } }; export const ProjectList = [ {value:'xty', label:'西铁院'}, {value: 'gzb', label: '贵州装备'}, {value: 'xadt', label: '西安地铁'} ];