From 32925e5e0412f2ade86647f47cb15535acc9b7d6 Mon Sep 17 00:00:00 2001 From: weinan2087 Date: Wed, 9 Nov 2022 16:34:09 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=B0=86=E7=BB=8F=E9=AA=8C=E5=80=BC?= =?UTF-8?q?=E6=8E=92=E8=A1=8C=E6=94=B9=E4=B8=BA=E5=AD=A6=E4=B9=A0=E5=A4=A9?= =?UTF-8?q?=E6=95=B0=E6=8E=92=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ucurrency/Index.vue | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/src/views/ucurrency/Index.vue b/src/views/ucurrency/Index.vue index cbc477a9..9129087a 100644 --- a/src/views/ucurrency/Index.vue +++ b/src/views/ucurrency/Index.vue @@ -31,16 +31,23 @@ + + + +
- 经验值排行榜 + 学习天数排行榜
+ + 所有用户学习天数TOP排行榜单,每活跃学习1天可累计学习天数
@@ -65,7 +72,7 @@ 累计排名 : {{currentUserRankingTotalData.rankNo}}
- 累计经验值 : {{currentUserRankingTotalData.rankValue}} + 累计学习天数 : {{currentUserRankingTotalData.rankValue}}
@@ -87,7 +94,7 @@
排名
姓名
部门
-
经验值
+
学习天数
+ + + + + + + + +
@@ -334,7 +350,7 @@ getRanking() { let data = { aid: this.userInfo.aid, // #用户id - statType: 20, // #统计类型 10学习时长 11 学习天数 20表经验值 30表u币 40表获取天数 + statType: 11, // #统计类型 10学习时长 11 学习天数 20表经验值 30表u币 40表获取天数 field: this.cycle, // #统计周期 todays-当天,weeks-周,months-月,years-年 total-总计 num: 5, // #显示的条数 } @@ -351,10 +367,10 @@ this.getUserData([res.result.currentUserRankingData.aid], [res.result.currentUserRankingData]) this.currentUserRankingData = res.result.currentUserRankingData; if(this.cycle == 'total'){ - this.current = this.experienceValue(res.result.currentUserRankingData.total); + // this.current = this.experienceValue(res.result.currentUserRankingData.total); this.currentUserRankingTotalData.rankNo = res.result.currentUserRankingData.rankingNo; this.currentUserRankingTotalData.rankValue = res.result.currentUserRankingData.total; - this.currentUserRankingTotalData.endValue = this.current.endValue; + // this.currentUserRankingTotalData.endValue = this.current.endValue; } } From 7ff8d0d49015be859d0cf42757864d6ebed2a4b4 Mon Sep 17 00:00:00 2001 From: weinan2087 Date: Wed, 9 Nov 2022 16:51:17 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E9=9A=90=E8=97=8F=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/user/ranking.vue | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/src/views/user/ranking.vue b/src/views/user/ranking.vue index 3da9b764..ca80bb42 100644 --- a/src/views/user/ranking.vue +++ b/src/views/user/ranking.vue @@ -1,5 +1,6 @@