From 462f39826ccfbf0a3b42a58dd7f6f90635d68c39 Mon Sep 17 00:00:00 2001 From: gaoyuanwei <2826352639@qq.com> Date: Sun, 19 Jun 2022 18:07:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E8=B5=8B=E5=80=BC=E6=9B=B4?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/capabilityCloud/components/DataResources.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 || ' ' } }) // 请求右侧数据结束