fix: 批量删除imsi超时时间
This commit is contained in:
@@ -115,6 +115,7 @@ export function delAuth(neId: string, imsi: string) {
|
|||||||
return request({
|
return request({
|
||||||
url: `/ne/udm/auth/${neId}/${imsi}`,
|
url: `/ne/udm/auth/${neId}/${imsi}`,
|
||||||
method: 'delete',
|
method: 'delete',
|
||||||
|
timeout: 180_000,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -118,6 +118,7 @@ export function delSub(neId: string, imsi: string) {
|
|||||||
return request({
|
return request({
|
||||||
url: `/ne/udm/sub/${neId}/${imsi}`,
|
url: `/ne/udm/sub/${neId}/${imsi}`,
|
||||||
method: 'delete',
|
method: 'delete',
|
||||||
|
timeout: 180_000,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -508,7 +508,7 @@ function fnRecordDelete(imsi: string) {
|
|||||||
content: t('views.neUser.auth.delSure', { imsi: imsiMsg }),
|
content: t('views.neUser.auth.delSure', { imsi: imsiMsg }),
|
||||||
onOk() {
|
onOk() {
|
||||||
modalState.loadDataLoading = true;
|
modalState.loadDataLoading = true;
|
||||||
const hide = message.loading({ content: t('common.loading') });
|
const hide = message.loading(t('common.loading'), 0);
|
||||||
delAuth(neID, imsi)
|
delAuth(neID, imsi)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
if (res.code === RESULT_CODE_SUCCESS) {
|
if (res.code === RESULT_CODE_SUCCESS) {
|
||||||
|
|||||||
@@ -737,7 +737,7 @@ function fnRecordDelete(imsi: string) {
|
|||||||
content: t('views.neUser.auth.delSure', { imsi: imsiMsg }),
|
content: t('views.neUser.auth.delSure', { imsi: imsiMsg }),
|
||||||
onOk() {
|
onOk() {
|
||||||
modalState.loadDataLoading = true;
|
modalState.loadDataLoading = true;
|
||||||
const hide = message.loading({ content: t('common.loading') });
|
const hide = message.loading(t('common.loading'), 0);
|
||||||
delSub(neID, imsi)
|
delSub(neID, imsi)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
if (res.code === RESULT_CODE_SUCCESS) {
|
if (res.code === RESULT_CODE_SUCCESS) {
|
||||||
|
|||||||
Reference in New Issue
Block a user