-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated UI and integrated api (#224)
Co-authored-by: Javier Munoz <javier@igwtech.net>
- Loading branch information
Showing
9 changed files
with
671 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import axios from 'axios'; | ||
|
||
const END_POINT__DATERANGE_DATA = 'https://ec2-3-101-28-243.us-west-1.compute.amazonaws.com:8443/api/as2message/list/?Id=""&accountId=""&userId=""'; | ||
const END_POINT_INTERVAL_DATA = 'https://ec2-3-101-28-243.us-west-1.compute.amazonaws.com:8443/api/as2message/list/?orgId=""&accountId=""&userId=""'; | ||
|
||
const getTableDataByDate = ( payload ) => axios.get(END_POINT__DATERANGE_DATA+ '&' +`startDate=${payload.startDate}`+ '&' +`endDate=${payload.lastDate}`,{ headers: { 'Authorization': 'Basic dXNlcklEOnBXZA==' }}); | ||
const getTableDataByInterval = ( payload ) => axios.get(END_POINT_INTERVAL_DATA + '&' +`${payload}`,{ headers: { 'Authorization': 'Basic dXNlcklEOnBXZA==' }}); | ||
|
||
|
||
export default { | ||
getTableDataByDate, getTableDataByInterval | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.