新增题库批量导入模板下载

This commit is contained in:
18571350067 2021-11-08 10:50:41 +08:00
parent ab7007d7b4
commit e8d5230427
1 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,7 @@
<div class="questionDetail">
<br />
<a-button type="primary" class="create-button" style="font-size: 15px; margin:0px 10px 10px 0px" @click="questionBatch" > 批量导入 </a-button>
<a-button type="primary" class="create-button" style="font-size: 15px; margin:0px 10px 10px 0px" @click="questionBatchDownload" > 模板下载 </a-button>
<b><h1 class="questionContent">课程题目库预览</h1></b>
<a-divider :style="{ backgroundColor: '#000' }" />
<div class="question">
@ -103,6 +104,9 @@ export default {
questionBatch(){
alert('批量导入')
courseId:this.$route.query.id
},
questionBatchDownload(){
window.location.href="/dawa/sys/oss/show/20211108/2420f1de94174bb8a0fb1a2f1e9e1742.xlsx";
}
},
}