index.js 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. class Riwayat extends Component {
  17. render() {
  18. return (
  19. <ContentWrapper>
  20. <div className="content-heading">
  21. <span className="font-color-white">Riwayat</span>
  22. </div>
  23. <Row>
  24. <Col lg="6">
  25. <ChartDataBar />
  26. </Col>
  27. <Col lg="6">
  28. <Maps />
  29. </Col>
  30. <Col lg="12">
  31. <ChartData />
  32. <TableRiwayat />
  33. </Col>
  34. </Row>
  35. </ContentWrapper>
  36. );
  37. }
  38. }
  39. export default Riwayat;