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
6b3cf421
Commit
6b3cf421
authored
May 03, 2021
by
Riri Novita
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://103.44.149.204/d.arizona/tia-dev
into riri
parents
ae0ac398
58d3c587
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1087 additions
and
2081 deletions
+1087
-2081
index.js
src/api/index.js
+3
-1
OutlookPA.js
src/container/OutlookPA.js
+6
-5
CorporateAnnualTargetOLPA.js
src/container/OutlookPA/CorporateAnnualTargetOLPA.js
+1078
-2075
No files found.
src/api/index.js
View file @
6b3cf421
...
@@ -367,6 +367,7 @@ const create = (type = "") => {
...
@@ -367,6 +367,7 @@ const create = (type = "") => {
const
getHierarkiDBPLRO
=
(
body
)
=>
api
.
post
(
'transaction/db_profit_loss/rolling_outlook/get_report_hierarki'
,
body
)
const
getHierarkiDBPLRO
=
(
body
)
=>
api
.
post
(
'transaction/db_profit_loss/rolling_outlook/get_report_hierarki'
,
body
)
const
createDBPLRO
=
(
body
)
=>
api
.
post
(
'transaction/db_profit_loss/rolling_outlook/create_rolling_outlook'
,
body
)
const
createDBPLRO
=
(
body
)
=>
api
.
post
(
'transaction/db_profit_loss/rolling_outlook/create_rolling_outlook'
,
body
)
const
getDetailReportOLPACAT
=
(
body
)
=>
api
.
post
(
'transaction/cat/outlook_pa/get_report_hierarki'
,
body
)
const
getDetailReportOLPACAT
=
(
body
)
=>
api
.
post
(
'transaction/cat/outlook_pa/get_report_hierarki'
,
body
)
const
createCATOLPA
=
(
body
)
=>
api
.
post
(
'transaction/cat/outlook_pa/create_outlook_pa'
,
body
)
// Monthly
// Monthly
const
getMonthlyReport
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report/get_all_report'
,
body
)
const
getMonthlyReport
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report/get_all_report'
,
body
)
...
@@ -804,7 +805,8 @@ const create = (type = "") => {
...
@@ -804,7 +805,8 @@ const create = (type = "") => {
createDBPLOLPA
,
createDBPLOLPA
,
getHierarkiDBPLRO
,
getHierarkiDBPLRO
,
createDBPLRO
,
createDBPLRO
,
getDetailReportOLPACAT
getDetailReportOLPACAT
,
createCATOLPA
}
}
}
}
...
...
src/container/OutlookPA.js
View file @
6b3cf421
...
@@ -226,9 +226,9 @@ export default class OutlookPA extends Component {
...
@@ -226,9 +226,9 @@ export default class OutlookPA extends Component {
item
.
revision
item
.
revision
]
]
})
})
dataTable
.
push
([
//
dataTable.push([
5
,
"Corporate Annual Target"
,
0
,
"not-yet"
,
39
,
false
,
0
//
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
,
...
@@ -615,7 +615,8 @@ export default class OutlookPA extends Component {
...
@@ -615,7 +615,8 @@ export default class OutlookPA extends Component {
visibleCF
:
true
,
visibleCF
:
true
,
visibleCAT
:
false
visibleCAT
:
false
})
})
}
else
if
(
item
===
'Corporate Annual Target'
)
{
// } else if (item === 'Corporate Annual Target') {
}
else
if
(
item
===
'CAT'
)
{
this
.
setState
({
this
.
setState
({
visibleOutlookPA
:
false
,
visibleOutlookPA
:
false
,
visibleBS
:
false
,
visibleBS
:
false
,
...
@@ -1365,7 +1366,7 @@ export default class OutlookPA extends Component {
...
@@ -1365,7 +1366,7 @@ export default class OutlookPA extends Component {
name
:
"Action"
,
name
:
"Action"
,
options
:
{
options
:
{
customBodyRender
:
(
val
,
tableMeta
)
=>
{
customBodyRender
:
(
val
,
tableMeta
)
=>
{
console
.
log
(
tableMeta
)
//
console.log(tableMeta)
return
(
return
(
<
div
style
=
{{
display
:
'flex'
}}
>
<
div
style
=
{{
display
:
'flex'
}}
>
<
button
<
button
...
...
src/container/OutlookPA/CorporateAnnualTargetOLPA.js
View file @
6b3cf421
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