rt-sim-training-client/src/scripts/ProjectConfig.js
2020-11-03 13:39:14 +08:00

448 lines
16 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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 FaviconHeb from '@/assets/icon/favicon_hyd.png';
import FaviconXadt from '@/assets/icon/favicon_xas.png';
import FaviconJyd from '@/assets/icon/favicon_jyd.png';
import FaviconHls from '@/assets/icon/favicon_hls.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 FaviconBxkc from '@/assets/icon/favicon_bxkc.png';
import FaviconCrsc from '@/assets/icon/favicon_crsc.png';
import FaviconNty from '@/assets/icon/favicon_nty.png';
import FaviconBjd from '@/assets/icon/favicon_bjd.png';
import Link_Bxkc from '@/assets/icon/link_bxkc.png';
import Link_Crsc from '@/assets/icon/link_crsc.png';
import Link_Hls from '@/assets/icon/link_hls.png';
import Link_Bjd from '@/assets/icon/link_bjd.png';
// title:页面title; loginPath:退出登录跳转路径; loginParam:登录接口参数project;loginTitle:登录页左上角titlelogoWidth登录页左上角logo宽度
// homeTitle:导航栏title(没有采用title); browserTitle:浏览器窗口titlebottomColumn底部栏描述bottomIcon底部栏Icon;linkIcon:浏览器窗口icon(没有采用ProjectIcon)
// titleDistance 项目title距离密码框距离
export const loginInfo = {
xty: {
title: '西安铁路职业技术学院城市轨道交通实训平台',
loginPath:'/login?project=xty',
loginParam: 'XTY',
titleDistance: '-150px',
navigationLogoWidth: '40px',
navigationMarginLeft: '60px',
systemType: '013'
},
bjd: {
title: '城市轨道交通列车运行智慧辅助系统',
loginPath: '/login?project=bjd',
logoWidth: '400px',
bottomIcon: FaviconBjd,
bottomColumn: '',
loginTitle: '空串',
linkIcon: Link_Bjd,
loginParam: 'BJD',
navigationLogoWidth: '160px',
navigationMarginLeft: '175px',
systemType: '011'
},
nty: {
title: '南京铁道职业技术学院城市轨道交通实训平台',
loginPath:'/login?project=nty',
loginParam: 'NTY',
titleDistance: '-150px',
navigationLogoWidth: '40px',
navigationMarginLeft: '60px',
systemType: '011'
},
login: {
title: LangStorage.getLang() == 'en' ? ' Urban Rail Transit Practical Training Platform' : '城市轨道交通实训平台',
loginPath: '/login',
loginParam: 'DEFAULT',
navigationLogoWidth: '40px',
navigationMarginLeft: '60px',
systemType: '011'
},
design: {
title: LangStorage.getLang() == 'en' ? ' Urban Rail Transit Design Platform' : '城市轨道交通设计平台',
loginPath: '/design/login',
loginParam: 'DEFAULT',
navigationLogoWidth: '40px',
navigationMarginLeft: '60px',
systemType: '011'
},
drts: {
title: '行车调度员实训系统国赛备战版',
loginPath: '/login?project=drts',
loginParam: 'DRTS',
loginTitle: '空串',
navigationLogoWidth: '40px',
navigationMarginLeft: '60px',
logoWidth: '0',
systemType: '020'
},
designdrts: {
title: '行车调度员设计平台国赛备战版',
loginPath: '/design/login?project=drts',
loginParam: 'DRTS',
navigationLogoWidth: '40px',
navigationMarginLeft: '60px',
systemType: '020'
},
designbjd: {
title: '城市轨道交通列车运行智慧辅助系统',
loginPath: '/design/login?project=bjd',
logoWidth: '400px',
bottomIcon: FaviconBjd,
bottomColumn: '',
linkIcon: '',
loginParam: 'BJD',
navigationLogoWidth: '160px',
navigationMarginLeft: '175px',
systemType: '011'
},
designxty: {
title: '西安铁路职业技术学院城市轨道交通设计平台',
loginPath:'/design/login?project=xty',
loginParam: 'XTY',
titleDistance: '-150px',
navigationLogoWidth: '40px',
navigationMarginLeft: '60px',
systemType: '013'
},
designnty: {
title: '南京铁道职业技术学院城市轨道交通设计平台',
loginPath:'/design/login?project=nty',
loginParam: 'NTY',
titleDistance: '-150px',
navigationLogoWidth: '40px',
navigationMarginLeft: '60px',
systemType: '011'
},
gzb: {
title: '贵州装备制造职业学院城市轨道交通实训平台',
loginPath:'/login?project=gzb',
loginParam: 'GZB',
titleDistance: '-150px',
navigationLogoWidth: '40px',
navigationMarginLeft: '60px',
systemType: '014'
},
designgzb: {
title: '贵州装备制造职业学院城市轨道交通设计平台',
loginPath:'/design/login?project=gzb',
titleDistance: '-150px',
loginParam: 'GZB',
navigationLogoWidth: '40px',
navigationMarginLeft: '60px',
systemType: '014'
},
heb: {
title: '城市轨道交通综合行车模拟仿真系统V1.0',
loginTitle: '城市轨道交通综合行车模拟仿真系统V1.0',
logoWidth: '140px',
loginPath: '/login?project=heb',
titleDistance: '150px',
bottomColumn: '哈尔滨盈达科技有限公司 联系电话:0451-87001273',
loginParam: 'HEB',
navigationLogoWidth: '120px',
navigationMarginLeft: '140px',
systemType: '019'
},
designheb: {
title: '城市轨道交通设计平台V1.0',
loginTitle: '城市轨道交通设计平台V1.0',
logoWidth: '140px',
titleDistance: '150px',
loginPath: '/design/login?project=heb',
bottomColumn: '哈尔滨盈达科技有限公司 联系电话:0451-87001273',
loginParam: 'HEB',
navigationLogoWidth: '120px',
navigationMarginLeft: '140px',
systemType: '019'
},
hyd: {
title: '城市轨道交通综合行车模拟仿真系统V1.0',
loginTitle: '空串',
logoWidth: '140px',
loginPath: '/login?project=hyd',
bottomColumn: '哈尔滨盈达科技有限公司 联系电话:0451-87001273',
loginParam: 'DEFAULT',
navigationLogoWidth: '120px',
navigationMarginLeft: '140px',
systemType: '011'
},
designhyd: {
title: '城市轨道交通设计平台V1.0',
loginTitle: '空串',
logoWidth: '140px',
loginPath: '/design/login?project=hyd',
bottomColumn: '哈尔滨盈达科技有限公司 联系电话:0451-87001273',
loginParam: 'DEFAULT',
navigationLogoWidth: '120px',
navigationMarginLeft: '140px',
systemType: '011'
},
xadt: {
title: '城市轨道交通实训平台',
logoWidth: '60px',
loginTitle: '调度一部',
homeTitle: '调度一部',
browserTitle: '西安地铁调度一部城市轨道交通实训平台',
loginPath:'/login?project=xadt',
loginParam: 'XADT',
navigationLogoWidth: '40px',
navigationMarginLeft: '60px',
systemType: '012'
},
designxadt: {
title: '城市轨道交通设计平台',
logoWidth: '60px',
loginTitle: '调度一部',
homeTitle: '调度一部',
browserTitle: '西安地铁调度一部城市轨道交通设计平台',
loginPath:'/design/login?project=xadt',
loginParam: 'XADT',
navigationLogoWidth: '40px',
navigationMarginLeft: '60px',
systemType: '012'
},
jsxt:{
title: '城市轨道交通竞赛平台',
loginPath: '/jsxt/login',
loginParam: 'DEFAULT',
titleDistance: '-150px',
navigationLogoWidth: '40px',
navigationMarginLeft: '60px',
systemType: '015'
},
refereeJsxt:{
title: '城市轨道交通裁判平台',
loginPath: '/refereeJsxt/login',
loginParam: 'DEFAULT',
titleDistance: '-150px',
navigationLogoWidth: '40px',
navigationMarginLeft: '60px',
systemType: '015'
},
jyd: {
title: '城市轨道交通实训平台',
loginPath:'/login?project=jyd',
logoWidth: '300px',
navigationLogoWidth: '120px',
navigationMarginLeft: '140px',
loginTitle: '空串',
bottomColumn: '',
bottomIcon: Bottom_Jyd,
linkIcon: Link_Jyd,
loginParam: 'DEFAULT',
systemType: '011'
},
designjyd: {
title: '城市轨道交通设计平台',
loginTitle: '空串',
logoWidth: '300px',
navigationLogoWidth: '120px',
navigationMarginLeft: '140px',
loginPath:'/design/login?project=jyd',
bottomColumn: '',
bottomIcon: Bottom_Jyd,
linkIcon: Link_Jyd,
loginParam: 'DEFAULT',
systemType: '011'
},
tky: {
title: '城市轨道交通实训平台',
loginPath:'/login?project=tky',
loginTitle: '空串',
bottomColumn: '',
bottomIcon: FaviconTky,
loginParam: 'DEFAULT',
navigationLogoWidth: '75px',
navigationMarginLeft: '90px',
systemType: '011'
},
designtky: {
title: '城市轨道交通设计平台',
loginPath:'/design/login?project=tky',
loginTitle: '空串',
bottomIcon: FaviconTky,
bottomColumn: '',
loginParam: 'DEFAULT',
navigationLogoWidth: '75px',
navigationMarginLeft: '90px',
systemType: '011'
},
bxkc: {
title: '城市轨道交通实训平台',
loginPath: '/login?project=bxkc',
loginTitle: '空串',
logoWidth: '400px',
bottomIcon: FaviconBxkc,
bottomColumn: '',
linkIcon: Link_Bxkc,
loginParam: 'DEFAULT',
navigationLogoWidth: '160px',
navigationMarginLeft: '175px',
systemType: '011'
},
designbxkc: {
title: '城市轨道交通设计平台',
loginPath: '/design/login?project=bxkc',
loginTitle: '空串',
logoWidth: '400px',
bottomIcon: FaviconBxkc,
bottomColumn: '',
linkIcon: Link_Bxkc,
loginParam: 'DEFAULT',
navigationLogoWidth: '160px',
navigationMarginLeft: '175px',
systemType: '011'
},
crsc: {
title: '城市轨道交通实训平台',
loginPath: '/login?project=crsc',
loginTitle: '空串',
logoWidth: '600px',
bottomIcon: FaviconCrsc,
bottomColumn: '',
linkIcon: Link_Crsc,
titleIcon: Link_Crsc,
loginParam: 'DEFAULT',
navigationLogoWidth: '100px',
navigationMarginLeft: '125px',
systemType: '011'
},
designcrsc: {
title: '城市轨道交通设计平台',
loginPath: '/design/login?project=crsc',
loginTitle: '空串',
logoWidth: '600px',
bottomIcon: FaviconCrsc,
bottomColumn: '',
linkIcon: Link_Crsc,
titleIcon: Link_Crsc,
loginParam: 'DEFAULT',
navigationLogoWidth: '100px',
navigationMarginLeft: '125px',
systemType: '011'
},
hls: {
title: '城市轨道交通实训平台',
loginPath: '/login?project=hls',
loginTitle: '空串',
logoWidth: '300px',
linkIcon: Link_Hls,
bottomColumn: '北京和利时系统工程有限公司',
loginParam: 'DEFAULT',
navigationLogoWidth: '180px',
navigationMarginLeft: '195px',
systemType: '011'
},
designhls: {
title: '城市轨道交通设计平台',
loginPath: '/design/login?project=hls',
loginTitle: '空串',
logoWidth: '300px',
linkIcon: Link_Hls,
bottomColumn: '北京和利时系统工程有限公司',
loginParam: 'DEFAULT',
navigationLogoWidth: '180px',
navigationMarginLeft: '195px',
systemType: '011'
}
};
export const ProjectIcon = {
xty: FaviconXty,
login: Favicon,
design: Favicon,
designxty: FaviconXty,
gzb: FaviconGzb,
designgzb:FaviconGzb,
heb: FaviconHeb,
designheb: FaviconHeb,
hyd: FaviconHeb,
designhyd: FaviconHeb,
xadt: FaviconXadt,
designxadt: FaviconXadt,
jsxt: Favicon,
refereeJsxt: Favicon,
jyd: FaviconJyd,
designjyd: FaviconJyd,
tky: FaviconTky,
designtky: FaviconTky,
bxkc: FaviconBxkc,
designbxkc: FaviconBxkc,
crsc: FaviconCrsc,
designcrsc: FaviconCrsc,
hls: FaviconHls,
designhls: FaviconHls,
drts: Favicon,
designdrts: Favicon,
nty: FaviconNty,
designnty: FaviconNty,
bjd: FaviconBjd,
designbjd: FaviconBjd
};
export const ProjectCode = {
xty: 'XTY',
designxty: 'XTY',
gzb: 'GZB',
designgzb: 'GZB',
heb: 'HEB',
designheb: 'HEB',
xadt: 'XADT',
designxadt: 'XADT',
drts: 'DRTS',
designdrts: 'DRTS',
nty: 'NTY',
designnty: 'NTY',
bjd: 'BJD',
designbjd: 'BJD'
};
export const BottomColumnOnlyConInfo = ['heb', 'designheb', 'jyd', 'designjyd', 'tky', 'designtky', 'bxkc', 'designbxkc', 'crsc', 'designcrsc', 'hls', 'designhls', 'hyd', 'designhyd']; // 底部栏仅展示公司信息不展示备案号
export const GetMapListByProjectList = ['xty', 'designxty', 'gzb', 'designgzb', 'xadt', 'designxadt', 'heb', 'designheb', 'designdrts', 'drts', 'nty', 'designnty']; // 实训设计平台通过项目code获取地图列表的项目
export const CaseHideProjectList = ['heb', 'designheb']; // 案例展示隐藏的项目
export const VersionBaseNoShow = ['heb', 'designheb', 'hls', 'designhls', 'drts', 'hyd', 'designhyd']; // 登录页右下角版本开发基于不展示
export const MainBodyNoShow = ['heb', 'designheb', 'jyd', 'designjyd', 'tky', 'designtky', 'bxkc', 'designbxkc', 'crsc', 'designcrsc', 'hls', 'designhls', 'hyd', 'designhyd']; // 登录页右下角主体不展示
export const GenerateRouteProjectList = ['jsxt', 'refereeJsxt'];// 需要在公共路由中生成登录页面的项目
export const ProjectLoginStyleList = ['jsxt', 'refereeJsxt', 'gzb', 'designgzb', 'xty', 'designxty', 'xadt', 'designxadt', 'tky', 'designtky', 'jyd', 'designjyd', 'bxkc', 'designbxkc', 'crsc', 'designcrsc', 'hls', 'designhls', 'drts', 'hyd', 'designhyd', 'nty', 'designnty', 'bjd', 'designbjd']; // 登录页样式
export const NoQrcodeList = ['heb', 'designheb'];
export const goOtherPlatformMenu = { // 导航栏快速切换平台
login: '/design/login',
design: '/login',
xty: '/design/login?project=xty',
designxty: '/login?project=xty',
gzb: '/design/login?project=gzb',
designgzb: '/login?project=gzb',
heb: '/design/login?project=heb',
designheb: '/login?project=heb',
xadt: '/design/login?project=xadt',
designxadt: '/login?project=xadt',
jyd: '/design/login?project=jyd',
designjyd: '/login?project=jyd',
tky: '/design/login?project=tky',
designtky: '/login?project=tky',
bxkc: '/design/login?project=bxkc',
designbxkc: '/login?project=bxkc',
crsc: '/design/login?project=crsc',
designcrsc: '/login?project=crsc',
hls: '/design/login?project=hls',
designhls: '/login?project=hls',
hyd: '/design/login?project=hyd',
designhyd: '/login?project=hyd',
nty: '/design/login?project=nty',
designnty: '/login?project=nty',
bjd: '/design/login?project=bjd',
designbjd: '/login?project=bjd'
};
export const ProjectList = [
{value:'xty', label:'西铁院'},
{value: 'gzb', label: '贵州装备'},
{value: 'xadt', label: '西安地铁'},
{value: 'heb', label: '哈尔滨'},
{value: 'drts', label: '调度大赛'},
{value: 'nty', label: '南铁院'},
{value: 'bjd', label: '北交大'}
];