-
this.props.statisticsy(false)} >
- this.props.statisticsy(false)}>
-
this.props.statisticsy(false)}>返回
+
this.props.statisticsy(false)} style={{color:'#5091FF'}}>
+ this.props.statisticsy(false)} style={{color:'#5091FF'}}>
+
this.props.statisticsy(false)}>返回
视频统计总览
播放数据从{this.props.watch_staticsdata&&this.props.watch_staticsdata.begin_at?this.props.watch_staticsdata.begin_at:0}开始统计
diff --git a/public/react/src/modules/courses/videostatistics/component/Videostatisticscomtwo.js b/public/react/src/modules/courses/videostatistics/component/Videostatisticscomtwo.js
index 2dee66620..8893eb07e 100644
--- a/public/react/src/modules/courses/videostatistics/component/Videostatisticscomtwo.js
+++ b/public/react/src/modules/courses/videostatistics/component/Videostatisticscomtwo.js
@@ -5,6 +5,7 @@ import {getImageUrl, sortDirections,formatSeconds} from 'educoder';
import axios from 'axios';
import LoadingSpin from "../../../../common/LoadingSpin";
import NoneDatas from "../../signin/component/NoneDatas";
+import moment from 'moment';
//条目
@@ -52,9 +53,9 @@ class Videostatisticscomtwo extends Component {
key: 'is_finished',
align: "center",
className: 'font-14',
- width: '98px',
+ width: '90px',
render: (text, record) => (
-
{record.is_finished === true ?
+ {record.is_finished === true ?
是 : 否}
),
},
@@ -63,12 +64,12 @@ class Videostatisticscomtwo extends Component {
dataIndex: 'total_duration',
key: 'total_duration',
align: "center",
- className: 'font-14 maxnamewidth150s',
- width: '150px',
+ className: 'font-14 maxnamewidth140s',
+ width: '140px',
sorter: true,
sortDirections: sortDirections,
render: (text, record) => (
- {record.total_duration}
),
@@ -78,13 +79,13 @@ class Videostatisticscomtwo extends Component {
dataIndex: 'feq',
key: 'feq',
align: "center",
- className: 'font-14 maxnamewidth100s',
- width: '100px',
+ className: 'font-14 maxnamewidth140s',
+ width: '140px',
sorter: true,
sortDirections: sortDirections,
render: (text, record) => (
-
-
+ {record.feq}
@@ -101,7 +102,7 @@ class Videostatisticscomtwo extends Component {
{record.start_at}
+ }} title= {moment(record.start_at).format('YYYY-MM-DD HH:mm:ss')}> {record.start_at}
),
},
@@ -116,7 +117,7 @@ class Videostatisticscomtwo extends Component {
{record.end_at}
+ }} title={moment(record.end_at).format('YYYY-MM-DD HH:mm:ss')}>{record.end_at}
),
}
@@ -506,7 +507,7 @@ class Videostatisticscomtwo extends Component {
{
`
.ysltableo .ant-table-thead > tr > th, .ant-table-tbody > tr > td {
- padding: 10px 10px;
+ padding: 10px 5px;
}
`
}