update 导出/下载模板改为.xls

This commit is contained in:
赵霄
2023-12-14 13:39:46 +08:00
parent 297051777c
commit ef4e90a146
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -400,7 +400,7 @@ export const ConfigurableTableMixin = {
})
},
// 下载导入模板
downTemplate (fileName, fileSuffix = '.xlsx') {
downTemplate (fileName, fileSuffix = '.xls') {
if (!fileName || typeof fileName !== 'string') {
fileName = '模板文件'
}
+2 -2
View File
@@ -300,7 +300,7 @@ export const JeroListMixin = {
const paramsStr = encodeURI(JSON.stringify(this.getQueryParams()))
window.location.href = `${window._CONFIG.domianURL}/${this.url.exportXlsUrl}?paramsStr=${paramsStr}`
},
handleExportXls (fileName, fileSuffix = '.xlsx') {
handleExportXls (fileName, fileSuffix = '.xls') {
if (!fileName || typeof fileName !== 'string') {
fileName = '导出文件'
}
@@ -486,7 +486,7 @@ export const JeroListMixin = {
window.open(url)
},
// 下载导入模板
downTemplate (fileName, fileSuffix = '.xlsx') {
downTemplate (fileName, fileSuffix = '.xls') {
if (!fileName || typeof fileName !== 'string') {
fileName = '模板文件'
}
@@ -169,7 +169,7 @@ export default {
this.form.setFieldsValue({ title: name })
},
// 下载导入模板
downTemplate (fileName, fileSuffix = '.xlsx') {
downTemplate (fileName, fileSuffix = '.xls') {
if (!fileName || typeof fileName !== 'string') {
fileName = '模板文件'
}