|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
import React, {Component} from "react";
|
|
|
|
|
import '../../signin/css/signincdi.css';
|
|
|
|
|
import {Pagination,Table} from 'antd';
|
|
|
|
|
import {Pagination,Table,Spin} from 'antd';
|
|
|
|
|
import {getImageUrl,sortDirections} from 'educoder';
|
|
|
|
|
import axios from 'axios';
|
|
|
|
|
import LoadingSpin from "../../../../common/LoadingSpin";
|
|
|
|
@ -60,13 +60,13 @@ class Videostatisticslist extends Component {
|
|
|
|
|
dataIndex: 'total_time',
|
|
|
|
|
key: 'total_time',
|
|
|
|
|
align: "center",
|
|
|
|
|
className: 'font-14 maxnamewidth150s',
|
|
|
|
|
width: '150px',
|
|
|
|
|
className: 'font-14 maxnamewidth100s',
|
|
|
|
|
width: '100px',
|
|
|
|
|
sorter: true,
|
|
|
|
|
sortDirections: sortDirections,
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span style={{width: '150px'}} className="maxnamewidth150s">
|
|
|
|
|
<a className="maxnamewidth150s" style={{
|
|
|
|
|
<span style={{width: '100px'}} className="maxnamewidth100s">
|
|
|
|
|
<a className="maxnamewidth100s" style={{
|
|
|
|
|
color:"#333333"
|
|
|
|
|
}} title={record.total_time}>{record.total_time}</a>
|
|
|
|
|
|
|
|
|
@ -95,9 +95,9 @@ class Videostatisticslist extends Component {
|
|
|
|
|
key: 'id',
|
|
|
|
|
align: "center",
|
|
|
|
|
className: 'font-14',
|
|
|
|
|
width: '90px',
|
|
|
|
|
width: '50px',
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span style={{width: '90px',color:'#5091FF'}} className="xiaoshou" onClick={()=>this.props.tisticsbools(true,record.id)}>详情</span>
|
|
|
|
|
<span style={{width: '50px',color:'#5091FF'}} className="xiaoshou" onClick={()=>this.props.tisticsbools(true,record.id)}>详情</span>
|
|
|
|
|
),
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
@ -250,7 +250,7 @@ class Videostatisticslist extends Component {
|
|
|
|
|
<React.Fragment>
|
|
|
|
|
<div className="ws100s mt20">
|
|
|
|
|
<div className="ws100s edu-back-white">
|
|
|
|
|
<div className="ws100s teacherentrydivs ">
|
|
|
|
|
<div className="ws100s teacherentrydivss ">
|
|
|
|
|
<div className="ws100s sortinxdirection">
|
|
|
|
|
<div className="ws100s sptits">统计详情</div>
|
|
|
|
|
</div>
|
|
|
|
@ -265,14 +265,7 @@ class Videostatisticslist extends Component {
|
|
|
|
|
`
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
{
|
|
|
|
|
loading===true?
|
|
|
|
|
<div style={{
|
|
|
|
|
minHeight: "400px",
|
|
|
|
|
}} className="ws100s">
|
|
|
|
|
<LoadingSpin></LoadingSpin>
|
|
|
|
|
</div>
|
|
|
|
|
:
|
|
|
|
|
|
|
|
|
|
<div className="ws100s ysltableo teacherentrydivs">
|
|
|
|
|
{
|
|
|
|
|
data.length===0?
|
|
|
|
@ -282,6 +275,7 @@ class Videostatisticslist extends Component {
|
|
|
|
|
<NoneDatas></NoneDatas>
|
|
|
|
|
</div>
|
|
|
|
|
:
|
|
|
|
|
<Spin spinning={loading}>
|
|
|
|
|
<Table
|
|
|
|
|
columns={columnsstu}
|
|
|
|
|
dataSource={data}
|
|
|
|
@ -289,11 +283,11 @@ class Videostatisticslist extends Component {
|
|
|
|
|
onChange={this.table1handleChange}
|
|
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
</Spin>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|