feat(ops): add tenant admin user management module
Adds /admin-users CRUD on the ops backend, covering listing, plan/role/KOL toggles, subscription expiry, status flips and password resets, with a configurable default plan code. The ops console exposes a new top-level "用户管理" view and reorganises the sidebar so 操作员管理 and 审计日志 move under a "系统设置" group; AccountsView is renamed accordingly. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -100,7 +100,7 @@ async function onSubmit() {
|
||||
try {
|
||||
await auth.login(form.username.trim(), form.password);
|
||||
const redirect =
|
||||
typeof route.query.redirect === "string" ? route.query.redirect : "/accounts";
|
||||
typeof route.query.redirect === "string" ? route.query.redirect : "/admin-users";
|
||||
void router.replace(redirect);
|
||||
} catch (error) {
|
||||
if (error instanceof OpsApiError) {
|
||||
|
||||
Reference in New Issue
Block a user