index.jsx 1002B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. import React from 'react'
  2. import { Row, Col } from 'antd';
  3. import Banner from './components/Banner';
  4. import EscalationCharts from './components/EscalationCharts';
  5. import AssignedCharts from './components/AssignedCharts';
  6. import ProblemCharts from './components/ProblemCharts';
  7. import SpotCharts from './components/SpotCharts';
  8. import Page from '@/components/Page';
  9. export default (props) => {
  10. const chartStyle = {
  11. height: '215px',
  12. width: '100%',
  13. }
  14. return (
  15. <Page>
  16. <Banner />
  17. <Row gutter={24} style={{ marginTop: '24px' }}>
  18. <Col span={12}>
  19. <AssignedCharts style={chartStyle} />
  20. </Col>
  21. <Col span={12}>
  22. <EscalationCharts style={chartStyle} />
  23. </Col>
  24. </Row>
  25. <Row gutter={24} style={{ marginTop: '24px' }}>
  26. <Col span={12}>
  27. <ProblemCharts style={chartStyle} />
  28. </Col>
  29. <Col span={12}>
  30. <SpotCharts style={chartStyle} />
  31. </Col>
  32. </Row>
  33. </Page>
  34. )
  35. }