diff --git a/components/AQ/AQTabber.vue b/components/AQ/AQTabber.vue
index 73a2837..1f725ff 100644
--- a/components/AQ/AQTabber.vue
+++ b/components/AQ/AQTabber.vue
@@ -27,7 +27,7 @@
methods: {
async init(){
- uni.setStorageSync('userType','3')
+ uni.setStorageSync('userType','1')
let userType = uni.getStorageSync('userType')
this.userType = userType
@@ -63,7 +63,7 @@
},
{
text: "我的",
- urlPath:'/pages/student/my/my',//自定义页面跳转路径
+ urlPath:'/pages/coach/my/index',//自定义页面跳转路径
iconPath: "/static/images/tabbar/my.png",
selectedIconPath: "/static/images/tabbar/my.png"
}
diff --git a/pages.json b/pages.json
index 794c64d..d402d40 100644
--- a/pages.json
+++ b/pages.json
@@ -168,11 +168,16 @@
"navigationBarBackgroundColor": "#fff",
"navigationBarTextStyle": "black"
}
+ },
+ {
+ "path": "pages/coach/my/arrival_statistics",
+ "style": {
+ "navigationBarTitleText": "到客统计",
+ "navigationStyle": "default",
+ "navigationBarBackgroundColor": "#292929",
+ "navigationBarTextStyle": "white"
+ }
}
-
-
-
-
],
"globalStyle": {
"navigationBarTextStyle": "white",
diff --git a/pages/coach/course/info.vue b/pages/coach/course/info.vue
index ab4da17..36e9fb3 100644
--- a/pages/coach/course/info.vue
+++ b/pages/coach/course/info.vue
@@ -51,7 +51,6 @@
-
@@ -146,7 +145,7 @@ export default {
}
-
\ No newline at end of file
diff --git a/pages/coach/my/index.vue b/pages/coach/my/index.vue
index 2f8836f..311ffcc 100644
--- a/pages/coach/my/index.vue
+++ b/pages/coach/my/index.vue
@@ -16,7 +16,7 @@
切换身份
- 到课率统计
+ 到课率统计
@@ -106,42 +106,15 @@ export default {
data() {
return {
formData:{},
- tabType:'1',//1=班级成员,2=作业任务
- Atype:1,//1=作业完成,2=作业未提交
}
},
onLoad() {
},
methods: {
- //切换tab
- tabChange(tabType) {
- this.tabType = tabType
- },
-
- //打开课程详情
- openViewCourseInfo(item){
- uni.navigateTo({
- url: '/pages/coach/course/info'
- })
- },
- //打开学员详情页
- openViewStudentInfo(item){
- uni.navigateTo({
- url: '/pages/coach/student/info'
- })
- },
-
- //打开体测报告
- openViewPhysicalExamination(item){
- uni.navigateTo({
- url: '/pages/coach/student/physical_examination'
- })
- },
-
- //打开作业任务
- opebViewWorkDetails(item){
+ //打开到课率统计
+ openViewArrivalStatistics(){
uni.navigateTo({
- url: '/pages/coach/student/work_details'
+ url: '/pages/coach/my/arrival_statistics'
})
},
}