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
bc14faf5
Commit
bc14faf5
authored
Jan 18, 2021
by
Dida Adams Arizona
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'didam' into 'master'
update See merge request
!981
parents
2cb7103e
7fd05354
Changes
3
Expand all
Show 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 @
bc14faf5
...
@@ -312,6 +312,9 @@ const create = (type = "") => {
...
@@ -312,6 +312,9 @@ const create = (type = "") => {
const
uploadMonthlyReportLOCF
=
(
body
)
=>
api
.
post
(
'transaction/locf/monthly_report/import_monthly_report'
,
body
)
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
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
// MonthlyPL
// const getHierarkiMontlyReportPL = (body) => api.post('transaction/monthly_report_pl/get_report_hierarki', body)
// 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)
// const createMonthlyReportPL = (body) => api.post('transaction/monthly_report_pl/create_monthly_report', body)
...
@@ -561,7 +564,9 @@ const create = (type = "") => {
...
@@ -561,7 +564,9 @@ const create = (type = "") => {
deleteAllItemReportLOCF
,
deleteAllItemReportLOCF
,
submitMonthlyReport
,
submitMonthlyReport
,
approvalMonthly
,
approvalMonthly
,
createPeriodeRevisionMonthly
createPeriodeRevisionMonthly
,
getListUserSubcoMB
,
getListUserSubcoMR
}
}
}
}
...
...
src/container/HomePage.js
View file @
bc14faf5
This diff is collapsed.
Click to expand it.
src/container/MonthlyReport.js
View file @
bc14faf5
...
@@ -1050,12 +1050,14 @@ export default class MonthlyReport extends Component {
...
@@ -1050,12 +1050,14 @@ export default class MonthlyReport extends Component {
cursor
:
tableMeta
.
rowData
[
5
]
?
'pointer'
:
'default'
,
cursor
:
tableMeta
.
rowData
[
5
]
?
'pointer'
:
'default'
,
borderColor
:
'transparent'
borderColor
:
'transparent'
}}
}}
onClick
=
{()
=>
{
onClick
=
{()
=>
// {
tableMeta
.
rowData
[
5
]
?
this
.
clickDetail
(
tableMeta
.
rowData
[
1
],
tableMeta
.
rowData
[
4
],
tableMeta
.
rowData
[
2
],
tableMeta
.
rowData
[
3
])
this
.
clickDetail
(
tableMeta
.
rowData
[
1
],
tableMeta
.
rowData
[
4
],
tableMeta
.
rowData
[
2
],
tableMeta
.
rowData
[
3
])
console
.
log
(
tableMeta
.
rowData
)
:
null
}
// console.log(tableMeta.rowData)
//
tableMeta.rowData[5] ?
//
}
// : null
}
}
>
>
<
Typography
style
=
{{
color
:
tableMeta
.
rowData
[
5
]
?
'#5198ea'
:
'GrayText'
,
fontSize
:
12
,
}}
>
Detail
<
/Typography
>
<
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