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
0d6705d5
Commit
0d6705d5
authored
Apr 20, 2021
by
faisalhamdi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://103.44.149.204/d.arizona/tia-dev
into faisal
parents
668933c4
bf95f386
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
992 additions
and
1647 deletions
+992
-1647
OutlookPA.js
src/container/OutlookPA.js
+6
-2
CorporateAnnualTargetOLPA.js
src/container/OutlookPA/CorporateAnnualTargetOLPA.js
+982
-1642
CorporateAnnualTargetRO.js
src/container/RollingOutlook/CorporateAnnualTargetRO.js
+4
-3
No files found.
src/container/OutlookPA.js
View file @
0d6705d5
...
...
@@ -226,6 +226,9 @@ export default class OutlookPA extends Component {
item.revision
]
})
dataTable.push([
5, "Corporate Annual Target", 0, "not-yet", 39, false, 0
])
let dataTableRevision = response.data.data.map((item, index) => {
return [
item.report_id,
...
...
@@ -233,7 +236,7 @@ export default class OutlookPA extends Component {
""
]
})
//
console.log(dataTable);
console.log(dataTable);
this.setState({ dataTable, loading: false, dataTableRevision, dataForRevision: response.data.data })
} else {
this.setState({ alert: true, messageAlert: response.data.message, tipeAlert: 'warning', loading: false }, () => {
...
...
@@ -618,7 +621,7 @@ export default class OutlookPA extends Component {
visibleBS: false,
visiblePL: false,
visibleTP: false,
visibleCF
:
tru
e
,
visibleCF:
fals
e,
visibleCAT: true
})
}
...
...
@@ -1362,6 +1365,7 @@ export default class OutlookPA extends Component {
name: "Action",
options: {
customBodyRender: (val, tableMeta) => {
console.log(tableMeta)
return (
<div style={{ display: 'flex' }}>
<button
...
...
src/container/OutlookPA/CorporateAnnualTargetOLPA.js
View file @
0d6705d5
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/container/RollingOutlook/CorporateAnnualTargetRO.js
View file @
0d6705d5
...
...
@@ -89,7 +89,7 @@ export default class CorporateAnnualTargetRO extends Component {
let
checkLastStatus
=
false
let
checkStatus
=
false
let
checkPrevRev
=
false
console
.
log
(
'skuy'
);
if
(
this
.
props
.
isApprover
)
{
checkApprover
=
true
}
else
{
...
...
@@ -114,7 +114,8 @@ export default class CorporateAnnualTargetRO extends Component {
checkStatus
=
false
}
this
.
setState
({
viewOnly
:
!
checkApprover
&&
checkLastStatus
&&
checkStatus
&&
checkPrevRev
})
// this.setState({ viewOnly: !checkApprover && checkLastStatus && checkStatus && checkPrevRev })
this
.
setState
({
viewOnly
:
true
})
}
getItemHierarki
()
{
...
...
@@ -620,7 +621,7 @@ export default class CorporateAnnualTargetRO extends Component {
"october"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
20
])
:
String
(
Number
(
i
[
20
].
value
).
toFixed
(
1
))
:
String
(
i
[
20
]),
"november"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
21
])
:
String
(
Number
(
i
[
21
].
value
).
toFixed
(
1
))
:
String
(
i
[
21
]),
"december"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
22
])
:
String
(
Number
(
i
[
22
].
value
).
toFixed
(
1
))
:
String
(
i
[
22
]),
"
total_current_year
"
:
String
(
Number
(
i
[
23
]).
toFixed
(
1
))
==
""
?
"0.0"
:
String
(
Number
(
i
[
23
]).
toFixed
(
1
)),
"
current_year_total
"
:
String
(
Number
(
i
[
23
]).
toFixed
(
1
))
==
""
?
"0.0"
:
String
(
Number
(
i
[
23
]).
toFixed
(
1
)),
"strategic"
:
String
(
i
[
24
]),
"pic"
:
String
(
i
[
25
])
})
...
...
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