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 }