Commit c5f32115 authored by d.arizona's avatar d.arizona

Merge branch 'master' of http://103.44.149.204/d.arizona/tia-dev into GGMAC

parents 4aa4f670 e45a6202
...@@ -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