diff --git a/src/views/profile/agent/index.vue b/src/views/profile/agent/index.vue index 8cefe91..8bdf7a1 100644 --- a/src/views/profile/agent/index.vue +++ b/src/views/profile/agent/index.vue @@ -310,6 +310,7 @@ const getCustomerList = async () => { tableTree.value = data.data.map((item: any) => ({ ...item, accountName: item.username, + amount: item.wallet_capital.amount, userId: item.id, status: item.status === 1 ? '正常' : '禁用', role: item.role.title || '未知', diff --git a/src/views/profile/agent/options.ts b/src/views/profile/agent/options.ts index 2ac7cfb..8d18204 100644 --- a/src/views/profile/agent/options.ts +++ b/src/views/profile/agent/options.ts @@ -38,7 +38,7 @@ export const tableColumns = [ { prop: 'role', label: '账号角色' }, // 账号数量 { prop: 'accountQty', label: '账号数量' }, - { prop: 'wallet_capital.amount', label: '资金', align: 'center' as const, isNumber: true }, + { prop: 'amount', label: '资金', align: 'center' as const, isNumber: true }, // 点差分配比例 { prop: 'marginRatio', label: '点差分配比例', slotName: 'marginRatio' }, // 手续费分成比例