2020-04-16 13:47:40 +08:00
|
|
|
|
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';
|
2020-04-16 16:14:28 +08:00
|
|
|
|
import FaviconXadt from '@/assets/icon/favicon_xas.png';
|
2020-04-16 17:11:46 +08:00
|
|
|
|
import { LoginParams } from '@/utils/login';
|
2020-04-16 13:47:40 +08:00
|
|
|
|
|
2020-04-16 17:11:46 +08:00
|
|
|
|
export const loginInfo = { // 页面title & 退出登录跳转路径
|
2020-04-16 13:47:40 +08:00
|
|
|
|
xty: {
|
|
|
|
|
title: '西安铁路职业技术学院城市轨道交通实训平台',
|
|
|
|
|
loginPath: '/xty/login'
|
|
|
|
|
},
|
|
|
|
|
login: {
|
|
|
|
|
title: LangStorage.getLang() == 'en' ? ' Urban Rail Transit Practical Training Platform' : '城市轨道交通实训平台',
|
|
|
|
|
loginPath: '/login'
|
|
|
|
|
},
|
|
|
|
|
design: {
|
|
|
|
|
title: LangStorage.getLang() == 'en' ? ' Urban Rail Transit Design Platform' : '城市轨道交通设计平台',
|
|
|
|
|
loginPath: '/design/login'
|
|
|
|
|
},
|
|
|
|
|
designxty: {
|
|
|
|
|
title: '西安铁路职业技术学院城市轨道交通设计平台',
|
|
|
|
|
loginPath: '/designxty/login'
|
|
|
|
|
},
|
|
|
|
|
gzb: {
|
|
|
|
|
title: '贵州装备制造职业学院城市轨道交通实训平台',
|
|
|
|
|
loginPath: '/gzb/login'
|
|
|
|
|
},
|
|
|
|
|
designgzb: {
|
|
|
|
|
title: '贵州装备制造职业学院城市轨道交通设计平台',
|
|
|
|
|
loginPath: '/designgzb/login'
|
|
|
|
|
},
|
|
|
|
|
hyd: {
|
2020-05-29 11:08:38 +08:00
|
|
|
|
title: '城市轨道交通综合行车模拟仿真系统',
|
2020-04-16 13:47:40 +08:00
|
|
|
|
loginPath: '/login'
|
|
|
|
|
},
|
|
|
|
|
designhyd: {
|
|
|
|
|
title: '城市轨道交通设计平台',
|
|
|
|
|
loginPath: '/design/login'
|
|
|
|
|
},
|
2020-04-16 16:14:28 +08:00
|
|
|
|
xadt: {
|
2020-04-21 15:47:25 +08:00
|
|
|
|
title: '城市轨道交通实训平台',
|
|
|
|
|
loginTitle: '调度一部',
|
|
|
|
|
homeTitle: '调度一部',
|
|
|
|
|
browserTitle: '西安地铁调度一部城市轨道交通实训平台',
|
2020-04-16 16:14:28 +08:00
|
|
|
|
loginPath: '/xadt/login'
|
2020-04-16 13:47:40 +08:00
|
|
|
|
},
|
2020-04-16 16:14:28 +08:00
|
|
|
|
designxadt: {
|
2020-04-21 15:47:25 +08:00
|
|
|
|
title: '城市轨道交通设计平台',
|
|
|
|
|
loginTitle: '调度一部',
|
|
|
|
|
homeTitle: '调度一部',
|
|
|
|
|
browserTitle: '西安地铁调度一部城市轨道交通设计平台',
|
2020-04-16 16:14:28 +08:00
|
|
|
|
loginPath: '/designxadt/login'
|
2020-05-15 11:12:06 +08:00
|
|
|
|
},
|
2020-05-15 11:29:24 +08:00
|
|
|
|
jsxt:{
|
|
|
|
|
title: '城市轨道交通竞赛平台',
|
2020-05-15 14:50:05 +08:00
|
|
|
|
loginPath: '/jsxt/login'
|
|
|
|
|
},
|
|
|
|
|
refereeJsxt:{
|
|
|
|
|
title: '城市轨道交通裁判平台',
|
|
|
|
|
loginPath: '/refereeJsxt/login'
|
2020-04-16 13:47:40 +08:00
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export const ProjectIcon = {
|
|
|
|
|
xty: FaviconXty,
|
|
|
|
|
login: Favicon,
|
|
|
|
|
design: Favicon,
|
|
|
|
|
designxty: FaviconXty,
|
|
|
|
|
gzb: FaviconGzb,
|
|
|
|
|
designgzb:FaviconGzb,
|
|
|
|
|
hyd: FaviconHyd,
|
|
|
|
|
designhyd: FaviconHyd,
|
2020-04-16 16:14:28 +08:00
|
|
|
|
xadt: FaviconXadt,
|
2020-05-15 11:31:22 +08:00
|
|
|
|
designxadt: FaviconXadt,
|
2020-05-15 14:50:05 +08:00
|
|
|
|
jsxt: Favicon,
|
|
|
|
|
refereeJsxt: Favicon
|
2020-04-16 13:47:40 +08:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export const ProjectCode = {
|
|
|
|
|
xty: 'XTY',
|
|
|
|
|
designxty: 'XTY',
|
|
|
|
|
gzb: 'GZB',
|
|
|
|
|
designgzb: 'GZB',
|
2020-04-16 16:25:49 +08:00
|
|
|
|
hyd: 'HYD',
|
|
|
|
|
designhyd: 'HYD',
|
|
|
|
|
xadt: 'XADT',
|
|
|
|
|
designxadt: 'XADT'
|
2020-04-16 13:47:40 +08:00
|
|
|
|
};
|
2020-04-16 16:25:49 +08:00
|
|
|
|
export const GetMapListByProjectList = ['xty', 'designxty', 'gzb', 'designgzb', 'xadt', 'designxadt']; // 实训设计平台通过项目code获取地图列表的项目
|
2020-04-16 13:47:40 +08:00
|
|
|
|
export const CaseHideProjectList = ['hyd', 'designhyd']; // 案例展示隐藏的项目
|
2020-05-15 14:50:05 +08:00
|
|
|
|
export const GenerateRouteProjectList = ['xty', 'designxty', 'gzb', 'designgzb', 'xadt', 'designxadt', 'jsxt', 'refereeJsxt'];// 需要在公共路由中生成登录页面的项目&登录页样式
|
2020-04-16 17:11:46 +08:00
|
|
|
|
export const goOtherPlatformMenu = { // 导航栏快速切换平台
|
2020-04-16 13:47:40 +08:00
|
|
|
|
login: '/design/login',
|
|
|
|
|
design: '/login',
|
|
|
|
|
xty: '/designxty/login',
|
|
|
|
|
designxty: '/xty/login',
|
|
|
|
|
gzb: '/designgzb/login',
|
|
|
|
|
designgzb: '/gzb/login',
|
|
|
|
|
hyd: '/design/login',
|
|
|
|
|
designhyd: '/login',
|
2020-04-16 16:14:28 +08:00
|
|
|
|
xadt: '/designxadt/login',
|
|
|
|
|
designxadt: '/xadt/login'
|
2020-04-16 13:47:40 +08:00
|
|
|
|
};
|
2020-04-16 17:11:46 +08:00
|
|
|
|
export const PermissionParam = { // 路径权限处理所需参数配置(跳转白名单&路径正则匹配&clientId)
|
2020-05-21 15:03:42 +08:00
|
|
|
|
hyd: {
|
|
|
|
|
systemType: '011'
|
|
|
|
|
},
|
|
|
|
|
designhyd: {
|
|
|
|
|
systemType: '011'
|
|
|
|
|
},
|
2020-05-20 13:25:31 +08:00
|
|
|
|
login: {
|
|
|
|
|
systemType: '011'
|
|
|
|
|
},
|
|
|
|
|
design: {
|
|
|
|
|
systemType: '011'
|
|
|
|
|
},
|
2020-04-16 17:11:46 +08:00
|
|
|
|
designxty: {
|
|
|
|
|
whitePage: '/designxty/login',
|
|
|
|
|
reg: /^\/designxty/,
|
2020-05-20 13:25:31 +08:00
|
|
|
|
systemType: '013',
|
2020-04-16 17:11:46 +08:00
|
|
|
|
clientId: LoginParams.Design.clientId
|
|
|
|
|
},
|
|
|
|
|
designgzb: {
|
|
|
|
|
whitePage: '/designgzb/login',
|
|
|
|
|
reg: /^\/designgzb/,
|
2020-05-20 13:25:31 +08:00
|
|
|
|
systemType: '014',
|
2020-04-16 17:11:46 +08:00
|
|
|
|
clientId: LoginParams.Design.clientId
|
|
|
|
|
},
|
|
|
|
|
designxadt: {
|
|
|
|
|
whitePage: '/designxadt/login',
|
|
|
|
|
reg: /^\/designxadt/,
|
2020-05-20 13:25:31 +08:00
|
|
|
|
systemType: '012',
|
2020-04-16 17:11:46 +08:00
|
|
|
|
clientId: LoginParams.Design.clientId
|
|
|
|
|
},
|
|
|
|
|
xty: {
|
|
|
|
|
whitePage: '/xty/login',
|
|
|
|
|
reg: /^\/xty/,
|
2020-05-20 13:25:31 +08:00
|
|
|
|
systemType: '013',
|
2020-04-16 17:11:46 +08:00
|
|
|
|
clientId: null
|
|
|
|
|
},
|
|
|
|
|
gzb: {
|
|
|
|
|
whitePage: '/gzb/login',
|
|
|
|
|
reg: /^\/gzb/,
|
2020-05-20 13:25:31 +08:00
|
|
|
|
systemType: '014',
|
2020-04-16 17:11:46 +08:00
|
|
|
|
clientId: null
|
|
|
|
|
},
|
|
|
|
|
xadt: {
|
|
|
|
|
whitePage: '/xadt/login',
|
|
|
|
|
reg: /^\/xadt/,
|
2020-05-20 13:25:31 +08:00
|
|
|
|
systemType: '012',
|
2020-04-16 17:11:46 +08:00
|
|
|
|
clientId: null
|
2020-05-15 11:29:24 +08:00
|
|
|
|
},
|
|
|
|
|
jsxt: {
|
|
|
|
|
whitePage: '/jsxt/login',
|
|
|
|
|
reg: /^\/jsxt/,
|
2020-05-20 13:25:31 +08:00
|
|
|
|
systemType: '015',
|
2020-05-15 11:29:24 +08:00
|
|
|
|
clientId: null
|
2020-05-15 14:50:05 +08:00
|
|
|
|
},
|
|
|
|
|
refereeJsxt: {
|
|
|
|
|
whitePage: '/refereeJsxt/login',
|
|
|
|
|
reg: /^\/refereeJsxt/,
|
2020-05-20 13:25:31 +08:00
|
|
|
|
systemType: '015',
|
2020-05-19 09:03:38 +08:00
|
|
|
|
clientId: LoginParams.Design.clientId
|
2020-04-16 17:11:46 +08:00
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
export const ProjectList = [
|
|
|
|
|
{value:'xty', label:'西铁院'},
|
|
|
|
|
{value: 'gzb', label: '贵州装备'},
|
|
|
|
|
{value: 'xadt', label: '西安地铁'}
|
|
|
|
|
];
|