|
|
|
@ -203,7 +203,7 @@ class Videostatisticscomtwo extends Component {
|
|
|
|
|
number: (parseInt(this.state.page) - 1) * parseInt(this.state.limit) + (i + 1),
|
|
|
|
|
user_name: response.data.data[i].user_name,
|
|
|
|
|
is_finished: response.data.data[i].is_finished,
|
|
|
|
|
total_duration: response.data.data[i].total_duration,
|
|
|
|
|
total_duration: response.data.data[i].total_duration?formatSeconds(response.data.data[i].total_duration):0,
|
|
|
|
|
feq: response.data.data[i].feq,
|
|
|
|
|
start_at: response.data.data[i].start_at,
|
|
|
|
|
end_at: response.data.data[i].end_at,
|
|
|
|
@ -291,10 +291,24 @@ class Videostatisticscomtwo extends Component {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
data = {
|
|
|
|
|
id: CourseId,
|
|
|
|
|
page: this.state.page
|
|
|
|
|
try {
|
|
|
|
|
if(id!==null&&id===0){
|
|
|
|
|
data = {
|
|
|
|
|
id: CourseId,
|
|
|
|
|
page: this.state.page,
|
|
|
|
|
group_id: id
|
|
|
|
|
}
|
|
|
|
|
}else{
|
|
|
|
|
data = {
|
|
|
|
|
id: CourseId,
|
|
|
|
|
page: this.state.page
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}catch (e) {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
this.getdatas(data);
|
|
|
|
|
}
|
|
|
|
|