|
@@ -2,9 +2,6 @@ import React, { Component } from "react";
|
|
|
import ContentWrapper from "@/components/Layout/ContentWrapper";
|
|
import ContentWrapper from "@/components/Layout/ContentWrapper";
|
|
|
import Link from "next/link";
|
|
import Link from "next/link";
|
|
|
import { Row, Col, Button } from "reactstrap";
|
|
import { Row, Col, Button } from "reactstrap";
|
|
|
-import { getPelaporan } from "@/actions/pelaporan";
|
|
|
|
|
-import CaseProgress from "@/components/Pelaporan/CaseProgress";
|
|
|
|
|
-import TableLaporan from "@/components/Pelaporan/TableLaporan";
|
|
|
|
|
import { connect } from "react-redux";
|
|
import { connect } from "react-redux";
|
|
|
import Loader from "@/components/Common/Loader";
|
|
import Loader from "@/components/Common/Loader";
|
|
|
import Router from "next/router";
|
|
import Router from "next/router";
|
|
@@ -12,13 +9,13 @@ import TableRiwayat from "@/components/Riwayat/TableRiwayat";
|
|
|
import ChartData from "@/components/Riwayat/ChartData";
|
|
import ChartData from "@/components/Riwayat/ChartData";
|
|
|
import ChartDataBar from "@/components/Riwayat/ChartDataBar";
|
|
import ChartDataBar from "@/components/Riwayat/ChartDataBar";
|
|
|
import Maps from "@/components/Riwayat/Maps"
|
|
import Maps from "@/components/Riwayat/Maps"
|
|
|
-import ChartRadar from "../../../components/Riwayat/ChartRadarBelum";
|
|
|
|
|
-import ChartRadarBelum from "../../../components/Riwayat/ChartRadarBelum";
|
|
|
|
|
-import ChartRadarSudah from "../../../components/Riwayat/ChartRadarSudah";
|
|
|
|
|
import TableRadar from "../../../components/Riwayat/TableRadar";
|
|
import TableRadar from "../../../components/Riwayat/TableRadar";
|
|
|
import TableRiwayatt from "../../../components/Riwayat/TableRiwayatt";
|
|
import TableRiwayatt from "../../../components/Riwayat/TableRiwayatt";
|
|
|
import TableRadarr from "../../../components/Riwayat/TableRadarr";
|
|
import TableRadarr from "../../../components/Riwayat/TableRadarr";
|
|
|
import { getjumlahStatusLaporan } from "../../../actions/graph";
|
|
import { getjumlahStatusLaporan } from "../../../actions/graph";
|
|
|
|
|
+import ChartRadarB from "../../../components/Riwayat/ChartRadarB";
|
|
|
|
|
+import ChartRadarA from "../../../components/Riwayat/ChartRadarA";
|
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
|
class Riwayat extends Component {
|
|
class Riwayat extends Component {
|
|
@@ -32,7 +29,7 @@ class Riwayat extends Component {
|
|
|
const { token } = this.props;
|
|
const { token } = this.props;
|
|
|
let jumlahStatusLaporan = await getjumlahStatusLaporan(token);
|
|
let jumlahStatusLaporan = await getjumlahStatusLaporan(token);
|
|
|
this.setState({ jumlahStatusLaporan });
|
|
this.setState({ jumlahStatusLaporan });
|
|
|
- console.log(jumlahStatusLaporan.data[1].jumlah_jadwal_evaluasi);
|
|
|
|
|
|
|
+ // console.log(jumlahStatusLaporan.data[1].jumlah_jadwal_evaluasi);
|
|
|
// console.log(jumlahStatusLaporan);
|
|
// console.log(jumlahStatusLaporan);
|
|
|
};
|
|
};
|
|
|
|
|
|
|
@@ -50,10 +47,10 @@ class Riwayat extends Component {
|
|
|
<Maps />
|
|
<Maps />
|
|
|
</Col>
|
|
</Col>
|
|
|
<Col lg="6">
|
|
<Col lg="6">
|
|
|
- <ChartRadarBelum />
|
|
|
|
|
|
|
+ <ChartRadarA />
|
|
|
</Col>
|
|
</Col>
|
|
|
<Col lg="6">
|
|
<Col lg="6">
|
|
|
- <ChartRadarSudah />
|
|
|
|
|
|
|
+ <ChartRadarB />
|
|
|
</Col>
|
|
</Col>
|
|
|
{/* <TableRadarr /> */}
|
|
{/* <TableRadarr /> */}
|
|
|
<TableRadar />
|
|
<TableRadar />
|