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