diff --git a/front/src/api/capabilityCloud.js b/front/src/api/capabilityCloud.js index 8bc42fa6..d0d921d4 100644 --- a/front/src/api/capabilityCloud.js +++ b/front/src/api/capabilityCloud.js @@ -49,4 +49,12 @@ export function assemblerBaseStatic() { method: 'get', }) } +//能力云图-组件服务排行 +export function componentServiceRank(params) { + return request({ + url: '/census/center/v2/componentServiceRank', + method: 'get', + params + }) +} diff --git a/front/src/views/capabilityCloud/components/ComponentServices.vue b/front/src/views/capabilityCloud/components/ComponentServices.vue index 2ae1c3c3..d6ca53e0 100644 --- a/front/src/views/capabilityCloud/components/ComponentServices.vue +++ b/front/src/views/capabilityCloud/components/ComponentServices.vue @@ -53,8 +53,18 @@
-
-
+
+ 周 +
+
+ 月 +
@@ -64,8 +74,20 @@
-
组件赋能排行
-
组件评分排行
+
+ 组件赋能排行 +
+
+ 组件评分排行 +
@@ -73,10 +95,13 @@ 名称 应用数
-
- - - +
+ {{ index + 1 }} + + + {{ item.name }} + + {{ item.count }}
@@ -88,25 +113,50 @@