From 4bb3ffc1ed6e985b515ec97f0cb3a18c9079f92b Mon Sep 17 00:00:00 2001
From: zhaofang <752743406@qq.com>
Date: Wed, 2 Nov 2022 16:00:04 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8E=92=E8=A1=8C=E6=A6=9C=E6=8E=A5=E5=8F=A3?=
=?UTF-8?q?=E5=AF=B9=E6=8E=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/author-img/author-img.vue | 105 ++++++++++++++
pages/my/rankingList.vue | 197 +++++++++++++++------------
utils/tools.js | 38 ++++++
3 files changed, 254 insertions(+), 86 deletions(-)
create mode 100644 components/author-img/author-img.vue
diff --git a/components/author-img/author-img.vue b/components/author-img/author-img.vue
new file mode 100644
index 0000000..3734e4e
--- /dev/null
+++ b/components/author-img/author-img.vue
@@ -0,0 +1,105 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/my/rankingList.vue b/pages/my/rankingList.vue
index d2f3dda..830b625 100644
--- a/pages/my/rankingList.vue
+++ b/pages/my/rankingList.vue
@@ -11,8 +11,8 @@
}">
- 我的排名:128
- 我的经验值:367
+ 我的排名:{{experience.data.rankingNo}}
+ 我的经验值:{{experience.data.total}}
@@ -20,7 +20,7 @@
姓名
经验值
-
+
@@ -28,34 +28,35 @@
{{index+1}}
-
- 小张
- (数据资产部)
+
+ {{exper.authorInfo.name}}
+ ({{cutOrgNamePath(exper.authorInfo.orgInfo)}})
- 1073
+ {{exper.total}}
-
+
.
.
.
-
+
- 128
+ {{experience.data.rankingNo}}
-
- 小张
- (数据资产部)
+
+
+ {{userInfo.name}}
+ ({{cutOrgNamePath(userInfo.departFullName)}})
- 1073
+ {{experience.data.total}}
-
+
- 我的排名:128
- 我的学习时长:367h
+ 我的排名:{{learningDuration.data.rankingNo}}
+ 我的学习时长:{{formatSecondToHour(learningDuration.data.total)}}h
@@ -63,7 +64,7 @@
姓名
学习时长(h)
-
+
@@ -71,34 +72,35 @@
{{index+1}}
-
- 小张
- (数据资产部)
+
+ {{learning.authorInfo.name}}
+ ({{cutOrgNamePath(learning.authorInfo.orgInfo)}})
- 1073
+ {{formatSecondToHour(learning.total)}}
-
+
.
.
.
-
+
- 128
+ {{learningDuration.data.rankingNo}}
-
- 小张
- (数据资产部)
+
+
+ {{userInfo.name}}
+ ({{cutOrgNamePath(userInfo.departFullName)}})
- 1073
+ {{formatSecondToHour(learningDuration.data.total)}}
- 我的排名:128
- 我的学习天数:367
+ 我的排名:{{learningDays.data.rankingNo}}
+ 我的学习天数:{{learningDays.data.total}}
@@ -106,7 +108,7 @@
姓名
学习天数
-
+
@@ -114,27 +116,27 @@
{{index+1}}
-
- 小张
- (数据资产部)
+
+ {{days.authorInfo.name}}
+ ({{cutOrgNamePath(days.authorInfo.orgInfo)}})
- 1073
+ {{days.total}}
-
+
.
.
.
-
+
- 128
+ {{learningDays.data.rankingNo}}
-
- 小张
- (数据资产部)
+
+ {{userInfo.name}}
+ ({{cutOrgNamePath(userInfo.departFullName)}})
- 1073
+ {{learningDays.data.total}}
@@ -146,9 +148,12 @@