diff --git a/frontend/src/pages/admin/agents/[id].vue b/frontend/src/pages/admin/agents/[id].vue index 01f6ce0..33f9251 100644 --- a/frontend/src/pages/admin/agents/[id].vue +++ b/frontend/src/pages/admin/agents/[id].vue @@ -415,44 +415,64 @@ onMounted(() => { 应用 - 卡密权限 + 卡密类型 余额 状态 操作 - - {{ app.app_name }} - -
- + + + {{ app.app_name }} + + +
+ + + + {{ app.card_types[0].name || `卡类#${app.card_types[0].card_type_id}` }} + +
+ - + + + ¥{{ (app.balance || 0).toFixed(2) }} + + +
- - - - ¥{{ (app.balance || 0).toFixed(2) }} - - - - - - - - - + {{ app.status === 'active' ? '已启用' : '已禁用' }} + + + + + + + + + + +
+ + + + {{ ct.name || `卡类#${ct.card_type_id}` }} + +
+ + +