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
3afa1d57
Commit
3afa1d57
authored
Aug 19, 2020
by
Rifka Kurnia Irfiana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update index api
parent
867ddf10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
index.js
src/api/index.js
+2
-0
No files found.
src/api/index.js
View file @
3afa1d57
...
@@ -109,6 +109,7 @@ const create = (baseURL = 'https://tia.eksad.com/tia-reporting-dev/public/') =>
...
@@ -109,6 +109,7 @@ const create = (baseURL = 'https://tia.eksad.com/tia-reporting-dev/public/') =>
const
getApprovedByAM
=
()
=>
api
.
get
(
'approval_matrix/get_all_approver'
)
const
getApprovedByAM
=
()
=>
api
.
get
(
'approval_matrix/get_all_approver'
)
const
getTypeAM
=
()
=>
api
.
get
(
'approval_type/get_all_approval_type'
)
const
getTypeAM
=
()
=>
api
.
get
(
'approval_type/get_all_approval_type'
)
const
getOperatorAM
=
()
=>
api
.
get
(
'operator_type/get_all_operator_type'
)
const
getOperatorAM
=
()
=>
api
.
get
(
'operator_type/get_all_operator_type'
)
const
getDetailAM
=
(
id
)
=>
api
.
get
(
`approval_matrix/get_approval_matrix_by_id/
${
id
}
`
)
const
searchAM
=
(
body
)
=>
api
.
post
(
'/approval_matrix/search_approval_matrix'
,
body
)
const
searchAM
=
(
body
)
=>
api
.
post
(
'/approval_matrix/search_approval_matrix'
,
body
)
const
createAM
=
(
body
)
=>
api
.
post
(
'/approval_matrix/create_approval_matrix'
,
body
)
const
createAM
=
(
body
)
=>
api
.
post
(
'/approval_matrix/create_approval_matrix'
,
body
)
const
updateAM
=
(
body
)
=>
api
.
post
(
'/approval_matrix/update_approval_matrix'
,
body
)
const
updateAM
=
(
body
)
=>
api
.
post
(
'/approval_matrix/update_approval_matrix'
,
body
)
...
@@ -195,6 +196,7 @@ const create = (baseURL = 'https://tia.eksad.com/tia-reporting-dev/public/') =>
...
@@ -195,6 +196,7 @@ const create = (baseURL = 'https://tia.eksad.com/tia-reporting-dev/public/') =>
getApprovedByAM
,
getApprovedByAM
,
getTypeAM
,
getTypeAM
,
getOperatorAM
,
getOperatorAM
,
getDetailAM
,
searchAM
,
searchAM
,
createAM
,
createAM
,
updateAM
,
updateAM
,
...
...
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