From 82b72fd5f634a7c9e2ee2550bca416efc8499f1b Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Fri, 1 Jul 2022 20:22:51 +0800 Subject: [PATCH 1/9] =?UTF-8?q?BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/views/home/components/searchResultList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/src/views/home/components/searchResultList.vue b/front/src/views/home/components/searchResultList.vue index 5a638ac4..a17ce205 100644 --- a/front/src/views/home/components/searchResultList.vue +++ b/front/src/views/home/components/searchResultList.vue @@ -62,7 +62,7 @@
- + {{ item.name }} Date: Mon, 4 Jul 2022 09:27:52 +0800 Subject: [PATCH 2/9] =?UTF-8?q?=E5=88=A4=E6=96=AD=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/capacityOnTheShelf/components/PutOnTheShelf.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue index 5178bdfd..c6c19bdc 100644 --- a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue +++ b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue @@ -2,7 +2,7 @@ * @Author: hisense.liangjunhua * @Date: 2022-06-17 14:11:08 * @LastEditors: hisense.liangjunhua - * @LastEditTime: 2022-07-01 20:11:33 + * @LastEditTime: 2022-07-01 20:34:36 * @Description: 上架 -->
- 被调用组件及数量 + Top5使用组件
@@ -30,13 +30,13 @@ {{index+1}}
{{item.name}} - {{item.resourceCarNum}} + {{item.useNum}}
- 被申请组件及数量 + 使用组件评分Top5
@@ -45,7 +45,7 @@ {{index+1}}
{{item.name}} - {{item.resourceCarNum}} + {{item.score}}
@@ -86,8 +86,8 @@ export default { colorList:['linear-gradient(to right, rgba(251, 59, 5,0.6),transparent)', 'linear-gradient(to right,rgba(251, 123, 5),transparent)','linear-gradient(to right,rgba(250, 179, 2,.6),transparent)','linear-gradient(to right,rgba(82, 106, 255,.6),transparent','linear-gradient(to right,rgba(82, 106, 255,.6),transparent)',], widthList:['90px','80px','70px','60px','50px'], numColorList:['#fc5656','#ff8a00','#f9af0a','#808fff','#808fff'], - usedList:[{name:'组件名称一',resourceCarNum:111},{name:'组件名称一',resourceCarNum:111},{name:'组件名称一',resourceCarNum:111},{name:'组件名称四',resourceCarNum:111},{name:'组件名称五',resourceCarNum:111},], - applicationList:[{name:'组件名称一',resourceCarNum:111},{name:'组件名称一',resourceCarNum:111},{name:'组件名称一',resourceCarNum:111},{name:'组件名称四',resourceCarNum:111},{name:'组件名称五',resourceCarNum:111},] + usedList:[{name:'组件名称一',useNum:111},{name:'组件名称一',useNum:111},{name:'组件名称一',useNum:111},{name:'组件名称四',useNum:111},{name:'组件名称五',useNum:111},], + applicationList:[{name:'组件名称一',score:111},{name:'组件名称一',score:111},{name:'组件名称一',score:111},{name:'组件名称四',score:111},{name:'组件名称五',score:111},] } }, created(){ @@ -161,10 +161,10 @@ export default { }, // 应用领域分布 getDistributed () { - this.$http.get('/census/center/v3/applicationAreaCapabilityList' ,{ + this.$http.get('/census/center/v3/applicationUsedAreaCapabilityList' ,{ params : { id:this.tableId, - resourceType:"应用资源" + resourceType:"组件服务" } }).then(res => { let arry=[] @@ -182,22 +182,22 @@ export default { }) }, - // 被调用组件及数量 + // top5使用组件 getBeCalled () { - this.$http.get('/census/center/v3/assemblerCaredTopInfo' ,{ + this.$http.get('/census/center/v3/assemblerUseTopInfo' ,{ params : { id:this.tableId, - resourceType:"应用资源" + resourceType:"组件服务" // pageNo: pageNo || 1, // pageSize: 20 } }).then(res => { - this.applicationList =res.data.data + this.usedList =res.data.data }) }, - // 被申请组件及数量 + // 使用组件评分5 getBeApplied () { - this.$http.get('/census/center/v3/assemblerCaredTopInfo' ,{ + this.$http.get('/census/center/v3/assemblerUseScoreTopInfo' ,{ params : { id:this.tableId, resourceType:"应用资源" diff --git a/back/src/views/modules/abilityStatistics/index.vue b/back/src/views/modules/abilityStatistics/index.vue index ac0dd287..df327370 100644 --- a/back/src/views/modules/abilityStatistics/index.vue +++ b/back/src/views/modules/abilityStatistics/index.vue @@ -50,46 +50,56 @@ label="部门名称" min-width="100%"> - - - - - - - - + + + + @@ -118,7 +128,6 @@