PCqiandao
杨树明 5 years ago
parent 4c4fc1c374
commit 58dde3826b

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

Loading…
Cancel
Save