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
90007a0e
Commit
90007a0e
authored
Jan 18, 2021
by
rifkaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cat miauw
parent
5323bb98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
CorporateAnnualTargetMR.js
src/container/MonthlyReport/CorporateAnnualTargetMR.js
+4
-3
No files found.
src/container/MonthlyReport/CorporateAnnualTargetMR.js
View file @
90007a0e
...
@@ -463,7 +463,8 @@ export default class CorporateAnnualTargetMR extends Component {
...
@@ -463,7 +463,8 @@ export default class CorporateAnnualTargetMR extends Component {
}
}
console
.
log
(
JSON
.
stringify
(
body
));
console
.
log
(
JSON
.
stringify
(
body
));
api
.
create
(
'UPLOAD'
).
uploadMonthlyReportCAT
(
body
).
then
(
response
=>
{
api
.
create
(
'UPLOAD'
).
uploadMonthlyReportCAT
(
body
).
then
(
response
=>
{
// console.log(response);
console
.
log
(
body
);
console
.
log
(
response
);
if
(
response
.
data
)
{
if
(
response
.
data
)
{
if
(
response
.
data
.
status
===
"success"
)
{
if
(
response
.
data
.
status
===
"success"
)
{
this
.
props
.
onClickClose
()
this
.
props
.
onClickClose
()
...
@@ -586,9 +587,9 @@ export default class CorporateAnnualTargetMR extends Component {
...
@@ -586,9 +587,9 @@ export default class CorporateAnnualTargetMR extends Component {
"jenis_kpi"
:
i
[
8
]
==
null
?
""
:
i
[
8
],
"jenis_kpi"
:
i
[
8
]
==
null
?
""
:
i
[
8
],
"max_ach"
:
i
[
9
]
==
null
?
""
:
i
[
9
],
"max_ach"
:
i
[
9
]
==
null
?
""
:
i
[
9
],
"formula_ytd"
:
i
[
10
]
==
null
?
""
:
i
[
10
],
"formula_ytd"
:
i
[
10
]
==
null
?
""
:
i
[
10
],
"actual_monthly"
:
i
[
11
]
==
null
||
i
[
11
]
==
""
?
0.0
:
i
[
11
]
,
"actual_monthly"
:
i
[
11
]
==
null
||
i
[
11
]
==
""
?
0.0
:
String
(
Number
(
i
[
11
]).
toFixed
(
1
))
,
"target_monthly"
:
i
[
12
]
==
null
||
i
[
12
]
==
""
?
0.0
:
i
[
12
],
"target_monthly"
:
i
[
12
]
==
null
||
i
[
12
]
==
""
?
0.0
:
i
[
12
],
"achivement_monthly"
:
i
[
13
]
,
"achivement_monthly"
:
String
(
Number
(
i
[
13
]).
toFixed
(
1
))
,
"score"
:
i
[
14
],
"score"
:
i
[
14
],
"score_x_weight"
:
i
[
15
],
"score_x_weight"
:
i
[
15
],
"notes"
:
i
[
16
]
"notes"
:
i
[
16
]
...
...
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