From 36f5cadf66c8276152a478dfae99345fd162e43c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Tue, 17 Mar 2020 21:52:05 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../courses/videostatistics/component/Studentstatistics.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/react/src/modules/courses/videostatistics/component/Studentstatistics.js b/public/react/src/modules/courses/videostatistics/component/Studentstatistics.js index aea47a1cb..44cdf6536 100644 --- a/public/react/src/modules/courses/videostatistics/component/Studentstatistics.js +++ b/public/react/src/modules/courses/videostatistics/component/Studentstatistics.js @@ -205,7 +205,7 @@ class Studentstatistics extends Component { let mysorder=""; if (sorter.order === "ascend") { if(sorter.columnKey === "feq"){ - mysorder="feq-asc"; + mysorder="freq-asc"; }else{ mysorder="total_duration-asc"; @@ -221,7 +221,7 @@ class Studentstatistics extends Component { }) } else if (sorter.order === "descend") { if(sorter.columnKey === "feq"){ - mysorder="feq-desc"; + mysorder="freq-desc"; }else{ mysorder="total_duration-desc"; From e6ccf0e96c70bbfa327b77c2a991bc187dd484ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Tue, 17 Mar 2020 22:23:31 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../courses/videostatistics/component/Videostatisticscom.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/react/src/modules/courses/videostatistics/component/Videostatisticscom.js b/public/react/src/modules/courses/videostatistics/component/Videostatisticscom.js index 9b859cede..a16e0ed39 100644 --- a/public/react/src/modules/courses/videostatistics/component/Videostatisticscom.js +++ b/public/react/src/modules/courses/videostatistics/component/Videostatisticscom.js @@ -1,7 +1,7 @@ import React, {Component} from "react"; import '../../signin/css/signincdi.css'; import {Progress, message} from 'antd'; -import {getImageUrl} from 'educoder'; +import {getImageUrl,formatSeconds} from 'educoder'; import axios from 'axios'; @@ -88,7 +88,7 @@ class Videostatisticscom extends Component {
总观看时长(时)
-
{this.props.watch_staticsdata&&this.props.watch_staticsdata.total_duration?this.props.watch_staticsdata.total_duration:0}
+
{this.props.watch_staticsdata&&this.props.watch_staticsdata.total_duration?formatSeconds(this.props.watch_staticsdata.total_duration):0}
From 9f7af026f5227860ea753bdb709f94880c0f8f94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Wed, 18 Mar 2020 00:06:15 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../courses/videostatistics/component/Studentstatistics.js | 6 +----- .../videostatistics/component/Videostatisticslist.js | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/public/react/src/modules/courses/videostatistics/component/Studentstatistics.js b/public/react/src/modules/courses/videostatistics/component/Studentstatistics.js index eb25dfbe6..ad07fc10d 100644 --- a/public/react/src/modules/courses/videostatistics/component/Studentstatistics.js +++ b/public/react/src/modules/courses/videostatistics/component/Studentstatistics.js @@ -300,11 +300,7 @@ class Studentstatistics extends Component { onChange={this.table1handleChange} /> : -
- -
+ "" } diff --git a/public/react/src/modules/courses/videostatistics/component/Videostatisticslist.js b/public/react/src/modules/courses/videostatistics/component/Videostatisticslist.js index 049a9ebbb..de1cef0b0 100644 --- a/public/react/src/modules/courses/videostatistics/component/Videostatisticslist.js +++ b/public/react/src/modules/courses/videostatistics/component/Videostatisticslist.js @@ -299,11 +299,7 @@ class Videostatisticslist extends Component { /> : -
- -
+ "" }