This commit is contained in:
2026-09-02 15:00:12 +08:00
parent 4c9cfb8d7f
commit 933af8ca13
7 changed files with 4 additions and 54 deletions
@@ -63,8 +63,6 @@
<div class="action-row">
<el-button type="primary" icon="el-icon-plus" @click="handleOpenDialog">新建课程科目</el-button>
<el-button type="danger" plain icon="el-icon-delete" @click="handleBatchDelete">删除所选</el-button>
<el-button icon="el-icon-download" @click="handleDownloadCourse">下载课程科目基本信息</el-button>
<el-button icon="el-icon-download" @click="handleDownloadTextbook">下载课程教材基本信息</el-button>
</div>
<div class="action-row">
<el-button icon="el-icon-download" @click="handleDownloadTemplate">课程科目数据文件模板下载</el-button>
@@ -517,12 +515,6 @@ export default {
},
// ==================== 下载 ====================
handleDownloadCourse() {
this.$message.warning('后端暂未提供该接口')
},
handleDownloadTextbook() {
this.$message.warning('后端暂未提供该接口')
},
handleDownloadTemplate() {
downloadCourseSubjectTemplate().then(blob => {
saveAs(blob, '课程课目数据文件模板.xls')