diff --git a/admin-v2/src/pages/Accounts.tsx b/admin-v2/src/pages/Accounts.tsx index b6e6ece..a31cffb 100644 --- a/admin-v2/src/pages/Accounts.tsx +++ b/admin-v2/src/pages/Accounts.tsx @@ -2,6 +2,7 @@ // 账号管理 // ============================================================ +import { useState } from 'react' import { useQuery, useMutation, useQueryClient } from '@tanstack/react-query' import { Button, message, Tag, Modal, Form, Input, Select, Popconfirm, Space } from 'antd' import { PlusOutlined } from '@ant-design/icons' @@ -88,6 +89,16 @@ export default function Accounts() { width: 80, render: (_, record) => record.totp_enabled ? 已启用 : 未启用, }, + { + title: 'LLM 路由', + dataIndex: 'llm_routing', + width: 120, + valueType: 'select', + valueEnum: { + relay: { text: 'SaaS 中转', status: 'Success' }, + local: { text: '本地直连', status: 'Default' }, + }, + }, { title: '最后登录', dataIndex: 'last_login_at', @@ -161,10 +172,14 @@ export default function Accounts() { { value: 'user', label: '用户' }, ]} /> + + + + +