feat: 优化代理管理页面和代理后台页面
- 添加云端数据权限列到代理管理页面 - 重构代理后台用户管理、卡密管理、财务管理页面使用DataTable组件 - 添加统计卡片到代理后台各页面 - 修复agent-apps相关类型错误 - 添加代理后台页面i18n国际化支持 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -1286,6 +1286,7 @@
|
||||
"cardsCount": "Cards Generated",
|
||||
"childAgentsCount": "Child Agents",
|
||||
"canCreateAgent": "Create Agent Permission",
|
||||
"canViewCloudData": "Cloud Data Permission",
|
||||
"balance": "Balance",
|
||||
"createdAt": "Created At",
|
||||
"lastLoginAt": "Last Login"
|
||||
@@ -2723,11 +2724,32 @@
|
||||
"loadFailed": "Failed to load financial data",
|
||||
"accountBalance": "Account Balance",
|
||||
"transactionRecords": "Transaction Records",
|
||||
"transactions": "Transaction Records",
|
||||
"transactionsDesc": "Account balance change records",
|
||||
"noTransactions": "No transactions yet",
|
||||
"balance": "Balance",
|
||||
"recharge": "Recharge",
|
||||
"consume": "Consume",
|
||||
"refund": "Refund"
|
||||
"refund": "Refund",
|
||||
"rechargeCount": "Income Count",
|
||||
"rechargeAmount": "Income Amount",
|
||||
"consumeCount": "Expense Count",
|
||||
"consumeAmount": "Expense Amount",
|
||||
"allTypes": "All Types",
|
||||
"selectType": "Select Type",
|
||||
"select": "Select",
|
||||
"columns": {
|
||||
"type": "Type",
|
||||
"description": "Description",
|
||||
"amount": "Amount",
|
||||
"balance": "Balance",
|
||||
"createdAt": "Time"
|
||||
},
|
||||
"types": {
|
||||
"recharge": "Recharge",
|
||||
"consume": "Consume",
|
||||
"refund": "Refund"
|
||||
}
|
||||
},
|
||||
"users": {
|
||||
"title": "User Management",
|
||||
@@ -2739,7 +2761,22 @@
|
||||
"status": "Status",
|
||||
"registerTime": "Register Time",
|
||||
"lastLogin": "Last Login",
|
||||
"active": "Active"
|
||||
"active": "Active",
|
||||
"totalUsers": "Total Users",
|
||||
"searchPlaceholder": "Search username or email...",
|
||||
"select": "Select",
|
||||
"columns": {
|
||||
"username": "Username",
|
||||
"email": "Email",
|
||||
"status": "Status",
|
||||
"createdAt": "Created At",
|
||||
"lastLoginAt": "Last Login"
|
||||
},
|
||||
"status": {
|
||||
"active": "Active",
|
||||
"disabled": "Disabled",
|
||||
"banned": "Banned"
|
||||
}
|
||||
},
|
||||
"apps": {
|
||||
"title": "App Management",
|
||||
@@ -2767,6 +2804,7 @@
|
||||
"description": "Manage your generated cards",
|
||||
"loadFailed": "Failed to load card list",
|
||||
"generateCards": "Generate Cards",
|
||||
"generateCard": "Generate Card",
|
||||
"noCards": "No card records yet",
|
||||
"cardCode": "Card Code",
|
||||
"app": "Application",
|
||||
@@ -2778,6 +2816,25 @@
|
||||
"used": "Used",
|
||||
"expired": "Expired",
|
||||
"disabled": "Disabled",
|
||||
"totalCards": "Total Cards",
|
||||
"searchPlaceholder": "Search card code, app or card type...",
|
||||
"exportBtn": "Export",
|
||||
"batchExportBtn": "Batch Export",
|
||||
"select": "Select",
|
||||
"columns": {
|
||||
"code": "Card Code",
|
||||
"appName": "Application",
|
||||
"cardTypeName": "Card Type",
|
||||
"status": "Status",
|
||||
"createdAt": "Created At",
|
||||
"usedAt": "Used At"
|
||||
},
|
||||
"status": {
|
||||
"unused": "Unused",
|
||||
"used": "Used",
|
||||
"expired": "Expired",
|
||||
"disabled": "Disabled"
|
||||
},
|
||||
"create": {
|
||||
"title": "Generate Cards",
|
||||
"description": "Generate cards for authorized applications",
|
||||
|
||||
@@ -1242,6 +1242,7 @@
|
||||
"cardsCount": "生成卡密",
|
||||
"childAgentsCount": "下级代理",
|
||||
"canCreateAgent": "创建代理权限",
|
||||
"canViewCloudData": "云端数据权限",
|
||||
"balance": "余额",
|
||||
"totalConsumption": "消费",
|
||||
"createdAt": "注册时间",
|
||||
@@ -2713,11 +2714,32 @@
|
||||
"loadFailed": "获取财务数据失败",
|
||||
"accountBalance": "账户余额",
|
||||
"transactionRecords": "交易记录",
|
||||
"transactions": "交易记录",
|
||||
"transactionsDesc": "账户资金变动记录",
|
||||
"noTransactions": "暂无交易记录",
|
||||
"balance": "余额",
|
||||
"recharge": "充值",
|
||||
"consume": "消费",
|
||||
"refund": "退款"
|
||||
"refund": "退款",
|
||||
"rechargeCount": "收入笔数",
|
||||
"rechargeAmount": "收入金额",
|
||||
"consumeCount": "支出笔数",
|
||||
"consumeAmount": "支出金额",
|
||||
"allTypes": "全部类型",
|
||||
"selectType": "选择类型",
|
||||
"select": "选择",
|
||||
"columns": {
|
||||
"type": "类型",
|
||||
"description": "描述",
|
||||
"amount": "金额",
|
||||
"balance": "余额",
|
||||
"createdAt": "时间"
|
||||
},
|
||||
"types": {
|
||||
"recharge": "充值",
|
||||
"consume": "消费",
|
||||
"refund": "退款"
|
||||
}
|
||||
},
|
||||
"users": {
|
||||
"title": "用户管理",
|
||||
@@ -2729,7 +2751,22 @@
|
||||
"status": "状态",
|
||||
"registerTime": "注册时间",
|
||||
"lastLogin": "最后登录",
|
||||
"active": "正常"
|
||||
"active": "正常",
|
||||
"totalUsers": "用户总数",
|
||||
"searchPlaceholder": "搜索用户名或邮箱...",
|
||||
"select": "选择",
|
||||
"columns": {
|
||||
"username": "用户名",
|
||||
"email": "邮箱",
|
||||
"status": "状态",
|
||||
"createdAt": "注册时间",
|
||||
"lastLoginAt": "最后登录"
|
||||
},
|
||||
"status": {
|
||||
"active": "正常",
|
||||
"disabled": "禁用",
|
||||
"banned": "封禁"
|
||||
}
|
||||
},
|
||||
"apps": {
|
||||
"title": "应用管理",
|
||||
@@ -2757,6 +2794,7 @@
|
||||
"description": "管理您生成的卡密",
|
||||
"loadFailed": "获取卡密列表失败",
|
||||
"generateCards": "生成卡密",
|
||||
"generateCard": "生成卡密",
|
||||
"noCards": "暂无卡密记录",
|
||||
"cardCode": "卡密",
|
||||
"app": "应用",
|
||||
@@ -2768,6 +2806,25 @@
|
||||
"used": "已使用",
|
||||
"expired": "已过期",
|
||||
"disabled": "已禁用",
|
||||
"totalCards": "卡密总数",
|
||||
"searchPlaceholder": "搜索卡号、应用或卡类...",
|
||||
"exportBtn": "导出",
|
||||
"batchExportBtn": "批量导出",
|
||||
"select": "选择",
|
||||
"columns": {
|
||||
"code": "卡号",
|
||||
"appName": "应用",
|
||||
"cardTypeName": "卡类",
|
||||
"status": "状态",
|
||||
"createdAt": "创建时间",
|
||||
"usedAt": "使用时间"
|
||||
},
|
||||
"status": {
|
||||
"unused": "未使用",
|
||||
"used": "已使用",
|
||||
"expired": "已过期",
|
||||
"disabled": "已禁用"
|
||||
},
|
||||
"create": {
|
||||
"title": "生成卡密",
|
||||
"description": "为授权应用生成卡密",
|
||||
|
||||
Reference in New Issue
Block a user