feat: add user creation and ban/unban for agent backend
- Backend: POST /agent/users - create user with optional card recharge - Backend: PUT /agent/users/:id/status - ban/unban user - Frontend: add create user page for agent (select app, card type) - Frontend: add ban/unban action in user list with confirm dialog - Frontend: add actions dropdown column in user data table - Fix: cloud variables records page i18n key (agent.finance.to -> agent.cloudVariables.records.to) - Add i18n keys for agent user management (create, ban, unban)
This commit is contained in:
@@ -444,6 +444,12 @@ const routes: RouteRecordRaw[] = [
|
||||
component: () => import('@/pages/agent/users/index.vue'),
|
||||
meta: { title: '用户管理 - 代理商后台' },
|
||||
},
|
||||
{
|
||||
path: 'users/create',
|
||||
name: 'AgentUserCreate',
|
||||
component: () => import('@/pages/agent/users/create.vue'),
|
||||
meta: { title: '创建用户 - 代理商后台' },
|
||||
},
|
||||
{
|
||||
path: 'finance',
|
||||
name: 'AgentFinance',
|
||||
|
||||
Reference in New Issue
Block a user