|
|
@ -3,6 +3,7 @@ import React,{ Component } from "react";
|
|
|
|
import { Row, Col,Card,Select} from 'antd';
|
|
|
|
import { Row, Col,Card,Select} from 'antd';
|
|
|
|
import {getImageUrl} from 'educoder';
|
|
|
|
import {getImageUrl} from 'educoder';
|
|
|
|
import axios from 'axios';
|
|
|
|
import axios from 'axios';
|
|
|
|
|
|
|
|
import NoneDatas from "../component/NoneDatas";
|
|
|
|
import {
|
|
|
|
import {
|
|
|
|
Chart,
|
|
|
|
Chart,
|
|
|
|
Geom,
|
|
|
|
Geom,
|
|
|
@ -17,7 +18,7 @@ class Signinstatistics extends Component {
|
|
|
|
super(props)
|
|
|
|
super(props)
|
|
|
|
this.state={
|
|
|
|
this.state={
|
|
|
|
datas:null,
|
|
|
|
datas:null,
|
|
|
|
newlist:[],
|
|
|
|
newlist:undefined,
|
|
|
|
course_groups:[{id:"全部",name:"全部"}],
|
|
|
|
course_groups:[{id:"全部",name:"全部"}],
|
|
|
|
spal:false,
|
|
|
|
spal:false,
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -177,7 +178,7 @@ class Signinstatistics extends Component {
|
|
|
|
</Col>
|
|
|
|
</Col>
|
|
|
|
</Row>
|
|
|
|
</Row>
|
|
|
|
|
|
|
|
|
|
|
|
<div className={"SigninstatisticsChart mt20"}>
|
|
|
|
{newlist&&newlist.length>0?<div className={"SigninstatisticsChart mt20"}>
|
|
|
|
<div className={"pd30"}>
|
|
|
|
<div className={"pd30"}>
|
|
|
|
<Row>
|
|
|
|
<Row>
|
|
|
|
<Col span={14}>
|
|
|
|
<Col span={14}>
|
|
|
@ -218,7 +219,7 @@ class Signinstatistics extends Component {
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div className={"padding03000"}>
|
|
|
|
<div className={"padding03000"}>
|
|
|
|
<Chart height={400} data={newlist} scale={cols} forceFit>
|
|
|
|
<Chart height={400} data={newlist} scale={cols} forceFit>
|
|
|
|
{/*<Legend />*/}
|
|
|
|
{/*<Legend />*/}
|
|
|
|
<Axis name="month" />
|
|
|
|
<Axis name="month" />
|
|
|
|
<Axis
|
|
|
|
<Axis
|
|
|
@ -270,7 +271,11 @@ class Signinstatistics extends Component {
|
|
|
|
</Chart>
|
|
|
|
</Chart>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>:<div style={{
|
|
|
|
|
|
|
|
minHeight:"400px",
|
|
|
|
|
|
|
|
}}>
|
|
|
|
|
|
|
|
<NoneDatas></NoneDatas>
|
|
|
|
|
|
|
|
</div>}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|