新增财务角色与财务报表并完善后台权限

This commit is contained in:
yml2213
2026-09-02 13:58:03 +08:00
parent de63daf1ac
commit bf167d98ed
29 changed files with 1242 additions and 69 deletions
@@ -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 '普通运营'
}