Browse Source

(*) 系统管理员 展示为管理员

master
peng.peng 12 months ago
parent
commit
9c99b59cc2
  1. 2
      web/client/src/sections/memberManagement/components/memberModal.js
  2. 3
      web/client/src/sections/memberManagement/containers/member.js

2
web/client/src/sections/memberManagement/components/memberModal.js

@ -61,7 +61,7 @@ export default (props) => {
disabled={editData} disabled={editData}
rules={[{ required: true, message: '请选择角色' }]} rules={[{ required: true, message: '请选择角色' }]}
options={[ options={[
{ label: '系统管理员', value: '系统管理员' }, { label: '管理员', value: '系统管理员' },
{ label: '数据消费者', value: '数据消费者' }, { label: '数据消费者', value: '数据消费者' },
]} ]}
name="role" name="role"

3
web/client/src/sections/memberManagement/containers/member.js

@ -49,6 +49,9 @@ function Member(props) {
{ {
title: '角色', title: '角色',
dataIndex: 'role', dataIndex: 'role',
render: (text, record) => {
return record?.role == '系统管理员' ? '管理员' : record?.role
}
}, },
{ {
title: '机构', title: '机构',

Loading…
Cancel
Save