新增财务角色与财务报表并完善后台权限
This commit is contained in:
@@ -56,6 +56,7 @@ type CreateUserForm = {
|
||||
const USER_ROLE_OPTIONS = [
|
||||
{ label: '普通运营', value: 'operator' },
|
||||
{ label: '客服', value: 'support' },
|
||||
{ label: '财务', value: 'finance' },
|
||||
{ label: '管理员', value: 'admin' },
|
||||
]
|
||||
|
||||
@@ -482,6 +483,7 @@ export default function AdminUsersPage() {
|
||||
function formatRoleLabel(role: AdminRole) {
|
||||
if (role === 'admin') return '管理员'
|
||||
if (role === 'support') return '客服'
|
||||
if (role === 'finance') return '财务'
|
||||
return '普通运营'
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user