|
|
@ -130,7 +130,13 @@ const buttonBaseClick = (val, item) => { |
|
|
|
handleExport() |
|
|
|
} else if (val == 'refresh') { |
|
|
|
// 刷新 |
|
|
|
getList() |
|
|
|
if (tableObject.params.filters && tableObject.params.filters.length > 0 ) { |
|
|
|
searchFormClick({ |
|
|
|
filters: tableObject.params.filters |
|
|
|
}) |
|
|
|
} else { |
|
|
|
getList() |
|
|
|
} |
|
|
|
} else if (val == 'filtrate') { |
|
|
|
// 筛选 |
|
|
|
} else { |
|
|
@ -253,7 +259,7 @@ const handleExport = async () => { |
|
|
|
await message.exportConfirm() |
|
|
|
// 发起导出 |
|
|
|
exportLoading.value = true |
|
|
|
const data = await BusinesstypeApi.exportBusinesstype(setSearchParams) |
|
|
|
const data = await BusinesstypeApi.exportBusinesstype(tableObject.params) |
|
|
|
download.excel(data, '业务类型.xlsx') |
|
|
|
} catch { |
|
|
|
} finally { |
|
|
|