diff --git a/api/member.js b/api/member.js
index e8867b3..9cdddb0 100644
--- a/api/member.js
+++ b/api/member.js
@@ -218,6 +218,16 @@ export default {
})
},
+ //教练端-评测详情
+ jlSurveyInfo(data = {}) {
+ let url = '/member/survey_info'
+ return http.get(url, data).then(res => {
+ return res;
+ })
+ },
+
+
+
diff --git a/pages/coach/student/info.vue b/pages/coach/student/info.vue
index 69bfaae..77fc433 100644
--- a/pages/coach/student/info.vue
+++ b/pages/coach/student/info.vue
@@ -292,8 +292,9 @@ export default {
//打开体测报告
openViewPhysicalExamination(item){
+ let survey_id = item.id
uni.navigateTo({
- url: '/pages/coach/student/physical_examination'
+ url: `/pages/coach/student/physical_examination?survey_id=${survey_id}`
})
},
diff --git a/pages/coach/student/physical_examination.vue b/pages/coach/student/physical_examination.vue
index 270c1e1..4b1ade4 100644
--- a/pages/coach/student/physical_examination.vue
+++ b/pages/coach/student/physical_examination.vue
@@ -1,47 +1,76 @@
- 2021年03月12日
+ {{$util.formatToDateTime(surveyInfo.create_time,'Y-m-d')}}
- 90
+ {{surveyInfo.score}}
综合评分
身高 (CM)
- 123
+ {{surveyInfo.height}}
体重 (KG)
- 45
+ {{surveyInfo.weight}}
- 教练寄语教练寄语教练寄语教练寄语教练寄语教练寄语教练寄教练寄语教练寄语教练寄语教练寄语教练寄语教练教练寄语教练寄语教练寄语教练寄语练教练语教练寄教练寄语教练寄语教练寄语教练寄语教练寄语教练
+ {{surveyInfo.content}}
- 详细数据信息
+