feat: 平台管理员端 — SUPER_ADMIN 角色 + 企业租户管理 + 用户管理 + 数据总览

This commit is contained in:
selfrelease
2026-07-29 11:49:48 +08:00
parent fb36b10402
commit 987a4678f7
17 changed files with 1744 additions and 14 deletions
+2 -2
View File
@@ -3,10 +3,10 @@ import { persist } from 'zustand/middleware'
interface User {
id: string
orgId: string
orgId: string | null
name: string
phone: string
role: 'ADMIN' | 'HR' | 'VIEWER'
role: 'SUPER_ADMIN' | 'ADMIN' | 'HR' | 'VIEWER'
}
interface AuthState {