增加导出时携带完整搜索条件

This commit is contained in:
lai committed 2024-10-17 14:51:55 +08:00
1 parent 41fa214137
commit 1ecefb91dc
2 files changed
+2 -8

No files matched your search

+1 -4
View File
@@ -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({ ...queryParams, ...{ type } })
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);
+1 -4
View File
@@ -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({ ...queryParams, ...{ type } }).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') }),