Browse Source

移动端 课堂考勤时间显示

娄底高职分支
yxq 3 months ago
parent
commit
22e000d8ce
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/studentAttendance/single.vue

+ 7
- 2
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/studentAttendance/single.vue View File

@@ -2,7 +2,7 @@
<view class="page">
<view class="timeTable_sec3">
<view class="tSec3Box">
<view class="tSec3Time"><text></text> {{ pageInfo.LessonDate }} 第{{ pageInfo.LessonTime.substring(1) }}节 <text></text></view>
<view class="tSec3Time"><text></text> {{ pageInfo.$LessonDate }} 第{{ pageInfo.LessonTime.substring(1) }}节 <text></text></view>
</view>
</view>
@@ -183,7 +183,12 @@ export default{
}
},
created() {
this.pageInfo = this.GET_PARAM(); //获取页面传递参数
let pageInfo = this.GET_PARAM(); //获取页面传递参数
pageInfo.$LessonDate = pageInfo.LessonDate
if(pageInfo.$LessonDate){
pageInfo.$LessonDate = pageInfo.$LessonDate.split(' 00:00:00')[0]
}
this.pageInfo = pageInfo
this.init();
}
}


Loading…
Cancel
Save