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;" /> <i class="el-icon-caret-bottom" style="color: #909399;" />
</div> </div>
<el-dropdown-menu slot="dropdown" class="user-dropdown"> <el-dropdown-menu slot="dropdown" class="user-dropdown">
<el-dropdown-item> <el-dropdown-item v-for="(el, i) in caseList" :key="i">
<span style="display:block;" @click="goToCaseShow">西安铁路职业技术学院</span> <span style="display:block;" @click="goToCaseShow(el)">{{el.name}}</span>
</el-dropdown-item>
<el-dropdown-item>
<span style="display:block;" @click="goToCase">贵州装备制造职业学院</span>
</el-dropdown-item> </el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
@ -85,7 +82,21 @@ export default {
hidden: getSessionStorage('project').endsWith('heb') hidden: getSessionStorage('project').endsWith('heb')
} }
], ],
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, stomp: null,
header: null, header: null,
lang: 'zh' lang: 'zh'
@ -134,13 +145,8 @@ export default {
window.open(href, '_blank'); window.open(href, '_blank');
}, },
goEmpty() {}, goEmpty() {},
goToCaseShow() { goToCaseShow(item) {
const href = 'https://joylink.club/oss/portal/cases/西安铁路职业技术学院.pdf'; window.open(item.url, '_blank');
window.open(href, '_blank');
},
goToCase() {
const href = 'https://joylink.club/oss/portal/cases/贵州装备制造职业学院机电技术专业实训室建设.pdf';
window.open(href, '_blank');
}, },
goToTraining() { goToTraining() {
const routeData = this.$router.resolve({ const routeData = this.$router.resolve({