diff --git a/api/member.js b/api/member.js
index 3703fc7..50b30a0 100644
--- a/api/member.js
+++ b/api/member.js
@@ -93,6 +93,14 @@ export default {
})
},
+ //学员-体测列表
+ surveyList(data) {
+ let url = '/member/survey_list'
+ return http.get(url, data).then(res => {
+ return res;
+ })
+ },
+
//提交作业
assignmentsSubmit(data) {
let url = '/member/assignments_submit'
diff --git a/pages/student/index/index.vue b/pages/student/index/index.vue
index 6886887..ec4ae94 100644
--- a/pages/student/index/index.vue
+++ b/pages/student/index/index.vue
@@ -46,7 +46,7 @@
- 更多
+ 更多
@@ -246,9 +246,11 @@
url: '/pages/student/index/work_details'
})
},
- physical_examination(){
+ //跳转体测列表
+ physical_examination(e){
+ let students_id = e.students_id
uni.navigateTo({
- url: '/pages/student/index/physical_examination'
+ url: `/pages/student/index/physical_examination?students_id=${students_id}`
})
},
//跳转作业列表页
diff --git a/pages/student/index/physical_examination.vue b/pages/student/index/physical_examination.vue
index 6aef917..ed96bc3 100644
--- a/pages/student/index/physical_examination.vue
+++ b/pages/student/index/physical_examination.vue
@@ -1,46 +1,138 @@
+
- 2021年03月12日
-
-
-
-
-
-
- 90
- 综合评分
-
-
-
-
- 身高 (CM)
- 123
-
-
- 体重 (KG)
- 45
-
-
-
-
-
-
- 教练寄语教练寄语教练寄语教练寄语教练寄语教练寄语教练寄教练寄语教练寄语教练寄语教练寄语教练寄语教练教练寄语教练寄语教练寄语教练寄语练教练语教练寄教练寄语教练寄语教练寄语教练寄语教练寄语教练
-
- 详细数据信息
-
+
+
+
+
+ {{$util.formatToDateTime(v.create_time, 'Y-m-d')}}
+
+
+
+
+
+ {{v.score}}
+ 综合评分
+
+
+
+
+ 身高 (CM)
+ {{(v.height * 100)}}
+
+
+ 体重 (KG)
+ {{v.weight}}
+
+
+
+
+
+
+ {{v.content}}
+
+ 详细数据信息
+
+
+
+
@@ -52,6 +144,15 @@
background-color: #29d3b4;
}
+ .table_list{
+ padding-bottom: 40rpx;
+ display: flex;
+ flex-direction: column;
+ .item{
+ margin-bottom: 40rpx;
+ }
+ }
+
.date {
color: #fff;
width: 92%;