From ee841f906ad459f9bf9da90dc7cb19e51715f0eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8?= Date: Mon, 25 May 2026 15:16:49 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=B5=84=E9=87=91=E4=B8=8D=E5=B1=95?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/profile/agent/index.vue | 1 + src/views/profile/agent/options.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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' }, // 手续费分成比例 From 3b6cf3a775e788cad55867c850543268b21862bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8?= Date: Mon, 25 May 2026 15:37:30 +0800 Subject: [PATCH 2/2] =?UTF-8?q?feat:=20=E7=B3=BB=E7=BB=9F=E9=A1=B6?= =?UTF-8?q?=E9=83=A8=E6=B7=BB=E5=8A=A0=E8=8F=9C=E5=8D=95=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E6=A1=86=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/layout/Header.vue | 230 ++++++++++++++++++++++++++++++- 1 file changed, 227 insertions(+), 3 deletions(-) diff --git a/src/components/layout/Header.vue b/src/components/layout/Header.vue index b7089d5..e8d36c0 100644 --- a/src/components/layout/Header.vue +++ b/src/components/layout/Header.vue @@ -15,13 +15,52 @@ @click="toggleSidebar" text /> - +
+ + + @@ -61,7 +100,7 @@