From 053900b98c1abe6317d3bd9795cdde890ddee662 Mon Sep 17 00:00:00 2001 From: ZhangYong Date: Sun, 18 Jan 2026 13:17:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=9A=E7=BB=A9=E5=BD=92=E5=B1=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../moneyManage/financialAccount/cashFlow.vue | 2 +- .../financialAccount/performanceAttribution.vue | 25 +++++++++++----------- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/src/views/moneyManage/financialAccount/cashFlow.vue b/src/views/moneyManage/financialAccount/cashFlow.vue index 7b1b7b8..9a3e016 100644 --- a/src/views/moneyManage/financialAccount/cashFlow.vue +++ b/src/views/moneyManage/financialAccount/cashFlow.vue @@ -56,7 +56,7 @@ const transformTree = (nodes) => { ? transformTree([child]) : null; return { - value: child.name, + value: child.id, label: child.name, children: grandchildren }; diff --git a/src/views/moneyManage/financialAccount/performanceAttribution.vue b/src/views/moneyManage/financialAccount/performanceAttribution.vue index e0f16d5..63a18eb 100644 --- a/src/views/moneyManage/financialAccount/performanceAttribution.vue +++ b/src/views/moneyManage/financialAccount/performanceAttribution.vue @@ -59,7 +59,7 @@ const transformTree = (nodes) => { ? transformTree([child]) : null; return { - value: child.name, + value: child.id, label: child.name, children: grandchildren }; @@ -72,6 +72,7 @@ const getMarket = async () => { const result = await request({ url: '/market/selectMarket' }); if (result && result.data) { marketOptions.value = transformTree(result.data) + console.log('地区树:', marketOptions.value) } } catch (error) { console.error('获取地区失败', error) @@ -301,28 +302,28 @@ onMounted(() => { - - - - - - + + + + + + - + - + - + - + - +