Commit aa839a1e authored by jingnan's avatar jingnan 👀

合并产品【10230】【测评】组织、用户的导出、下载导入模板,文件名后缀要带密级,密级要提供配置

parent 73a59c0f
...@@ -263,7 +263,9 @@ export default { ...@@ -263,7 +263,9 @@ export default {
// 下载 // 下载
onDownload() { onDownload() {
downloadFile(`/DxGroup/exportTemplate`, 'post').then(res => { downloadFile(`/DxGroup/exportTemplate`, 'post').then(res => {
this.$utils.downLoadFile(res, '群组导入模板.xlsx') let fileName = res.headers['content-disposition'] || ''
fileName = fileName.substring(fileName.indexOf('=') + 1, fileName.length)
this.$utils.downLoadFile(res, decodeURIComponent(fileName))
}) })
}, },
// 导出 // 导出
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment