try rewirte of all backoffice controllers to ApiControllers

This commit is contained in:
2020-10-27 15:47:23 +01:00
parent edfb6ec2e5
commit 6eb81a5eeb
37 changed files with 315 additions and 354 deletions
+8 -2
View File
@@ -17,9 +17,15 @@ export default {
},
// get all applications
getAll(query)
getAll()
{
return Axios.get(base + 'getAll', { params: query }).then(res => Promise.resolve(res.data));
return Axios.get(base + 'getAll').then(res => Promise.resolve(res.data));
},
// get applications by query
getByQuery(query)
{
return Axios.get(base + 'getByQuery', { params: query }).then(res => Promise.resolve(res.data));
},
// get all application features