diff --git a/front/src/api/abilityStatistics.js b/front/src/api/abilityStatistics.js index c2bf733e..2144f144 100644 --- a/front/src/api/abilityStatistics.js +++ b/front/src/api/abilityStatistics.js @@ -47,6 +47,38 @@ export function pageWithAttrs(data) { data, }) } +//获取好评榜 +export function getPraiseList(params) { + return request({ + url: '/resource/getPraiseList', + method: 'get', + params, + }) +} +//获取热门榜 +export function getPopularList(params) { + return request({ + url: '/resource/getPopularList', + method: 'get', + params, + }) +} +//获取明星榜 +export function getStarList(params) { + return request({ + url: '/resource/getStarList', + method: 'get', + params, + }) +} +//获取潜力榜 +export function getPotentialList(params) { + return request({ + url: '/resource/getPotentialList', + method: 'get', + params, + }) +} //能力统计-能力需求 export function capabilityRequirements(params) { return request({ diff --git a/front/src/views/abilityStatistics/components/AbilityRanking.vue b/front/src/views/abilityStatistics/components/AbilityRanking.vue index ea0efca1..2f731501 100644 --- a/front/src/views/abilityStatistics/components/AbilityRanking.vue +++ b/front/src/views/abilityStatistics/components/AbilityRanking.vue @@ -15,10 +15,45 @@ }" >