|
@@ -22,13 +22,13 @@
|
|
|
<el-table-column label="课程名称" prop="name" min-width="200">
|
|
|
</el-table-column>
|
|
|
|
|
|
- <el-table-column label="开始时间" prop="type" align="center" width="155">
|
|
|
+ <el-table-column label="开始学习时间" prop="type" align="center" width="155">
|
|
|
<template v-slot="{row}">
|
|
|
<span>{{row.createAt||'-'}}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
|
|
|
- <el-table-column label="最后时间" prop="type" align="center" width="155">
|
|
|
+ <el-table-column label="最近学习时间" prop="type" align="center" width="155">
|
|
|
<template v-slot="{row}">
|
|
|
<span>{{row.prevTick|toDatetime}}</span>
|
|
|
</template>
|
|
@@ -64,11 +64,11 @@
|
|
|
</el-table-column>
|
|
|
|
|
|
</el-table>
|
|
|
- <el-pagination :current-page="page" :page-size="size"
|
|
|
- :page-sizes="[5, 10, 20, 50, 100]"
|
|
|
+ <el-pagination :current-page="page" :page-size="size"
|
|
|
+ :page-sizes="[5, 10, 20, 50, 100]"
|
|
|
:style="{ float: 'right', padding: '20px' }"
|
|
|
- :total="showList.length"
|
|
|
- @current-change="(page)=>{this.page= page}"
|
|
|
+ :total="showList.length"
|
|
|
+ @current-change="(page)=>{this.page= page}"
|
|
|
@size-change="(size)=>{this.size= size}"
|
|
|
layout="total, sizes, prev, pager, next, jumper"></el-pagination>
|
|
|
</div>
|
|
@@ -182,19 +182,6 @@
|
|
|
show(val){
|
|
|
this.updateShowList()
|
|
|
}
|
|
|
- // mediaType(val){
|
|
|
- // if( !val ) return;
|
|
|
- // let mediaUrl = this.mediaUrl;
|
|
|
- // if( val == 'ld'){
|
|
|
- // mediaUrl = mediaUrl.replace('/hls/', '/ld/');
|
|
|
- // }else{
|
|
|
- // mediaUrl = mediaUrl.replace('/ld/', '/hls/');
|
|
|
- // }
|
|
|
- // this.options.sources = [{src:mediaUrl,type: "application/x-mpegURL"}];
|
|
|
- // this.options.playtimes = this.media.position||0;
|
|
|
- // this.options.autoplay = this.options.playtimes>0;
|
|
|
- // this.mediaDialog = true;
|
|
|
- // }
|
|
|
},
|
|
|
filters:{
|
|
|
showProgressColor: function (val) {
|