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
544ddae8
Commit
544ddae8
authored
Jan 19, 2021
by
Dida Adams Arizona
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'didam' into 'master'
apdet See merge request
!989
parents
dc262576
e72137e9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
MonthlyReport.js
src/container/MonthlyReport.js
+5
-1
No files found.
src/container/MonthlyReport.js
View file @
544ddae8
...
@@ -688,6 +688,9 @@ export default class MonthlyReport extends Component {
...
@@ -688,6 +688,9 @@ export default class MonthlyReport extends Component {
}
}
clickDetail
(
item
,
id
,
revision
,
status
)
{
clickDetail
(
item
,
id
,
revision
,
status
)
{
console
.
log
(
this
.
state
.
dataForRevision
)
console
.
log
(
item
)
console
.
log
(
revision
)
console
.
log
(
item
)
console
.
log
(
item
)
let
items
=
''
let
items
=
''
if
(
item
===
'Corporate Annual Target'
)
{
if
(
item
===
'Corporate Annual Target'
)
{
...
@@ -697,7 +700,7 @@ export default class MonthlyReport extends Component {
...
@@ -697,7 +700,7 @@ export default class MonthlyReport extends Component {
}
}
this
.
state
.
dataForRevision
.
map
(
i
=>
{
this
.
state
.
dataForRevision
.
map
(
i
=>
{
if
(
i
.
report_name
===
items
)
{
if
(
i
.
report_name
===
items
)
{
if
(
i
.
revision
!
==
revision
)
{
if
(
i
.
revision
==
revision
)
{
this
.
setState
({
prevRevision
:
true
})
this
.
setState
({
prevRevision
:
true
})
}
else
{
}
else
{
this
.
setState
({
prevRevision
:
false
})
this
.
setState
({
prevRevision
:
false
})
...
@@ -710,6 +713,7 @@ export default class MonthlyReport extends Component {
...
@@ -710,6 +713,7 @@ export default class MonthlyReport extends Component {
status
:
status
status
:
status
},
()
=>
{
},
()
=>
{
console
.
log
(
status
)
console
.
log
(
status
)
console
.
log
(
this
.
state
.
prevRevision
)
if
(
item
===
'Balance Sheet'
)
{
if
(
item
===
'Balance Sheet'
)
{
this
.
setState
({
this
.
setState
({
visibleMonthlyReport
:
false
,
visibleMonthlyReport
:
false
,
...
...
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