|
|
|
@ -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) => (
|
|
|
|
|
<span style={{width: '98px'}}>{record.is_finished === true ?
|
|
|
|
|
<span style={{width: '90px'}}>{record.is_finished === true ?
|
|
|
|
|
<span style={{color: "#5091FF"}}>是</span> : <span style={{color: "#E02020"}}>否</span>}</span>
|
|
|
|
|
),
|
|
|
|
|
},
|
|
|
|
@ -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) => (
|
|
|
|
|
<span style={{width: '150px'}} className="maxnamewidth150s"><a className="maxnamewidth150s" style={{
|
|
|
|
|
<span style={{width: '140px'}} className="maxnamewidth140s"><a className="maxnamewidth140s" style={{
|
|
|
|
|
color:"#333333"
|
|
|
|
|
}} title={record.total_duration}>{record.total_duration}</a></span>
|
|
|
|
|
),
|
|
|
|
@ -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) => (
|
|
|
|
|
<span style={{width: '100px'}} className="maxnamewidth100s">
|
|
|
|
|
<a className="maxnamewidth100s" style={{
|
|
|
|
|
<span style={{width: '140px'}} className="maxnamewidth140s">
|
|
|
|
|
<a className="maxnamewidth140s" style={{
|
|
|
|
|
color:"#333333"
|
|
|
|
|
}} title={record.feq}>{record.feq}</a>
|
|
|
|
|
</span>
|
|
|
|
@ -101,7 +102,7 @@ class Videostatisticscomtwo extends Component {
|
|
|
|
|
<span style={{width: '90px'}} >
|
|
|
|
|
<a className="maxnamewidth90s" style={{
|
|
|
|
|
color:"#333333"
|
|
|
|
|
}} title= {record.start_at}> {record.start_at}</a>
|
|
|
|
|
}} title= {moment(record.start_at).format('YYYY-MM-DD HH:mm:ss')}> {record.start_at}</a>
|
|
|
|
|
</span>
|
|
|
|
|
),
|
|
|
|
|
},
|
|
|
|
@ -116,7 +117,7 @@ class Videostatisticscomtwo extends Component {
|
|
|
|
|
<span style={{width: '90px'}} >
|
|
|
|
|
<a className="maxnamewidth90s" style={{
|
|
|
|
|
color:"#333333"
|
|
|
|
|
}} title= {record.end_at}>{record.end_at}</a>
|
|
|
|
|
}} title={moment(record.end_at).format('YYYY-MM-DD HH:mm:ss')}>{record.end_at}</a>
|
|
|
|
|
</span>
|
|
|
|
|
),
|
|
|
|
|
}
|
|
|
|
@ -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;
|
|
|
|
|
}
|
|
|
|
|
`
|
|
|
|
|
}
|
|
|
|
|