|
@ -6,6 +6,7 @@ import Module from '../../public/module' |
|
|
import LeftItem from './LeftItem' |
|
|
import LeftItem from './LeftItem' |
|
|
import {getjiandmanage,getjiandetail} from '../../../actions/example' |
|
|
import {getjiandmanage,getjiandetail} from '../../../actions/example' |
|
|
import './style.less' |
|
|
import './style.less' |
|
|
|
|
|
import NoData from '../../public/noData'; |
|
|
const Guanli = (props) => { |
|
|
const Guanli = (props) => { |
|
|
const {dispatch} = props |
|
|
const {dispatch} = props |
|
|
const [leftDatas,setleftDatas] = useState([]) |
|
|
const [leftDatas,setleftDatas] = useState([]) |
|
@ -56,9 +57,9 @@ const Guanli = (props) => { |
|
|
<div className='guanli'> |
|
|
<div className='guanli'> |
|
|
<div className='guanli-left'> |
|
|
<div className='guanli-left'> |
|
|
<Module style={{height:"100%"}} title="检测点治超处理占比" customize={true}> |
|
|
<Module style={{height:"100%"}} title="检测点治超处理占比" customize={true}> |
|
|
<AutoRollComponent content={renderLeftContent()} |
|
|
{leftDatas && leftDatas.length!==0?<AutoRollComponent content={renderLeftContent()} |
|
|
containerStyle={{ position: "relative", height: "90%", }} |
|
|
containerStyle={{ position: "relative", height: "90%", }} |
|
|
divHeight={"100%"} divId={"chart-overview-left"} /> |
|
|
divHeight={"100%"} divId={"chart-overview-left"} />:<NoData/>} |
|
|
</Module> |
|
|
</Module> |
|
|
</div> |
|
|
</div> |
|
|
<div className='guanli-right'> |
|
|
<div className='guanli-right'> |
|
@ -75,9 +76,9 @@ const Guanli = (props) => { |
|
|
<span>处罚</span> |
|
|
<span>处罚</span> |
|
|
<span>日期</span> |
|
|
<span>日期</span> |
|
|
</div> |
|
|
</div> |
|
|
<AutoRollComponent content={renderContent()} |
|
|
{rightDatas && rightDatas.length!==0?<AutoRollComponent content={renderContent()} |
|
|
containerStyle={{ position: "relative", height: "90%", }} |
|
|
containerStyle={{ position: "relative", height: "90%", }} |
|
|
divHeight={"100%"} divId={"chart-overview-deviceList"} /> |
|
|
divHeight={"100%"} divId={"chart-overview-deviceList"} />:<NoData style={{height:"70%"}}/>} |
|
|
</Module> |
|
|
</Module> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|