完善搜索时带上匹配模式后的imsi
This commit is contained in:
@@ -894,11 +894,15 @@ function fnRecordExport(type: string = 'txt') {
|
||||
/**列表导出 */
|
||||
function fnExportList(type: string) {
|
||||
const neId = queryParams.neId;
|
||||
|
||||
const imsiMatchRule: any = {
|
||||
prefix: queryParams.imsi ? `${queryParams.imsi}%` : '',
|
||||
fuzzy: queryParams.imsi ? `%${queryParams.imsi}%` : '',
|
||||
};
|
||||
const realImsi = imsiMatchRule[queryParams.imsiMatch] || '';
|
||||
if (!neId) return;
|
||||
const key = 'exportSub';
|
||||
message.loading({ content: t('common.loading'), key });
|
||||
exportUDMSub({ ...queryParams, ...{ type } }).then(res => {
|
||||
exportUDMSub({ ...queryParams, ...{ type, imsi: realImsi } }).then(res => {
|
||||
if (res.code === RESULT_CODE_SUCCESS) {
|
||||
message.success({
|
||||
content: t('common.msgSuccess', { msg: t('common.export') }),
|
||||
|
||||
@@ -945,12 +945,15 @@ function fnRecordExport(type: string = 'txt') {
|
||||
/**列表导出 */
|
||||
function fnExportList(type: string) {
|
||||
const neID = queryParams.neId;
|
||||
const imsi = queryParams.imsi;
|
||||
const msisdn = queryParams.msisdn;
|
||||
const imsiMatchRule: any = {
|
||||
prefix: queryParams.imsi ? `${queryParams.imsi}%` : '',
|
||||
fuzzy: queryParams.imsi ? `%${queryParams.imsi}%` : '',
|
||||
};
|
||||
const realImsi = imsiMatchRule[queryParams.imsiMatch] || '';
|
||||
if (!neID) return;
|
||||
const key = 'exportSub';
|
||||
message.loading({ content: t('common.loading'), key });
|
||||
exportUDMSub({ ...queryParams, ...{ type } }).then(res => {
|
||||
exportUDMSub({ ...queryParams, ...{ type, imsi: realImsi } }).then(res => {
|
||||
if (res.code === RESULT_CODE_SUCCESS) {
|
||||
message.success({
|
||||
content: t('common.msgSuccess', { msg: t('common.export') }),
|
||||
|
||||
Reference in New Issue
Block a user