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
9e2cf734
Commit
9e2cf734
authored
Nov 13, 2020
by
Riri Novita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
summary
parent
c52a7d7a
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
703 additions
and
30 deletions
+703
-30
SummaryOfTriputra.js
src/container/SummaryTriputra/SummaryOfTriputra.js
+3
-20
TableSummaryTriputra.js
src/container/SummaryTriputra/TableSummaryTriputra.js
+700
-10
No files found.
src/container/SummaryTriputra/SummaryOfTriputra.js
View file @
9e2cf734
...
...
@@ -25,8 +25,8 @@ export default class SummaryOfTriputra extends Component {
{
value
:
1
,
label
:
'MTD Report'
},
{
value
:
2
,
label
:
'YTD Report'
},
{
value
:
3
,
label
:
'CPSM Report'
},
{
value
:
5
,
label
:
'Historical'
},
{
value
:
6
,
label
:
'Dashboard Financial'
},
{
value
:
4
,
label
:
'Historical'
},
{
value
:
5
,
label
:
'Dashboard Financial'
},
],
report
:
null
,
loading
:
false
,
...
...
@@ -646,10 +646,7 @@ export default class SummaryOfTriputra extends Component {
}
render
()
{
let
datas
=
[
[
"ABCD"
,
{
a
:
"2"
,
b
:
"3"
,
c
:
"4"
,
d
:
"5"
},
{
a
:
"2"
,
b
:
"3"
,
c
:
"4"
,
d
:
"5"
},
{
a
:
"2"
,
b
:
"3"
,
c
:
"4"
,
d
:
"5"
},
{
a
:
"2"
,
b
:
"3"
,
c
:
"4"
,
d
:
"5"
},
{
a
:
"2"
,
b
:
"3"
,
c
:
"4"
,
d
:
"5"
},
{
a
:
"2"
,
b
:
"3"
,
c
:
"4"
,
d
:
"5"
}],
[
"Total Assets"
,
{
a
:
"6"
,
b
:
"7"
,
c
:
"8"
,
d
:
"9"
},
{
a
:
"6"
,
b
:
"7"
,
c
:
"8"
,
d
:
"9"
},
{
a
:
"6"
,
b
:
"7"
,
c
:
"8"
,
d
:
"9"
},
{
a
:
"6"
,
b
:
"7"
,
c
:
"8"
,
d
:
"9"
},
{
a
:
"6"
,
b
:
"7"
,
c
:
"8"
,
d
:
"9"
},
{
a
:
"6"
,
b
:
"7"
,
c
:
"8"
,
d
:
"9"
}]
]
const
loadingComponent
=
(
<
div
style
=
{{
position
:
'absolute'
,
zIndex
:
110
,
top
:
0
,
left
:
0
,
width
:
'100%'
,
height
:
'100%'
,
display
:
'flex'
,
justifyContent
:
'center'
,
alignItems
:
'center'
,
background
:
'rgba(255,255,255,0.8)'
}}
>
<
PropagateLoader
...
...
@@ -686,20 +683,6 @@ export default class SummaryOfTriputra extends Component {
value
=
{
this
.
state
.
report
}
/
>
<
/div
>
<
div
style
=
{{
marginTop
:
15
}}
>
<
Autocomplete
{...
this
.
state
.
listCompany
}
id
=
"company"
disabled
=
{
this
.
state
.
intent
===
'Home'
?
true
:
false
}
onChange
=
{(
event
,
newInputValue
)
=>
this
.
setState
({
company
:
newInputValue
,
loading
:
true
,
previewTable
:
false
},
()
=>
{
this
.
getSubmission
()
})}
disableClearable
style
=
{{
width
:
250
}}
renderInput
=
{(
params
)
=>
<
TextField
{...
params
}
label
=
"Company"
margin
=
"normal"
style
=
{{
marginTop
:
7
}}
/>
}
value
=
{
this
.
state
.
company
}
/
>
<
/div
>
<
div
style
=
{{
marginTop
:
15
}}
>
<
Autocomplete
{...
this
.
state
.
listPeriode
}
...
...
src/container/SummaryTriputra/TableSummaryTriputra.js
View file @
9e2cf734
This diff is collapsed.
Click to expand it.
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