Commit e1bbc211 authored by rifkaki's avatar rifkaki

rapiin tabel

parent 39af648c
...@@ -42,7 +42,7 @@ export default class SummaryOfTriputra extends Component { ...@@ -42,7 +42,7 @@ export default class SummaryOfTriputra extends Component {
componentDidMount() { componentDidMount() {
// this.getDetailUser() // this.getDetailUser()
this.setState({ report: this.state.reportType[0], loading: true }, () => { this.setState({ report: this.state.reportType[0], loading: false }, () => {
console.log(this.state.report); console.log(this.state.report);
this.getPeriode() this.getPeriode()
}) })
...@@ -195,6 +195,7 @@ export default class SummaryOfTriputra extends Component { ...@@ -195,6 +195,7 @@ export default class SummaryOfTriputra extends Component {
// } // }
getDataTable() { getDataTable() {
this.setState({ loading: true })
let payload = { let payload = {
"report_type": this.state.report.key, "report_type": this.state.report.key,
"periode": this.state.periode.periode, "periode": this.state.periode.periode,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment