添加案例展示

This commit is contained in:
joylink_cuiweidong 2019-11-27 13:43:08 +08:00
parent e66ddd1b84
commit 0a216685c2
4 changed files with 20 additions and 6 deletions

View File

@ -175,7 +175,8 @@ export default {
processFailure: 'Process failure',
enterLastStep: 'Please enter a hint and click next',
pleaseOpearte: 'Please proceed',
help: 'help',
help: 'Help',
caseShow:'CaseShow',
city: 'City',
simulationSystem: 'Simulation System',
lessonSystem: 'Teaching System',

View File

@ -176,6 +176,7 @@ export default {
enterLastStep: '请输入提示并点击下一步',
pleaseOpearte: '请开始操作',
help: '帮助',
caseShow:'案例展示',
city: '城市',
simulationSystem: '仿真系统',
lessonSystem: '教学系统',

View File

@ -49,11 +49,20 @@ export default {
handle: this.quickEntry,
hidden: getSessionStorage('project').startsWith('design')
},
{
name: 'global.help',
handle: this.goToHelp
},
{
name: 'global.caseShow',
handle: this.goToCaseShow
},
{
name: LangStorage.getLang('zh') === 'zh' ? 'English' : '中文',
handle: this.switchLanguage,
tip: true
}
],
stomp: null,
header: null,
@ -89,6 +98,14 @@ export default {
});
window.open(routeData.href, '_blank');
},
goToHelp() {
const href = 'https://joylink.club/helps/help1.pdf';
window.open(href, '_blank');
},
goToCaseShow() {
const href = 'https://joylink.club/helps/caseshow.pdf';
window.open(href, '_blank');
},
goToTraining() {
const routeData = this.$router.resolve({
path: this.getPath()

View File

@ -10,11 +10,6 @@
<el-dropdown-item>
<span style="display:block;" @click="handleDetail">{{ $t('global.personalDetails') }}</span>
</el-dropdown-item>
<el-dropdown-item>
<a href="https://joylink.club/helps/help1.pdf" target="frame1">
<span style="display:block;">{{ $t('global.help') }}</span>
</a>
</el-dropdown-item>
<el-dropdown-item>
<span style="display:block;" @click="logout">{{ $t('global.exit') }}</span>
</el-dropdown-item>