gzb、xty、heb登录样式调整&项目设备登录去大屏按钮

This commit is contained in:
fan 2020-07-28 11:14:06 +08:00
parent e4a98283cc
commit 893c8846bb
3 changed files with 14 additions and 7 deletions

View File

@ -20,6 +20,7 @@ export const loginInfo = {
title: '西安铁路职业技术学院城市轨道交通实训平台', title: '西安铁路职业技术学院城市轨道交通实训平台',
loginPath:'/login?pro=xty', loginPath:'/login?pro=xty',
loginParam: 'XTY', loginParam: 'XTY',
titleDistance: '-150px',
navigationLogoWidth: '40px', navigationLogoWidth: '40px',
navigationMarginLeft: '60px' navigationMarginLeft: '60px'
}, },
@ -41,6 +42,7 @@ export const loginInfo = {
title: '西安铁路职业技术学院城市轨道交通设计平台', title: '西安铁路职业技术学院城市轨道交通设计平台',
loginPath:'/design/login?project=xty', loginPath:'/design/login?project=xty',
loginParam: 'XTY', loginParam: 'XTY',
titleDistance: '-150px',
navigationLogoWidth: '40px', navigationLogoWidth: '40px',
navigationMarginLeft: '60px' navigationMarginLeft: '60px'
}, },
@ -48,12 +50,14 @@ export const loginInfo = {
title: '贵州装备制造职业学院城市轨道交通实训平台', title: '贵州装备制造职业学院城市轨道交通实训平台',
loginPath:'/login?project=gzb', loginPath:'/login?project=gzb',
loginParam: 'GZB', loginParam: 'GZB',
titleDistance: '-150px',
navigationLogoWidth: '40px', navigationLogoWidth: '40px',
navigationMarginLeft: '60px' navigationMarginLeft: '60px'
}, },
designgzb: { designgzb: {
title: '贵州装备制造职业学院城市轨道交通设计平台', title: '贵州装备制造职业学院城市轨道交通设计平台',
loginPath:'/design/login?project=gzb', loginPath:'/design/login?project=gzb',
titleDistance: '-150px',
loginParam: 'GZB', loginParam: 'GZB',
navigationLogoWidth: '40px', navigationLogoWidth: '40px',
navigationMarginLeft: '60px' navigationMarginLeft: '60px'
@ -63,6 +67,7 @@ export const loginInfo = {
loginTitle: '城市轨道交通综合行车模拟仿真系统V1.0', loginTitle: '城市轨道交通综合行车模拟仿真系统V1.0',
logoWidth: '140px', logoWidth: '140px',
loginPath: '/login?project=heb', loginPath: '/login?project=heb',
titleDistance: '150px',
bottomColumn: '哈尔滨盈达科技有限公司 联系电话:0451-87001273', bottomColumn: '哈尔滨盈达科技有限公司 联系电话:0451-87001273',
loginParam: 'HEB', loginParam: 'HEB',
navigationLogoWidth: '120px', navigationLogoWidth: '120px',
@ -72,6 +77,7 @@ export const loginInfo = {
title: '城市轨道交通设计平台V1.0', title: '城市轨道交通设计平台V1.0',
loginTitle: '城市轨道交通设计平台V1.0', loginTitle: '城市轨道交通设计平台V1.0',
logoWidth: '140px', logoWidth: '140px',
titleDistance: '150px',
loginPath: '/design/login?project=heb', loginPath: '/design/login?project=heb',
bottomColumn: '哈尔滨盈达科技有限公司 联系电话:0451-87001273', bottomColumn: '哈尔滨盈达科技有限公司 联系电话:0451-87001273',
loginParam: 'HEB', loginParam: 'HEB',

View File

@ -197,7 +197,6 @@ export default {
} }
}, },
loginTitle () { loginTitle () {
// this.$route.path.split('/')[1]
return loginInfo[this.project].loginTitle; return loginInfo[this.project].loginTitle;
}, },
title() { title() {
@ -591,7 +590,9 @@ export default {
.text-box{ .text-box{
font-size: 40px; font-size: 40px;
font-weight: bold; font-weight: bold;
top: -50px; top: 150px;
width: 1000px;
text-align: center;
position: absolute; position: absolute;
} }
.left-logo-box{ .left-logo-box{

View File

@ -4,7 +4,7 @@
<el-option v-for="item in stationList" :key="item.value" :label="item.name" :value="item.value" /> <el-option v-for="item in stationList" :key="item.value" :label="item.name" :value="item.value" />
</el-select> </el-select>
<el-button-group> <el-button-group>
<el-button v-if="userRole=== 'DISPATCHER'" size="small" @click="goBigScreen">大屏</el-button> <el-button v-if="userRole=== 'DISPATCHER' && !$route.query.projectDevice" size="small" @click="goBigScreen">大屏</el-button>
<el-button v-if="runing && !dataError" size="small" :disabled="viewDisabled" @click="viewRunPlan">{{ $t('joinTraining.runGraphPreview') }}</el-button> <el-button v-if="runing && !dataError" size="small" :disabled="viewDisabled" @click="viewRunPlan">{{ $t('joinTraining.runGraphPreview') }}</el-button>
<template v-if="isAdmin"> <template v-if="isAdmin">
<el-button v-if="!runing && !dataError" size="small" type="warning" @click="loadRunPlan"> <el-button v-if="!runing && !dataError" size="small" type="warning" @click="loadRunPlan">