rt-sim-training-client/src/scripts/ProjectConfig.js

85 lines
2.6 KiB
JavaScript

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 FaviconXas from '@/assets/icon/favicon_xas.png';
export const loginInfo = {
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: {
title: '城市轨道交通实训平台',
loginPath: '/login'
},
designhyd: {
title: '城市轨道交通设计平台',
loginPath: '/design/login'
},
XiAnSubway: {
title: '西安地铁城市轨道交通实训平台',
loginPath: '/XiAnSubway/login'
},
designXiAnSubway: {
title: '西安地铁城市轨道交通设计平台',
loginPath: '/designXiAnSubway/login'
}
};
export const ProjectIcon = {
xty: FaviconXty,
login: Favicon,
design: Favicon,
designxty: FaviconXty,
gzb: FaviconGzb,
designgzb:FaviconGzb,
hyd: FaviconHyd,
designhyd: FaviconHyd,
XiAnSubway: FaviconXas,
designXiAnSubway: FaviconXas
};
export const ProjectCode = {
xty: 'XTY',
designxty: 'XTY',
gzb: 'GZB',
designgzb: 'GZB',
hyd: 'HYD'
};
export const GetMapListByProjectList = ['xty', 'designxty', 'gzb', 'designgzb']; // 实训设计平台通过项目code获取地图列表的项目
export const CaseHideProjectList = ['hyd', 'designhyd']; // 案例展示隐藏的项目
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',
XiAnSubway: '/designXiAnSubway/login',
designXiAnSubway: '/XiAnSubway/login'
};