lVAL 2021-01-22 11:15:13 +08:00
parent 277252916c
commit 6d443c9bd0

View File

@ -13,11 +13,8 @@
<i class="el-icon-caret-bottom" style="color: #909399;" />
</div>
<el-dropdown-menu slot="dropdown" class="user-dropdown">
<el-dropdown-item>
<span style="display:block;" @click="goToCaseShow">西安铁路职业技术学院</span>
</el-dropdown-item>
<el-dropdown-item>
<span style="display:block;" @click="goToCase">贵州装备制造职业学院</span>
<el-dropdown-item v-for="(el, i) in caseList" :key="i">
<span style="display:block;" @click="goToCaseShow(el)">{{el.name}}</span>
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
@ -86,6 +83,20 @@ export default {
}
],
caseList: [
{
name: '西安铁路职业技术学院',
url: 'https://joylink.club/oss/portal/cases/西安铁路职业技术学院.pdf'
},
{
name: '贵州装备制造职业学院',
url: 'https://joylink.club/oss/portal/cases/贵州装备制造职业学院机电技术专业实训室建设.pdf'
},
{
name: '江苏电子信息职业学院',
url: 'https://joylink.club/oss/portal/cases/江苏电子信息职业学院-城市轨道交通行车组织综合实训室.pdf'
}
],
stomp: null,
header: null,
lang: 'zh'
@ -134,13 +145,8 @@ export default {
window.open(href, '_blank');
},
goEmpty() {},
goToCaseShow() {
const href = 'https://joylink.club/oss/portal/cases/西安铁路职业技术学院.pdf';
window.open(href, '_blank');
},
goToCase() {
const href = 'https://joylink.club/oss/portal/cases/贵州装备制造职业学院机电技术专业实训室建设.pdf';
window.open(href, '_blank');
goToCaseShow(item) {
window.open(item.url, '_blank');
},
goToTraining() {
const routeData = this.$router.resolve({