-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
2,071 additions
and
382 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -42,4 +42,4 @@ export const iconsSet = Object.assign( | |
cilInfo, | ||
cilSpeech | ||
} | ||
) | ||
) |
62 changes: 31 additions & 31 deletions
62
terra-frontend/src/services/countries/countries.service.js
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 |
---|---|---|
@@ -1,31 +1,31 @@ | ||
import { axiosHack } from "@/http" | ||
export const countriesService = { | ||
findAll, | ||
getDataSeries | ||
} | ||
|
||
function findAll(jsonDataName) { | ||
return axiosHack | ||
.get("/" + jsonDataName) | ||
.then((res) => { | ||
var data = res.data ? res.data : {} | ||
//console.log(data); | ||
return data | ||
}) | ||
.catch((err) => { | ||
throw err | ||
}) | ||
} | ||
|
||
function getDataSeries(name) { | ||
return axiosHack | ||
.get("/" + name) | ||
.then((res) => { | ||
var data = res.data ? res.data : {} | ||
//console.log(data); | ||
return data | ||
}) | ||
.catch((err) => { | ||
throw err | ||
}) | ||
} | ||
import { axiosHack } from "@/http" | ||
export const countriesService = { | ||
findAll, | ||
getDataSeries | ||
} | ||
|
||
function findAll(jsonDataName) { | ||
return axiosHack | ||
.get("/" + jsonDataName) | ||
.then((res) => { | ||
var data = res.data ? res.data : {} | ||
//console.log(data); | ||
return data | ||
}) | ||
.catch((err) => { | ||
throw err | ||
}) | ||
} | ||
|
||
function getDataSeries(name) { | ||
return axiosHack | ||
.get("/" + name) | ||
.then((res) => { | ||
var data = res.data ? res.data : {} | ||
//console.log(data); | ||
return data | ||
}) | ||
.catch((err) => { | ||
throw err | ||
}) | ||
} |
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 |
---|---|---|
|
@@ -17,4 +17,4 @@ function findAll() { | |
.catch((err) => { | ||
throw err | ||
}) | ||
} | ||
} |
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 |
---|---|---|
|
@@ -32,4 +32,4 @@ export default new Vuex.Store({ | |
metadata, | ||
news | ||
} | ||
}) | ||
}) |
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 |
---|---|---|
|
@@ -201,4 +201,4 @@ export const coreui = { | |
mutations, | ||
actions, | ||
getters | ||
} | ||
} |
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 |
---|---|---|
|
@@ -30,4 +30,4 @@ export const news = { | |
mutations, | ||
actions, | ||
getters | ||
} | ||
} |