diff --git a/front/src/api/capabilityCloud.js b/front/src/api/capabilityCloud.js new file mode 100644 index 00000000..8bc42fa6 --- /dev/null +++ b/front/src/api/capabilityCloud.js @@ -0,0 +1,52 @@ +import request from '@/utils/request' +//能力云图-知识库 +export function KnowledgeBaseStatic() { + return request({ + url: '/census/center/v2/knowledgeInfo', + method: 'get', + }) +} +//能力云图-概览总数 +export function wholeAmount() { + return request({ + url: '/census/center/v2/whole_amount', + method: 'get', + }) +} +//能力云图-概览ehcarts +export function trafficStatistics(data) { + return request({ + url: '/census/center/v2/trafficStatistics', + method: 'post', + data, + }) +} +//能力云图-应用资源总数 +export function applicationNum() { + return request({ + url: '/census/center/v2/applicationNum', + method: 'get', + }) +} +//能力云图-区市应用资源排名 +export function districtResourceRank() { + return request({ + url: '/census/center/v2/districtResourceRank', + method: 'get', + }) +} +//能力云图-委办局应用资源分布 +export function cityResourceRank() { + return request({ + url: '/census/center/v2/cityResourceRank', + method: 'get', + }) +} +//能力云图-组件服务 +export function assemblerBaseStatic() { + return request({ + url: '/census/center/v2/assemblerInfo', + method: 'get', + }) +} + diff --git a/front/src/assets/capabilityCloud/Component_services_bg.png b/front/src/assets/capabilityCloud/Component_services_bg.png new file mode 100644 index 00000000..3005bd0f Binary files /dev/null and b/front/src/assets/capabilityCloud/Component_services_bg.png differ diff --git a/front/src/assets/capabilityCloud/Component_services_content_bg.png b/front/src/assets/capabilityCloud/Component_services_content_bg.png new file mode 100644 index 00000000..457c47f3 Binary files /dev/null and b/front/src/assets/capabilityCloud/Component_services_content_bg.png differ diff --git a/front/src/assets/capabilityCloud/Component_services_snum.png b/front/src/assets/capabilityCloud/Component_services_snum.png new file mode 100644 index 00000000..6a77791d Binary files /dev/null and b/front/src/assets/capabilityCloud/Component_services_snum.png differ diff --git a/front/src/assets/capabilityCloud/Component_services_title.png b/front/src/assets/capabilityCloud/Component_services_title.png new file mode 100644 index 00000000..6e29000f Binary files /dev/null and b/front/src/assets/capabilityCloud/Component_services_title.png differ diff --git a/front/src/assets/capabilityCloud/Component_services_title_bg.png b/front/src/assets/capabilityCloud/Component_services_title_bg.png new file mode 100644 index 00000000..5e75ec53 Binary files /dev/null and b/front/src/assets/capabilityCloud/Component_services_title_bg.png differ diff --git a/front/src/assets/capabilityCloud/infrastructure_gz.png b/front/src/assets/capabilityCloud/infrastructure_gz.png new file mode 100644 index 00000000..44dddf51 Binary files /dev/null and b/front/src/assets/capabilityCloud/infrastructure_gz.png differ diff --git a/front/src/assets/capabilityCloud/infrastructure_sz.png b/front/src/assets/capabilityCloud/infrastructure_sz.png new file mode 100644 index 00000000..832336c5 Binary files /dev/null and b/front/src/assets/capabilityCloud/infrastructure_sz.png differ diff --git a/front/src/assets/capabilityCloud/infrastructure_title.png b/front/src/assets/capabilityCloud/infrastructure_title.png new file mode 100644 index 00000000..a8503dac Binary files /dev/null and b/front/src/assets/capabilityCloud/infrastructure_title.png differ diff --git a/front/src/assets/capabilityCloud/infrastructure_yz.png b/front/src/assets/capabilityCloud/infrastructure_yz.png new file mode 100644 index 00000000..413a071d Binary files /dev/null and b/front/src/assets/capabilityCloud/infrastructure_yz.png differ diff --git a/front/src/views/capabilityCloud/components/ComponentServices.vue b/front/src/views/capabilityCloud/components/ComponentServices.vue index f208b494..2ae1c3c3 100644 --- a/front/src/views/capabilityCloud/components/ComponentServices.vue +++ b/front/src/views/capabilityCloud/components/ComponentServices.vue @@ -3,10 +3,469 @@ * @Date: 2022-06-19 10:15:33 * @LastEditors: hisense.liangjunhua * @LastEditTime: 2022-06-19 10:17:22 - * @Description: 告诉大家这是什么 + * @Description: 能力云图-组件服务 --> - 组件服务 + + + 组件服务 + + + + + 组件 + + + {{ item.title }} + {{ item.num }} + + + + + + + + 组件数量 + + + + {{ item.type }} + {{ item.amount }} + + + + + + + + 调用趋势 + + + 周 + 月 + + + + 次 + + + + + + 组件赋能排行 + 组件评分排行 + + + + TOP + 名称 + 应用数 + + + + + + + + + + + + - - + + diff --git a/front/src/views/capabilityCloud/components/Infrastructure.vue b/front/src/views/capabilityCloud/components/Infrastructure.vue index 90a869ee..e141c320 100644 --- a/front/src/views/capabilityCloud/components/Infrastructure.vue +++ b/front/src/views/capabilityCloud/components/Infrastructure.vue @@ -6,7 +6,154 @@ * @Description: 告诉大家这是什么 --> - 基础设施 + + + 基础设施 + + + + + {{ item.title }} + {{ item.snum }} + + + 健康度 + + + + {{ item.percentage }}% + + + + - - + +
{{ item.title }}
{{ item.num }}
{{ item.type }}
{{ item.amount }}