This commit is contained in:
2026-08-27 10:31:21 +08:00
parent 25f37a1d9a
commit 90e03e1faf
10 changed files with 126 additions and 16 deletions
@@ -187,7 +187,8 @@ import {
deleteJointTraining,
getJointTraining,
importJointTraining,
exportJointTraining
exportJointTraining,
downloadJointTrainingTemplate
} from '@/api/classHour/jointTraining'
export default {
@@ -433,8 +434,10 @@ export default {
},
handleDownloadTemplate() {
// 后端暂未提供模板下载接口,仅作提示
this.$message.info('后端暂未提供该接口')
downloadJointTrainingTemplate().then(blob => {
saveAs(blob, '联教连训管理.xls')
this.$message.success('模板下载成功')
}).catch(() => {})
}
}
}