---用户管理,网元管理等中英文

This commit is contained in:
lai
2023-11-08 11:21:39 +08:00
parent 8e467b95a2
commit 1bc9358d30
37 changed files with 582 additions and 404 deletions

View File

@@ -210,7 +210,7 @@ function fnModalOk(userIds: string[] | number[]) {
return;
}
const key = 'authUserChecked';
message.loading({ content: '请稍等...', key });
message.loading({ content: t('common.loading'), key });
authUserChecked({
checked: true,
userIds: userIds.join(','),
@@ -243,11 +243,11 @@ function fnRecordDelete(userId: string | number) {
userId = tableState.selectedRowKeys.join(',');
}
Modal.confirm({
title: '提示',
title: t('common.tipTitle'),
content: `确认取消用户编号为 【${userId}】 的数据项授权?`,
onOk() {
const key = 'authUserChecked';
message.loading({ content: '请稍等...', key });
message.loading({ content: t('common.loading'), key });
authUserChecked({ checked: false, userIds: userId, roleId: roleId }).then(
res => {
if (res.code === RESULT_CODE_SUCCESS) {