From feed3a454c9832d918e86de1af9c29d27738f87a Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 13 Oct 2022 15:32:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8=E8=83=BD=E5=8A=9B=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=9D=A1=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/home/integrationServicesDetails.vue | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/front/src/views/home/integrationServicesDetails.vue b/front/src/views/home/integrationServicesDetails.vue index 836ed89c..026d3919 100644 --- a/front/src/views/home/integrationServicesDetails.vue +++ b/front/src/views/home/integrationServicesDetails.vue @@ -92,9 +92,15 @@ >
{{ i == 0 ? '基础设施' : i == 1 ? '组件服务' : '数据资源' }} +
+
+ 共 {{ i == 0 ? infrastructureCount : i == 1 ? componentCount : dataSourceCount }}条数据,示例数据如下:
@@ -171,6 +177,9 @@ const solution = ref([]) const step = ref([]) const bgImg = ref('') + const dataSourceCount = ref(0) + const infrastructureCount = ref(0) + const componentCount = ref(0) const id = router.currentRoute.value.query.id document.documentElement.style.transition = 'all 0.3s ease' document.documentElement.scrollTop = 0 @@ -283,6 +292,9 @@ return message.error(res.data.msg) } detailInfoObj.value = res.data.data || {} + dataSourceCount.value = res.data.dataSourceCount || 0 + infrastructureCount.value = res.data.infrastructureCount || 0 + componentCount.value = res.data.componentCount || 0 // 资源属性 let fuseAttrList = res.data.data.fuseAttrList || [] // 融合关系 @@ -667,6 +679,7 @@ // width: 100%; font-size: 16px; } + .data-count{} } .name-box {