fix: UDM用户数据按查询条件导出
This commit is contained in:
@@ -517,10 +517,7 @@ function fnExportList(type: string) {
|
|||||||
if (!neId) return;
|
if (!neId) return;
|
||||||
|
|
||||||
const hide = message.loading(t('common.loading'), 0);
|
const hide = message.loading(t('common.loading'), 0);
|
||||||
exportUDMAuth({
|
exportUDMAuth(Object.assign({ type: type }, queryParams))
|
||||||
neId: neId,
|
|
||||||
type: type,
|
|
||||||
})
|
|
||||||
.then(res => {
|
.then(res => {
|
||||||
if (res.code === RESULT_CODE_SUCCESS) {
|
if (res.code === RESULT_CODE_SUCCESS) {
|
||||||
message.success(t('common.msgSuccess', { msg: t('common.export') }), 3);
|
message.success(t('common.msgSuccess', { msg: t('common.export') }), 3);
|
||||||
|
|||||||
@@ -878,10 +878,7 @@ function fnExportList(type: string) {
|
|||||||
if (!neId) return;
|
if (!neId) return;
|
||||||
const key = 'exportSub';
|
const key = 'exportSub';
|
||||||
message.loading({ content: t('common.loading'), key });
|
message.loading({ content: t('common.loading'), key });
|
||||||
exportUDMSub({
|
exportUDMSub(Object.assign({ type: type }, queryParams)).then(res => {
|
||||||
neId: neId,
|
|
||||||
type: type,
|
|
||||||
}).then(res => {
|
|
||||||
if (res.code === RESULT_CODE_SUCCESS) {
|
if (res.code === RESULT_CODE_SUCCESS) {
|
||||||
message.success({
|
message.success({
|
||||||
content: t('common.msgSuccess', { msg: t('common.export') }),
|
content: t('common.msgSuccess', { msg: t('common.export') }),
|
||||||
|
|||||||
Reference in New Issue
Block a user