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
7fd05354
Commit
7fd05354
authored
Jan 18, 2021
by
d.arizona
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
2cb7103e
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
230 additions
and
23 deletions
+230
-23
index.js
src/api/index.js
+6
-1
HomePage.js
src/container/HomePage.js
+216
-16
MonthlyReport.js
src/container/MonthlyReport.js
+8
-6
No files found.
src/api/index.js
View file @
7fd05354
...
...
@@ -312,6 +312,9 @@ const create = (type = "") => {
const
uploadMonthlyReportLOCF
=
(
body
)
=>
api
.
post
(
'transaction/locf/monthly_report/import_monthly_report'
,
body
)
const
validateSubmitReportOI
=
(
body
)
=>
api
.
post
(
'transaction/operating_indicator/monthly_report/validate_save'
,
body
)
const
getListUserSubcoMB
=
(
periode
)
=>
api
.
get
(
`transaction/get_dashboard_sub_co/master_budget/
${
periode
}
`
)
const
getListUserSubcoMR
=
(
months
,
periode
)
=>
api
.
get
(
`transaction/get_dashboard_sub_co/monthly_report/
${
periode
}
/
${
months
}
`
)
// MonthlyPL
// const getHierarkiMontlyReportPL = (body) => api.post('transaction/monthly_report_pl/get_report_hierarki', body)
// const createMonthlyReportPL = (body) => api.post('transaction/monthly_report_pl/create_monthly_report', body)
...
...
@@ -561,7 +564,9 @@ const create = (type = "") => {
deleteAllItemReportLOCF
,
submitMonthlyReport
,
approvalMonthly
,
createPeriodeRevisionMonthly
createPeriodeRevisionMonthly
,
getListUserSubcoMB
,
getListUserSubcoMR
}
}
...
...
src/container/HomePage.js
View file @
7fd05354
This diff is collapsed.
Click to expand it.
src/container/MonthlyReport.js
View file @
7fd05354
...
...
@@ -1050,12 +1050,14 @@ export default class MonthlyReport extends Component {
cursor
:
tableMeta
.
rowData
[
5
]
?
'pointer'
:
'default'
,
borderColor
:
'transparent'
}}
onClick
=
{()
=>
{
this
.
clickDetail
(
tableMeta
.
rowData
[
1
],
tableMeta
.
rowData
[
4
],
tableMeta
.
rowData
[
2
],
tableMeta
.
rowData
[
3
])
console
.
log
(
tableMeta
.
rowData
)
}
// tableMeta.rowData[5] ?
// : null
onClick
=
{()
=>
// {
tableMeta
.
rowData
[
5
]
?
this
.
clickDetail
(
tableMeta
.
rowData
[
1
],
tableMeta
.
rowData
[
4
],
tableMeta
.
rowData
[
2
],
tableMeta
.
rowData
[
3
])
:
null
// console.log(tableMeta.rowData)
// }
}
>
<
Typography
style
=
{{
color
:
tableMeta
.
rowData
[
5
]
?
'#5198ea'
:
'GrayText'
,
fontSize
:
12
,
}}
>
Detail
<
/Typography
>
...
...
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