index.js 1.1 KB

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