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
e72137e9
Commit
e72137e9
authored
Jan 19, 2021
by
d.arizona
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
apdet
parent
159df07c
Changes
1
Hide 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 @
e72137e9
...
@@ -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