diff --git a/back/src/views/modules/abilityStatistics/componentUsed.vue b/back/src/views/modules/abilityStatistics/componentUsed.vue index 3c44cb1e..4beff5d9 100644 --- a/back/src/views/modules/abilityStatistics/componentUsed.vue +++ b/back/src/views/modules/abilityStatistics/componentUsed.vue @@ -21,7 +21,7 @@
- 被调用组件及数量 + 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 @@