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
c3bd08d8
Commit
c3bd08d8
authored
Aug 14, 2020
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
47f45cd6
8b60a0ae
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
434 additions
and
25 deletions
+434
-25
index.js
src/api/index.js
+1
-1
UnitBisnis.js
src/container/MasterData/UnitBisnis.js
+2
-2
CreateItemLaporan.js
...container/MasterData/formItemLaporan/CreateItemLaporan.js
+431
-22
No files found.
src/api/index.js
View file @
c3bd08d8
...
@@ -3,7 +3,7 @@ import apisauce from 'apisauce'
...
@@ -3,7 +3,7 @@ import apisauce from 'apisauce'
import
Constant
from
'../library/Constant'
import
Constant
from
'../library/Constant'
// our "constructor"
// 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
// STEP 1
// ------
// ------
...
...
src/container/MasterData/UnitBisnis.js
View file @
c3bd08d8
...
@@ -236,7 +236,7 @@ export default class UnitBisnis extends Component {
...
@@ -236,7 +236,7 @@ export default class UnitBisnis extends Component {
downloadFile
=
async
()
=>
{
downloadFile
=
async
()
=>
{
let
res
=
await
fetch
(
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
()
res
=
await
res
.
blob
()
console
.
log
(
res
)
console
.
log
(
res
)
...
@@ -251,7 +251,7 @@ export default class UnitBisnis extends Component {
...
@@ -251,7 +251,7 @@ export default class UnitBisnis extends Component {
downloadDataTable
=
async
()
=>
{
downloadDataTable
=
async
()
=>
{
let
res
=
await
fetch
(
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
()
res
=
await
res
.
blob
()
console
.
log
(
res
)
console
.
log
(
res
)
...
...
src/container/MasterData/formItemLaporan/CreateItemLaporan.js
View file @
c3bd08d8
This diff is collapsed.
Click to expand it.
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