index.js 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. import TableRadar from "../../../components/Riwayat/TableRadar";
  20. import TableRiwayatt from "../../../components/Riwayat/TableRiwayatt";
  21. class Riwayat extends Component {
  22. render() {
  23. return (
  24. <ContentWrapper>
  25. <div className="content-heading">
  26. <span className="font-color-white">Riwayat</span>
  27. </div>
  28. <Row>
  29. <Col lg="6">
  30. <ChartDataBar />
  31. </Col>
  32. <Col lg="6">
  33. <Maps />
  34. </Col>
  35. <Col lg="6">
  36. <ChartRadarBelum />
  37. </Col>
  38. <Col lg="6">
  39. <ChartRadarSudah />
  40. </Col>
  41. <TableRadar />
  42. <ChartData />
  43. {/* <TableRiwayat /> */}
  44. <Col lg="12">
  45. <TableRiwayatt />
  46. </Col>
  47. </Row>
  48. </ContentWrapper>
  49. );
  50. }
  51. }
  52. export default Riwayat;