feat(web): 增加统一认证接入与运维页面

系统设置新增统一认证配对、验证、激活、重验证、回滚与禁用流程,安全事件改为统一能力状态。前端登录入口运行时读取公开配置,不再依赖 VITE_OIDC 构建变量。\n\n验证:web 31 项测试;web typecheck;pnpm lint;web production build
This commit is contained in:
2026-07-17 12:18:26 +08:00
parent b175d545ff
commit e0a356ee0c
11 changed files with 675 additions and 191 deletions
+2 -6
View File
@@ -51,6 +51,7 @@ const tabs = [
] satisfies Array<{ value: AdminSection; label: string; icon: ReactNode }>;
export function AdminPage(props: {
token: string;
data: ConsoleData;
operationMessage: string;
section: AdminSection;
@@ -191,21 +192,16 @@ export function AdminPage(props: {
{props.section === 'auditLogs' && <AuditLogsPanel auditLogs={props.data.auditLogs} message={props.operationMessage} />}
{props.section === 'systemSettings' && (
<SystemSettingsPanel
token={props.token}
channels={props.data.fileStorageChannels}
clientCustomizationSettings={props.data.clientCustomizationSettings}
settings={props.data.fileStorageSettings}
securityEventConnection={props.data.securityEventConnection}
message={props.operationMessage}
state={props.state}
onDeleteFileStorageChannel={props.onDeleteFileStorageChannel}
onSaveFileStorageChannel={props.onSaveFileStorageChannel}
onSaveFileStorageSettings={props.onSaveFileStorageSettings}
onSaveClientCustomizationSettings={props.onSaveClientCustomizationSettings}
onConnectSecurityEvents={props.onConnectSecurityEvents}
onDisconnectSecurityEvents={props.onDisconnectSecurityEvents}
onRefreshSecurityEvents={props.onRefreshSecurityEvents}
onRotateSecurityEventsCredential={props.onRotateSecurityEventsCredential}
onVerifySecurityEvents={props.onVerifySecurityEvents}
/>
)}
</div>