This commit is contained in:
caozehui
2024-11-07 15:54:01 +08:00
parent f08f45fb9c
commit 17c9330f32
2 changed files with 2 additions and 2 deletions

View File

@@ -137,7 +137,7 @@ const handleDelete = async (params: Dict.ResDictData) => {
const downloadFile = async () => {
ElMessageBox.confirm('确认导出字典数据?', '温馨提示', {type: 'warning'}).then(() =>
useDownload(exportDictData, '字典数据导出数据', {typeId: dictTypeId.value, ...(proTable.value?.searchParam)}, false, '.xls'),
useDownload(exportDictData, '字典数据导出数据', {typeId: dictTypeId.value, ...(proTable.value?.searchParam)}, false),
)
}
</script>

View File

@@ -108,7 +108,7 @@ const toDictData = (row: Dict.ResDictType) => {
// 导出字典类型列表
const downloadFile = async () => {
ElMessageBox.confirm('确认导出字典类型数据?', '温馨提示', { type: 'warning' }).then(() =>
useDownload(exportDictType, '字典类型导出数据', proTable.value?.searchParam, false,'.xls'),
useDownload(exportDictType, '字典类型导出数据', proTable.value?.searchParam, false),
)
}
</script>