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
35ca300c
Commit
35ca300c
authored
Mar 31, 2026
by
Hardiansyah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix open CAT
parent
b68b4a89
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
5 deletions
+16
-5
OutlookPA.js
src/container/OutlookPA/OutlookPA.js
+8
-3
RollingOutlook.js
src/container/RollingOutlook/RollingOutlook.js
+8
-2
No files found.
src/container/OutlookPA/OutlookPA.js
View file @
35ca300c
...
@@ -820,9 +820,15 @@ export default class OutlookPA extends Component {
...
@@ -820,9 +820,15 @@ export default class OutlookPA extends Component {
}
}
clickDetail
(
item
,
id
,
revision
,
status
,
tableKey
)
{
clickDetail
(
item
,
id
,
revision
,
status
,
tableKey
)
{
let
items
=
''
if
(
item
===
'Corporate Annual Target'
)
{
items
=
'CAT'
}
else
{
items
=
item
}
const
listTable
=
tableKey
===
'CAT'
?
this
.
state
.
dataForRevisionCAT
:
this
.
state
.
dataForRevision
const
listTable
=
tableKey
===
'CAT'
?
this
.
state
.
dataForRevisionCAT
:
this
.
state
.
dataForRevision
listTable
.
map
(
i
=>
{
listTable
.
map
(
i
=>
{
if
(
i
.
report_name
===
item
)
{
if
(
i
.
report_name
===
item
s
)
{
if
(
i
.
revision
==
revision
)
{
if
(
i
.
revision
==
revision
)
{
this
.
setState
({
prevRevision
:
true
})
this
.
setState
({
prevRevision
:
true
})
}
else
{
}
else
{
...
@@ -872,8 +878,7 @@ export default class OutlookPA extends Component {
...
@@ -872,8 +878,7 @@ export default class OutlookPA extends Component {
visibleCF
:
true
,
visibleCF
:
true
,
visibleCAT
:
false
visibleCAT
:
false
})
})
// } else if (item === 'Corporate Annual Target') {
}
else
if
(
item
===
'Corporate Annual Target'
)
{
}
else
if
(
item
===
'CAT'
)
{
this
.
setState
({
this
.
setState
({
visibleOutlookPA
:
false
,
visibleOutlookPA
:
false
,
visibleBS
:
false
,
visibleBS
:
false
,
...
...
src/container/RollingOutlook/RollingOutlook.js
View file @
35ca300c
...
@@ -868,9 +868,15 @@ export default class RollingOutlook extends Component {
...
@@ -868,9 +868,15 @@ export default class RollingOutlook extends Component {
}
}
clickDetail
(
item
,
id
,
revision
,
status
,
tableKey
)
{
clickDetail
(
item
,
id
,
revision
,
status
,
tableKey
)
{
let
items
=
''
if
(
item
===
'Corporate Annual Target'
)
{
items
=
'CAT'
}
else
{
items
=
item
}
const
listTable
=
tableKey
===
'CAT'
?
this
.
state
.
dataForRevisionCAT
:
this
.
state
.
dataForRevision
const
listTable
=
tableKey
===
'CAT'
?
this
.
state
.
dataForRevisionCAT
:
this
.
state
.
dataForRevision
listTable
.
map
(
i
=>
{
listTable
.
map
(
i
=>
{
if
(
i
.
report_name
===
item
)
{
if
(
i
.
report_name
===
item
s
)
{
if
(
i
.
revision
==
revision
)
{
if
(
i
.
revision
==
revision
)
{
this
.
setState
({
prevRevision
:
true
})
this
.
setState
({
prevRevision
:
true
})
}
else
{
}
else
{
...
@@ -920,7 +926,7 @@ export default class RollingOutlook extends Component {
...
@@ -920,7 +926,7 @@ export default class RollingOutlook extends Component {
visibleTP
:
true
,
visibleTP
:
true
,
visibleCF
:
false
,
visibleCF
:
false
,
})
})
}
else
if
(
item
===
'C
AT
'
)
{
}
else
if
(
item
===
'C
orporate Annual Target
'
)
{
this
.
setState
({
this
.
setState
({
visibleRollingOutlook
:
false
,
visibleRollingOutlook
:
false
,
visibleBS
:
false
,
visibleBS
:
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