fix: 批量删除imsi超时时间

This commit is contained in:
TsMask
2024-01-12 15:39:47 +08:00
parent a89c028c18
commit d01b9432da
4 changed files with 4 additions and 2 deletions

View File

@@ -115,6 +115,7 @@ export function delAuth(neId: string, imsi: string) {
return request({
url: `/ne/udm/auth/${neId}/${imsi}`,
method: 'delete',
timeout: 180_000,
});
}

View File

@@ -118,6 +118,7 @@ export function delSub(neId: string, imsi: string) {
return request({
url: `/ne/udm/sub/${neId}/${imsi}`,
method: 'delete',
timeout: 180_000,
});
}

View File

@@ -508,7 +508,7 @@ function fnRecordDelete(imsi: string) {
content: t('views.neUser.auth.delSure', { imsi: imsiMsg }),
onOk() {
modalState.loadDataLoading = true;
const hide = message.loading({ content: t('common.loading') });
const hide = message.loading(t('common.loading'), 0);
delAuth(neID, imsi)
.then(res => {
if (res.code === RESULT_CODE_SUCCESS) {

View File

@@ -737,7 +737,7 @@ function fnRecordDelete(imsi: string) {
content: t('views.neUser.auth.delSure', { imsi: imsiMsg }),
onOk() {
modalState.loadDataLoading = true;
const hide = message.loading({ content: t('common.loading') });
const hide = message.loading(t('common.loading'), 0);
delSub(neID, imsi)
.then(res => {
if (res.code === RESULT_CODE_SUCCESS) {