From c1c4eaf4d6c2a60ec69ce0832055c9200fd063d1 Mon Sep 17 00:00:00 2001 From: guoyue Date: Mon, 3 Oct 2022 16:26:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=82=E5=B1=80=EF=BC=9A=E8=83=BD=E5=8A=9B?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1--=E8=A6=86=E7=9B=96=E9=83=A8=E9=97=A8?= =?UTF-8?q?=E9=87=8F=E6=94=B9=E4=B8=BA=E8=B5=84=E6=BA=90=E6=B1=87=E8=81=9A?= =?UTF-8?q?=E9=83=A8=E9=97=A8=E9=87=8F=EF=BC=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/abilityStatistics/components/AbilityTotal.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/front/src/views/abilityStatistics/components/AbilityTotal.vue b/front/src/views/abilityStatistics/components/AbilityTotal.vue index 14031084..2632bb9d 100644 --- a/front/src/views/abilityStatistics/components/AbilityTotal.vue +++ b/front/src/views/abilityStatistics/components/AbilityTotal.vue @@ -39,7 +39,9 @@ ///whole_amount接口 function snum() { totalResourceAggregation().then((res) => { - dataList.value = res.data.data + dataList.value = res.data.data; + console.log('res.data.data------------>', res.data.data); + res.data.data.map((item, index) => { console.log('dataList', dataList.value) switch (item.type) { @@ -55,7 +57,8 @@ case '用户量': dataList.value[index].organization = '人' break - case '覆盖部门量': + // case '覆盖部门量': + case '资源汇聚部门量': dataList.value[index].organization = '个' break }