Commit 31649cc3 authored by r.kurnia's avatar r.kurnia

ui olpa cat

parent 16af3459
......@@ -225,6 +225,9 @@ export default class OutlookPA extends Component {
item.revision
]
})
dataTable.push([
5, "Corporate Annual Target", 0, "not-yet", 39, false, 0
])
let dataTableRevision = response.data.data.map((item, index) => {
return [
item.report_id,
......@@ -232,7 +235,7 @@ export default class OutlookPA extends Component {
""
]
})
// console.log(dataTable);
console.log(dataTable);
this.setState({ dataTable, loading: false, dataTableRevision, dataForRevision: response.data.data })
} else {
this.setState({ alert: true, messageAlert: response.data.message, tipeAlert: 'warning', loading: false }, () => {
......@@ -617,7 +620,7 @@ export default class OutlookPA extends Component {
visibleBS: false,
visiblePL: false,
visibleTP: false,
visibleCF: true,
visibleCF: false,
visibleCAT: true
})
}
......@@ -1361,6 +1364,7 @@ export default class OutlookPA extends Component {
name: "Action",
options: {
customBodyRender: (val, tableMeta) => {
console.log(tableMeta)
return (
<div style={{ display: 'flex' }}>
<button
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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