---用户管理,网元管理等中英文
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user