diff --git a/front/src/views/capabilityCloud/components/DataResources.vue b/front/src/views/capabilityCloud/components/DataResources.vue index 6229b5df..fae4c08b 100644 --- a/front/src/views/capabilityCloud/components/DataResources.vue +++ b/front/src/views/capabilityCloud/components/DataResources.vue @@ -131,16 +131,20 @@ count().then((res) => { contentData.value = res.data.data console.log(contentData.value) + // 总申请次数 resourcesLeft.value[1].num = contentData.value.requestCount || '0' + // 总满足率 resourcesLeft.value[2].num = contentData.value.satisfactionRate + '%' || '0' + '%' // 排行 for (let i = 1; i < 6; i++) { + // TOP assignRankings.value[i - 1].index = i + // assignRankings.value[i - 1].name = - contentData.value.list[i - 1].resourceTop5.service_name || ' ' + contentData.value.resourceTop5[i - 1].service_name || 'wowoow' assignRankings.value[i - 1].opacity = - contentData.value.list[i - 1].resourceTop5.count || ' ' + contentData.value.resourceTop5[i - 1].count || ' ' } }) // 请求右侧数据结束