mirror of https://gitee.com/topiam/eiam
✨ 用户详情优化
parent
845e9b79e2
commit
9e27007f8e
|
@ -29,7 +29,7 @@ import { useLocation } from '@umijs/max';
|
|||
import { useIntl } from '@@/exports';
|
||||
import { ExclamationCircleFilled } from '@ant-design/icons';
|
||||
import { removeUser } from '@/services/account';
|
||||
import AppAccess from '@/pages/account/UserDetail/components/AppAccess';
|
||||
import AppAccess from './components/AppAccess';
|
||||
|
||||
export default () => {
|
||||
const location = useLocation();
|
||||
|
|
|
@ -56,7 +56,7 @@ export default (props: { userId: string }) => {
|
|||
padding: 0,
|
||||
},
|
||||
}}
|
||||
headerTitle={intl.formatMessage({ id: 'pages.account.user_detail.access_strategy' })}
|
||||
headerTitle={intl.formatMessage({ id: 'pages.account.user_detail.app_access_title' })}
|
||||
request={getAppAccessPolicyList}
|
||||
params={{ subjectId: userId, subjectType: AccessPolicyType.USER }}
|
||||
rowKey={'id'}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
export default {
|
||||
'pages.account.user_detail.tabs.user_info': '用户信息',
|
||||
'pages.account.user_detail.tabs.login_audit': '登录日志',
|
||||
'pages.account.user_detail.tabs.app_access': '应用授权',
|
||||
'pages.account.user_detail.tabs.app_access': '应用权限',
|
||||
'pages.account.user_detail.extra.delete': '删除用户',
|
||||
'pages.account.user_detail.extra.delete.confirm_title': '您确定要删除此用户?',
|
||||
'pages.account.user_detail.extra.delete.confirm_content': '此操作不可恢复,请谨慎操作!',
|
||||
|
@ -79,7 +79,7 @@ export default {
|
|||
'pages.account.user_detail.app_account.columns.option.popconfirm.title':
|
||||
'您确定要删除此应用账户?',
|
||||
|
||||
'pages.account.user_detail.access_strategy': '已授权应用',
|
||||
'pages.account.user_detail.app_access_title': '已授权应用',
|
||||
'pages.account.user_detail.access_strategy.popconfirm.title': '您确定要取消应用授权?',
|
||||
'pages.account.user_detail.access_strategy.popconfirm.remove': '取消授权',
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue