---用户管理,网元管理等中英文
This commit is contained in:
@@ -264,7 +264,7 @@ const modalStateBatchDelFrom = Form.useForm(
|
||||
*/
|
||||
function fnModalVisibleByVive(imsi: string) {
|
||||
if (modalState.confirmLoading) return;
|
||||
const hide = message.loading('正在打开...', 0);
|
||||
const hide = message.loading('Waiting...', 0);
|
||||
modalState.confirmLoading = true;
|
||||
const neID = queryParams.neId || '-';
|
||||
getAuth(neID, imsi).then(res => {
|
||||
@@ -272,7 +272,7 @@ function fnModalVisibleByVive(imsi: string) {
|
||||
hide();
|
||||
if (res.code === RESULT_CODE_SUCCESS) {
|
||||
modalState.from = Object.assign(modalState.from, res.data);
|
||||
modalState.title = '查看鉴权信息';
|
||||
modalState.title = t("common.view")+t("views.neUser.authInfo");
|
||||
modalState.visibleByView = true;
|
||||
} else {
|
||||
message.error(`获取鉴权信息失败`, 2);
|
||||
@@ -291,7 +291,7 @@ function fnModalVisibleByEdit(row?: Record<string, any>) {
|
||||
modalState.visibleByEdit = true;
|
||||
} else {
|
||||
if (modalState.confirmLoading) return;
|
||||
const hide = message.loading('正在打开...', 0);
|
||||
const hide = message.loading(t('common.loading'), 0);
|
||||
modalState.confirmLoading = true;
|
||||
const neID = queryParams.neId || '-';
|
||||
getAuth(neID, row?.imsi).then(res => {
|
||||
@@ -487,11 +487,11 @@ function fnModalCancel() {
|
||||
*/
|
||||
function fnRecordDelete(row: Record<string, any>) {
|
||||
Modal.confirm({
|
||||
title: '提示',
|
||||
title: t('common.tipTitle'),
|
||||
content: `确认删除IMSI编号为: ${row.imsi} 的用户嘛?`,
|
||||
onOk() {
|
||||
const key = 'delNotice';
|
||||
message.loading({ content: '请稍等...', key });
|
||||
message.loading({ content: t('common.loading'), key });
|
||||
const neID = queryParams.neId || '-';
|
||||
delAuth(neID, row).then(res => {
|
||||
if (res.code === RESULT_CODE_SUCCESS) {
|
||||
@@ -518,7 +518,7 @@ function fnExportList(type: string) {
|
||||
const neID = queryParams.neId;
|
||||
if (!neID) return;
|
||||
const key = 'exportAuth';
|
||||
message.loading({ content: '请稍等...', key });
|
||||
message.loading({ content: t('common.loading'), key });
|
||||
exportAuth({
|
||||
neId: neID,
|
||||
type: type,
|
||||
|
||||
@@ -367,7 +367,7 @@ function fnModalVisibleByEdit(imsi?: string) {
|
||||
modalState.visibleByEdit = true;
|
||||
} else {
|
||||
if (modalState.confirmLoading) return;
|
||||
const hide = message.loading('正在打开...', 0);
|
||||
const hide = message.loading(t('common.loading'), 0);
|
||||
modalState.confirmLoading = true;
|
||||
const neID = queryParams.neId || '-';
|
||||
getSub(neID, imsi).then(res => {
|
||||
@@ -653,11 +653,11 @@ function fnRecordDelete(imsi: string) {
|
||||
const neID = queryParams.neId;
|
||||
if (!neID) return;
|
||||
Modal.confirm({
|
||||
title: '提示',
|
||||
title: t('common.tipTitle'),
|
||||
content: `确认删除IMSI编号为: ${imsi} 的签约用户嘛?`,
|
||||
onOk() {
|
||||
const key = 'delSub';
|
||||
message.loading({ content: '请稍等...', key });
|
||||
message.loading({ content: t('common.loading'), key });
|
||||
delSub(neID, imsi).then(res => {
|
||||
if (res.code === RESULT_CODE_SUCCESS) {
|
||||
message.success({
|
||||
@@ -683,7 +683,7 @@ function fnExportList(type: string) {
|
||||
const neID = queryParams.neId;
|
||||
if (!neID) return;
|
||||
const key = 'exportSub';
|
||||
message.loading({ content: '请稍等...', key });
|
||||
message.loading({ content: t('common.loading'), key });
|
||||
exportSub({
|
||||
neId: neID,
|
||||
type: type,
|
||||
|
||||
Reference in New Issue
Block a user