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
faa6fe36
Commit
faa6fe36
authored
Feb 10, 2021
by
d.arizona
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
0e7f1ac9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
BudgetTahunan.js
src/container/BudgetTahunan.js
+5
-4
No files found.
src/container/BudgetTahunan.js
View file @
faa6fe36
...
...
@@ -516,8 +516,9 @@ export default class BudgetTahunan extends Component {
"periode"
:
this
.
state
.
periode
.
periode
,
"is_approver"
:
this
.
state
.
permissionhandle
?
this
.
state
.
permissionhandle
:
this
.
state
.
isApprover
}
console
.
log
(
payload
)
api
.
create
().
getSubmission
(
payload
).
then
(
response
=>
{
//
console.log(response)
console
.
log
(
response
)
if
(
response
.
data
)
{
if
(
response
.
data
.
status
===
"success"
)
{
this
.
setState
({
...
...
@@ -1902,11 +1903,11 @@ export default class BudgetTahunan extends Component {
"min_periode"
:
moment
(
this
.
state
.
minDateRevision
).
format
(
'YYYY-MM-DD'
),
"max_periode"
:
moment
(
this
.
state
.
maxDateRevision
).
format
(
'YYYY-MM-DD'
)
}
// // //
console.log(payload)
console
.
log
(
payload
)
// // console.log(this.props.location);
// //
console.log(body)
console
.
log
(
body
)
api
.
create
().
approvalSubmission
(
body
).
then
((
res
)
=>
{
// // //
console.log(res)
console
.
log
(
res
)
// this.setState({ loading: false }, () => {
// })
if
(
type
==
'revision'
)
{
...
...
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