diff --git a/frontend/app/features/admin/AdminPages.tsx b/frontend/app/features/admin/AdminPages.tsx index cc75cd6..5fe192a 100644 --- a/frontend/app/features/admin/AdminPages.tsx +++ b/frontend/app/features/admin/AdminPages.tsx @@ -8,6 +8,7 @@ import { useApi, useAuth } from "../../context/AuthContext"; import Icon from "../../components/Icon"; import "../../styles/admin.css"; import "../../styles/dashboard.css"; +import "../../styles/platform.css"; type Notice = { @@ -41,13 +42,13 @@ export function DashboardPage({
{currentWorkspace?.workspace_name ?? "(未选择 Workspace)"} · {employees.length} 名员工
++ {currentWorkspace?.workspace_name ?? "(未选择 Workspace)"} + {activeTab === "users" ? ` · ${employees.length} 名用户` : ""} +
正在加载员工…
: employees.map((employee) => { - const isProtectedAdmin = employee.role_code === "admin"; - return ( -{employee.username}
- {employee.role_name}
- {employee.status === "active" ? "正常" : employee.status === "disabled" ? "已停用" : "已锁定"}
-
- 正在加载用户…
: employees.map((employee) => { + const isProtectedAdmin = employee.role_code === "admin"; + return ( +{employee.username}
+ {employee.role_name}
+ {employee.status === "active" ? "正常" : employee.status === "disabled" ? "已停用" : "已锁定"}
+
+ 项目管理功能开发中…
+