根据条件导出

This commit is contained in:
lai
2024-10-17 12:02:25 +08:00
parent 249c9a5a6e
commit cf5c8906c3
3 changed files with 9 additions and 19 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({ ...queryParams, ...{ type } })
.then(res => {
if (res.code === RESULT_CODE_SUCCESS) {
message.success(t('common.msgSuccess', { msg: t('common.export') }), 3);

View File

@@ -894,13 +894,11 @@ function fnRecordExport(type: string = 'txt') {
/**列表导出 */
function fnExportList(type: string) {
const neId = queryParams.neId;
if (!neId) return;
const key = 'exportSub';
message.loading({ content: t('common.loading'), key });
exportUDMSub({
neId: neId,
type: type,
}).then(res => {
exportUDMSub({ ...queryParams, ...{ type } }).then(res => {
if (res.code === RESULT_CODE_SUCCESS) {
message.success({
content: t('common.msgSuccess', { msg: t('common.export') }),
@@ -1104,13 +1102,9 @@ function delBigRow(bigIndex: any) {
bigRows.value.splice(bigIndex, 1);
}
onMounted(() => {
// 初始字典数据
Promise.allSettled([
listTenant({ parentId: 0 }),
]).then(resArr => {
Promise.allSettled([listTenant({ parentId: 0 })]).then(resArr => {
if (resArr[0].status === 'fulfilled') {
var tenantNameData = resArr[0].value;
if (

View File

@@ -945,13 +945,12 @@ function fnRecordExport(type: string = 'txt') {
/**列表导出 */
function fnExportList(type: string) {
const neID = queryParams.neId;
const imsi = queryParams.imsi;
const msisdn = queryParams.msisdn;
if (!neID) return;
const key = 'exportSub';
message.loading({ content: t('common.loading'), key });
exportUDMSub({
neId: neID,
type: type,
}).then(res => {
exportUDMSub({ ...queryParams, ...{ type } }).then(res => {
if (res.code === RESULT_CODE_SUCCESS) {
message.success({
content: t('common.msgSuccess', { msg: t('common.export') }),