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
6d96d9dd
Commit
6d96d9dd
authored
Aug 16, 2020
by
EKSAD
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
report item update
parent
18c6d9e7
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
322 additions
and
165 deletions
+322
-165
index.js
src/api/index.js
+5
-1
ReportItems.js
src/container/MasterData/ReportItems.js
+214
-42
CreateReportItems.js
...container/MasterData/formReportItems/CreateReportItems.js
+103
-122
No files found.
src/api/index.js
View file @
6d96d9dd
...
...
@@ -114,7 +114,9 @@ const create = (baseURL = 'https://tia.eksad.com/tia-reporting-dev/public/') =>
//Report Items
const
getReportItems
=
()
=>
api
.
get
(
'item_report/get_all_item_report'
)
const
getReportType
=
()
=>
api
.
get
(
'type_report/get_all_type_report'
)
const
searchReportItems
=
(
body
)
=>
api
.
post
(
'/item_report/search_item_report'
,
body
)
const
createReportItems
=
(
body
)
=>
api
.
post
(
'/item_report/create_item_report'
,
body
)
//Template
...
...
@@ -173,7 +175,9 @@ const create = (baseURL = 'https://tia.eksad.com/tia-reporting-dev/public/') =>
checkUploadUser
,
uploadUser
,
getReportItems
,
searchReportItems
searchReportItems
,
createReportItems
,
getReportType
,
}
}
...
...
src/container/MasterData/ReportItems.js
View file @
6d96d9dd
This diff is collapsed.
Click to expand it.
src/container/MasterData/formReportItems/CreateReportItems.js
View file @
6d96d9dd
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