Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Tia-dev
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dida Adams Arizona
Tia-dev
Commits
31649cc3
Commit
31649cc3
authored
Apr 20, 2021
by
r.kurnia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ui olpa cat
parent
16af3459
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
988 additions
and
1644 deletions
+988
-1644
OutlookPA.js
src/container/OutlookPA.js
+6
-2
CorporateAnnualTargetOLPA.js
src/container/OutlookPA/CorporateAnnualTargetOLPA.js
+982
-1642
No files found.
src/container/OutlookPA.js
View file @
31649cc3
...
@@ -225,6 +225,9 @@ export default class OutlookPA extends Component {
...
@@ -225,6 +225,9 @@ export default class OutlookPA extends Component {
item
.
revision
item
.
revision
]
]
})
})
dataTable
.
push
([
5
,
"Corporate Annual Target"
,
0
,
"not-yet"
,
39
,
false
,
0
])
let
dataTableRevision
=
response
.
data
.
data
.
map
((
item
,
index
)
=>
{
let
dataTableRevision
=
response
.
data
.
data
.
map
((
item
,
index
)
=>
{
return
[
return
[
item
.
report_id
,
item
.
report_id
,
...
@@ -232,7 +235,7 @@ export default class OutlookPA extends Component {
...
@@ -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
})
this
.
setState
({
dataTable
,
loading
:
false
,
dataTableRevision
,
dataForRevision
:
response
.
data
.
data
})
}
else
{
}
else
{
this
.
setState
({
alert
:
true
,
messageAlert
:
response
.
data
.
message
,
tipeAlert
:
'warning'
,
loading
:
false
},
()
=>
{
this
.
setState
({
alert
:
true
,
messageAlert
:
response
.
data
.
message
,
tipeAlert
:
'warning'
,
loading
:
false
},
()
=>
{
...
@@ -617,7 +620,7 @@ export default class OutlookPA extends Component {
...
@@ -617,7 +620,7 @@ export default class OutlookPA extends Component {
visibleBS
:
false
,
visibleBS
:
false
,
visiblePL
:
false
,
visiblePL
:
false
,
visibleTP
:
false
,
visibleTP
:
false
,
visibleCF
:
tru
e
,
visibleCF
:
fals
e
,
visibleCAT
:
true
visibleCAT
:
true
})
})
}
}
...
@@ -1361,6 +1364,7 @@ export default class OutlookPA extends Component {
...
@@ -1361,6 +1364,7 @@ export default class OutlookPA extends Component {
name
:
"Action"
,
name
:
"Action"
,
options
:
{
options
:
{
customBodyRender
:
(
val
,
tableMeta
)
=>
{
customBodyRender
:
(
val
,
tableMeta
)
=>
{
console
.
log
(
tableMeta
)
return
(
return
(
<
div
style
=
{{
display
:
'flex'
}}
>
<
div
style
=
{{
display
:
'flex'
}}
>
<
button
<
button
...
...
src/container/OutlookPA/CorporateAnnualTargetOLPA.js
View file @
31649cc3
This source diff could not be displayed because it is too large. You can
view the blob
instead.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment