fix: UDM用户数据按查询条件导出

This commit is contained in:
TsMask
2024-10-17 11:39:17 +08:00
parent 1565f25a03
commit 72d9895902
2 changed files with 2 additions and 8 deletions

View File

@@ -517,10 +517,7 @@ function fnExportList(type: string) {
if (!neId) return;
const hide = message.loading(t('common.loading'), 0);
exportUDMAuth({
neId: neId,
type: type,
})
exportUDMAuth(Object.assign({ type: type }, queryParams))
.then(res => {
if (res.code === RESULT_CODE_SUCCESS) {
message.success(t('common.msgSuccess', { msg: t('common.export') }), 3);

View File

@@ -878,10 +878,7 @@ function fnExportList(type: string) {
if (!neId) return;
const key = 'exportSub';
message.loading({ content: t('common.loading'), key });
exportUDMSub({
neId: neId,
type: type,
}).then(res => {
exportUDMSub(Object.assign({ type: type }, queryParams)).then(res => {
if (res.code === RESULT_CODE_SUCCESS) {
message.success({
content: t('common.msgSuccess', { msg: t('common.export') }),