人才培养方案

This commit is contained in:
2026-09-20 11:59:04 +08:00
parent e4f4720113
commit 9f0c0ac873
9 changed files with 280 additions and 48 deletions
+3 -3
View File
@@ -83,12 +83,12 @@ export function exportTrainingProgram() {
}
/**
* 下载培养方案导入模板(返回 Blob)
* GET /download/training-program
* 下载培养方案目录导入模板(返回 Blob)
* GET /training/template
*/
export function downloadTrainingProgramTemplate() {
return request({
url: '/download/training-program',
url: '/training/template',
method: 'get',
responseType: 'blob'
})
@@ -631,7 +631,7 @@ export default {
},
handleTemplateDownload() {
downloadTrainingProgramTemplate().then(blob => {
saveAs(blob, '人才培养方案课程数据文件模板.xls')
saveAs(blob, '人才培养方案目录模板.xlsx')
this.$message.success('模板下载成功')
}).catch(() => {})
},