index.js 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. import React, { Component } from "react";
  2. import ContentWrapper from "@/components/Layout/ContentWrapper";
  3. import Link from "next/link";
  4. import { Row, Col, Button } from "reactstrap";
  5. import { getPelaporan } from "@/actions/pelaporan";
  6. import { getGraph, getExcel } from "@/actions/graph";
  7. import CaseProgress from "@/components/Pelaporan/CaseProgress";
  8. import TableLaporan from "@/components/Pelaporan/TableLaporan";
  9. import { connect } from "react-redux";
  10. import Loader from "@/components/Common/Loader";
  11. import Router from "next/router";
  12. import TableRiwayat from "@/components/Riwayat/TableRiwayat";
  13. import ChartData from "@/components/Riwayat/ChartData";
  14. import ChartDataBar from "@/components/Riwayat/ChartDataBar";
  15. import Maps from "@/components/Riwayat/Maps"
  16. import ChartRadar from "../../../components/Riwayat/ChartRadarBelum";
  17. import ChartRadarBelum from "../../../components/Riwayat/ChartRadarBelum";
  18. import ChartRadarSudah from "../../../components/Riwayat/ChartRadarSudah";
  19. class Riwayat extends Component {
  20. render() {
  21. return (
  22. <ContentWrapper>
  23. <div className="content-heading">
  24. <span className="font-color-white">Riwayat</span>
  25. </div>
  26. <Row>
  27. <Col lg="6">
  28. <ChartDataBar />
  29. </Col>
  30. <Col lg="6">
  31. <Maps />
  32. </Col>
  33. <Col lg="6">
  34. <ChartRadarBelum />
  35. </Col>
  36. <Col lg="6">
  37. <ChartRadarSudah />
  38. </Col>
  39. <Col lg="12">
  40. <ChartData />
  41. <TableRiwayat />
  42. </Col>
  43. </Row>
  44. </ContentWrapper>
  45. );
  46. }
  47. }
  48. export default Riwayat;