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
d8554ae1
Commit
d8554ae1
authored
Aug 14, 2020
by
Deni Rinaldi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'deni-dev(pc)' into 'master'
ganti api See merge request
!72
parents
ae8ec620
700d2fdd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
index.js
src/api/index.js
+1
-1
UnitBisnis.js
src/container/MasterData/UnitBisnis.js
+2
-2
No files found.
src/api/index.js
View file @
d8554ae1
...
...
@@ -3,7 +3,7 @@ import apisauce from 'apisauce'
import
Constant
from
'../library/Constant'
// our "constructor"
const
create
=
(
baseURL
=
'https://t
rft
ia.eksad.com/tia-reporting-dev/public/'
)
=>
{
const
create
=
(
baseURL
=
'https://tia.eksad.com/tia-reporting-dev/public/'
)
=>
{
// ------
// STEP 1
// ------
...
...
src/container/MasterData/UnitBisnis.js
View file @
d8554ae1
...
...
@@ -236,7 +236,7 @@ export default class UnitBisnis extends Component {
downloadFile
=
async
()
=>
{
let
res
=
await
fetch
(
"https://t
rft
ia.eksad.com/tia-reporting-dev/public/attachment/download_file?fileName=BusinessUnitTemplate&&fileType=xlsx"
"https://tia.eksad.com/tia-reporting-dev/public/attachment/download_file?fileName=BusinessUnitTemplate&&fileType=xlsx"
)
res
=
await
res
.
blob
()
console
.
log
(
res
)
...
...
@@ -251,7 +251,7 @@ export default class UnitBisnis extends Component {
downloadDataTable
=
async
()
=>
{
let
res
=
await
fetch
(
"https://t
rft
ia.eksad.com/tia-reporting-dev/public/business_unit/export_business_unit"
"https://tia.eksad.com/tia-reporting-dev/public/business_unit/export_business_unit"
)
res
=
await
res
.
blob
()
console
.
log
(
res
)
...
...
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