diff --git a/src/i18n/langs/en/global.js b/src/i18n/langs/en/global.js index e08c0b7c1..ad17f65c5 100644 --- a/src/i18n/langs/en/global.js +++ b/src/i18n/langs/en/global.js @@ -164,5 +164,7 @@ export default { simulationSystem: 'The simulation system', lessonSystem: 'The lesson system', examSystem: 'The exam system', - personalDetails: 'information' + personalDetails: 'information', + trainingPlatformEntrance: 'Training platform entrance', + designPlatformEntrance: 'Design platform entrance' }; diff --git a/src/i18n/langs/zh/global.js b/src/i18n/langs/zh/global.js index 3b4e73a2e..8764987a2 100644 --- a/src/i18n/langs/zh/global.js +++ b/src/i18n/langs/zh/global.js @@ -164,5 +164,7 @@ export default { simulationSystem: '仿真系统', lessonSystem: '教学系统', examSystem: '考试系统', - personalDetails: '个人信息' + personalDetails: '个人信息', + trainingPlatformEntrance: '实训平台入口', + designPlatformEntrance: '设计平台入口' }; diff --git a/src/layout/components/Entry.vue b/src/layout/components/Entry.vue index bf14ea208..5cb832b3a 100644 --- a/src/layout/components/Entry.vue +++ b/src/layout/components/Entry.vue @@ -1,21 +1,23 @@ diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 6ee0798fb..933002e60 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -1,7 +1,7 @@
- - -
- 实训平台入口 -
+
@@ -88,7 +80,6 @@ import { mapGetters } from 'vuex'; import UserLogout from './Logout'; import QuickEntry from './Entry'; import SystemTitle from './Title'; -import { getSessionStorage } from '@/utils/auth'; export default { components: { @@ -100,8 +91,7 @@ export default { return { routes: [], isShow: false, - activePath: '', - isRoute: true + activePath: '' }; }, computed: { @@ -111,14 +101,7 @@ export default { ]) }, mounted() { - this.routes = this.$router.options.routes; - if (getSessionStorage('design')) { - this.isShow=false; - this.isRoute = true; - } else { - this.isShow=true; - this.isRoute = false; - } + this.routes = this.$router.options.routes; if (this.$route.fullPath.indexOf('design/userlist')>=0) { this.activePath='/design/userlist/home'; } else if (this.$route.fullPath.indexOf('design/lesson')>=0 || this.$route.fullPath.indexOf('design/script')>=0 || this.$route.fullPath.indexOf('design/runPlan')>=0) { @@ -159,7 +142,7 @@ export default { return true; } return false; - }, + } } }; diff --git a/src/scripts/ConstDic.js b/src/scripts/ConstDic.js index 24c8bc2bc..ae90a8762 100644 --- a/src/scripts/ConstDic.js +++ b/src/scripts/ConstDic.js @@ -2198,7 +2198,7 @@ export const IbpOperation = { }; export const loginTitle = { - xty: '西铁院城市轨道交通实训平台', + xty: '西铁院实训平台', login: '城市轨道交通实训平台', design: '城市轨道交通设计平台' }; diff --git a/src/views/login/index.vue b/src/views/login/index.vue index e5bdd1bc0..7e11c5114 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -35,7 +35,7 @@ -
{{ $t('login.welcomeTo') + '城市轨道交通实训平台' }}
+
{{ $t('login.welcomeTo') + title }}