feat: 带查询参数的导出

This commit is contained in:
dap
2024-10-07 17:11:08 +08:00
parent 0f31c8df57
commit 81e2fa856a
11 changed files with 77 additions and 11 deletions

View File

@@ -170,7 +170,13 @@ function handleAssignRole(record: Recordable<any>) {
<Space>
<a-button
v-access:code="['system:role:export']"
@click="downloadExcel(roleExport, '角色数据', {})"
@click="
downloadExcel(
roleExport,
'角色数据',
tableApi.formApi.form.values,
)
"
>
{{ $t('pages.common.export') }}
</a-button>