|
|
@ -49,17 +49,19 @@ |
|
|
<view class="more" @click="physical_examination()">更多</view> |
|
|
<view class="more" @click="physical_examination()">更多</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="upcomin-classes"> |
|
|
<view class="upcomin-classes" v-if="personCourseScheduleInfo.id"> |
|
|
<view class="upcomin-classes-div"> |
|
|
<view class="upcomin-classes-div"> |
|
|
<view class="upcomin-classes-div-con"> |
|
|
<view class="upcomin-classes-div-con"> |
|
|
<view class="upcomin-classes-div-con-left">课程预告</view> |
|
|
<view class="upcomin-classes-div-con-left">课程预告</view> |
|
|
<view class="upcomin-classes-div-con-centre" |
|
|
|
|
|
style="width: 2rpx;height: 60rpx;background-color: #fff;margin-left: 25rpx;"></view> |
|
|
<view class="centre_box"> |
|
|
<view style="margin-left: 25rpx;"> |
|
|
<view class="upcomin-classes-div-con-centre"></view> |
|
|
<view>{{$util.formatToDateTime(memberIndexData.kcyg.date_time,'m-d')}} {{memberIndexData.kcyg.weekday}} {{memberIndexData.kcyg.time_slot[0]}}-{{memberIndexData.kcyg.time_slot[1]}}</view> |
|
|
<view class="centre"> |
|
|
<view>{{memberIndexData.kcyg.address}} {{memberIndexData.kcyg.courses_name}}</view> |
|
|
<view>{{$util.formatToDateTime(personCourseScheduleInfo.course_date,'m-d')}} {{personCourseScheduleInfo.time_slot}}</view> |
|
|
</view> |
|
|
<view style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">{{personCourseScheduleInfo.venue.venue_name}} {{personCourseScheduleInfo.course.course_name}}xxxx123123</view> |
|
|
<view class="upcomin-classes-div-con-right" @click="openViewTimetableInfo(memberIndexData.kcyg)"> |
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="upcomin-classes-div-con-right" @click="openViewTimetableInfo(personCourseScheduleInfo)"> |
|
|
详情 |
|
|
详情 |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
@ -177,6 +179,10 @@ |
|
|
height:'0',//身高 |
|
|
height:'0',//身高 |
|
|
weight:'0',//体重 |
|
|
weight:'0',//体重 |
|
|
},//体测报告详情 |
|
|
},//体测报告详情 |
|
|
|
|
|
|
|
|
|
|
|
personCourseScheduleInfo:{ |
|
|
|
|
|
id:'', |
|
|
|
|
|
},//课程安排详情 |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
onLoad() { |
|
|
onLoad() { |
|
|
@ -194,6 +200,7 @@ |
|
|
async init(){ |
|
|
async init(){ |
|
|
await this.member_init() |
|
|
await this.member_init() |
|
|
await this.getPhysicalTestList() |
|
|
await this.getPhysicalTestList() |
|
|
|
|
|
await this.getPersonCourseScheduleList() |
|
|
this.getMemberIndex() |
|
|
this.getMemberIndex() |
|
|
this.getList() |
|
|
this.getList() |
|
|
this.getJobAssignmentsInfo() |
|
|
this.getJobAssignmentsInfo() |
|
|
@ -223,6 +230,30 @@ |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
//学生端-学生课程安排-列表 |
|
|
|
|
|
async getPersonCourseScheduleList(){ |
|
|
|
|
|
let params = { |
|
|
|
|
|
page: 1,//当前页码 |
|
|
|
|
|
limit: 1,//每页返回数据条数 |
|
|
|
|
|
total: 1,//数据总条数 |
|
|
|
|
|
resources_id:this.member_info.id,//学生资源表id |
|
|
|
|
|
} |
|
|
|
|
|
let res = await apiRoute.xy_personCourseSchedule(params) |
|
|
|
|
|
if(res.code != 1){ |
|
|
|
|
|
uni.showToast({ |
|
|
|
|
|
title: res.msg, |
|
|
|
|
|
icon: 'none' |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
console.log('kc',res.data) |
|
|
|
|
|
|
|
|
|
|
|
let arr = res.data.data |
|
|
|
|
|
if(arr.length){ |
|
|
|
|
|
this.personCourseScheduleInfo = arr[0] |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
async openViewHome_COPY(){ |
|
|
async openViewHome_COPY(){ |
|
|
@ -696,32 +727,37 @@ |
|
|
|
|
|
|
|
|
.upcomin-classes-div-con { |
|
|
.upcomin-classes-div-con { |
|
|
display: flex; |
|
|
display: flex; |
|
|
|
|
|
justify-content: space-between; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
color: #fff; |
|
|
color: #fff; |
|
|
|
|
|
padding: 0 40rpx; |
|
|
|
|
|
.upcomin-classes-div-con-left { |
|
|
|
|
|
width: 60rpx; |
|
|
|
|
|
text-align: right; |
|
|
|
|
|
} |
|
|
|
|
|
.centre_box{ |
|
|
|
|
|
display: flex; |
|
|
|
|
|
align-items: center; |
|
|
|
|
|
.upcomin-classes-div-con-centre { |
|
|
|
|
|
margin: 0 20rpx; |
|
|
|
|
|
width: 2rpx; |
|
|
|
|
|
height: 60rpx; |
|
|
|
|
|
background-color: #fff; |
|
|
|
|
|
} |
|
|
|
|
|
.centre{ |
|
|
|
|
|
width:80%; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
.upcomin-classes-div-con-right { |
|
|
|
|
|
width: 100rpx; |
|
|
|
|
|
height: 50rpx; |
|
|
|
|
|
background-color: #32baa1; |
|
|
|
|
|
text-align: center; |
|
|
|
|
|
line-height: 50rpx; |
|
|
|
|
|
border-radius: 50rpx; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.upcomin-classes-div-con-left { |
|
|
|
|
|
width: 60rpx; |
|
|
|
|
|
margin-left: 80rpx; |
|
|
|
|
|
text-align: right; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.upcomin-classes-div-con-centre { |
|
|
|
|
|
width: 2rpx; |
|
|
|
|
|
height: 60rpx; |
|
|
|
|
|
background-color: #fff; |
|
|
|
|
|
margin-left: 25rpx; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.upcomin-classes-div-con-right { |
|
|
|
|
|
width: 100rpx; |
|
|
|
|
|
height: 50rpx; |
|
|
|
|
|
background-color: #32baa1; |
|
|
|
|
|
text-align: center; |
|
|
|
|
|
line-height: 50rpx; |
|
|
|
|
|
border-radius: 50rpx; |
|
|
|
|
|
margin-left: 80rpx; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.after-class { |
|
|
.after-class { |
|
|
background-color: #292929; |
|
|
background-color: #292929; |
|
|
|