update 导出/下载模板改为.xls
This commit is contained in:
@@ -400,7 +400,7 @@ export const ConfigurableTableMixin = {
|
||||
})
|
||||
},
|
||||
// 下载导入模板
|
||||
downTemplate (fileName, fileSuffix = '.xlsx') {
|
||||
downTemplate (fileName, fileSuffix = '.xls') {
|
||||
if (!fileName || typeof fileName !== 'string') {
|
||||
fileName = '模板文件'
|
||||
}
|
||||
|
||||
@@ -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 = '模板文件'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user