From 8ddd29fe78a29f3e3cb29a38f3da7de53c3da87b Mon Sep 17 00:00:00 2001
From: liutong <836164388@qq.com>
Date: Thu, 13 Mar 2025 11:57:54 +0800
Subject: [PATCH] =?UTF-8?q?feat(coach):=20=E6=B7=BB=E5=8A=A0=E6=8E=88?=
=?UTF-8?q?=E8=AF=BE=E7=BB=9F=E8=AE=A1=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 在教练首页添加授课统计入口
- 新增授课统计页面,展示月授课数、总授班级数、月负责学员数和月到课率等数据
- 实现课程和课室的下拉菜单筛选功能
- 添加授课详情页跳转功能
---
pages.json | 9 +
pages/coach/my/index.vue | 9 +-
pages/coach/my/schooling_statistics.vue | 275 ++++++++++++++++++++++++
3 files changed, 292 insertions(+), 1 deletion(-)
create mode 100644 pages/coach/my/schooling_statistics.vue
diff --git a/pages.json b/pages.json
index 1b9cc1e..74a360f 100644
--- a/pages.json
+++ b/pages.json
@@ -213,6 +213,15 @@
"navigationBarBackgroundColor": "#292929",
"navigationBarTextStyle": "white"
}
+ },
+ {
+ "path": "pages/coach/my/schooling_statistics",
+ "style": {
+ "navigationBarTitleText": "授课统计",
+ "navigationStyle": "default",
+ "navigationBarBackgroundColor": "#292929",
+ "navigationBarTextStyle": "white"
+ }
}
diff --git a/pages/coach/my/index.vue b/pages/coach/my/index.vue
index 77247c4..6ca62d0 100644
--- a/pages/coach/my/index.vue
+++ b/pages/coach/my/index.vue
@@ -70,7 +70,7 @@
- 授课统计
+ 授课统计
@@ -124,6 +124,13 @@ export default {
url: '/pages/coach/my/due_soon'
})
},
+
+ //大家授课统计
+ openViewSchoolingStatistics(){
+ uni.navigateTo({
+ url: '/pages/coach/my/schooling_statistics'
+ })
+ },
}
}
diff --git a/pages/coach/my/schooling_statistics.vue b/pages/coach/my/schooling_statistics.vue
new file mode 100644
index 0000000..9daaa6e
--- /dev/null
+++ b/pages/coach/my/schooling_statistics.vue
@@ -0,0 +1,275 @@
+
+
+
+
+
+
+
+
+ 2021年3月
+
+
+
+ 34
+ 月授课数/节
+
+
+ 4
+ 总授班级/个
+
+
+ 1234
+ 月负责学员/名
+
+
+
+ 月到课率88%
+
+
+
+
+ 2021年3月
+
+
+
+ 34
+ 月授课数/节
+
+
+ 4
+ 总授班级/个
+
+
+ 1234
+ 月负责学员/名
+
+
+
+ 月到课率88%
+
+
+
+
+ 2021年3月
+
+
+
+ 34
+ 月授课数/节
+
+
+ 4
+ 总授班级/个
+
+
+ 1234
+ 月负责学员/名
+
+
+
+ 月到课率88%
+
+
+
+
+ 2021年3月
+
+
+
+ 34
+ 月授课数/节
+
+
+ 4
+ 总授班级/个
+
+
+ 1234
+ 月负责学员/名
+
+
+
+ 月到课率88%
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file