mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-21 09:12:14 +00:00
routes refactoring
This commit is contained in:
@@ -20,7 +20,7 @@ const actions = {
|
||||
})
|
||||
|
||||
axios
|
||||
.get('/api/oasis/invoices/regular' + getters.invoiceSorting.URI)
|
||||
.get('/api/invoices/regular' + getters.invoiceSorting.URI)
|
||||
.then(response => {
|
||||
commit('LOADING_STATE', {loading: false, data: response.data})
|
||||
})
|
||||
@@ -41,7 +41,7 @@ const actions = {
|
||||
})
|
||||
|
||||
axios
|
||||
.get('/api/oasis/invoices/advance' + getters.invoiceSorting.URI)
|
||||
.get('/api/invoices/advance' + getters.invoiceSorting.URI)
|
||||
.then(response => {
|
||||
commit('LOADING_STATE', {loading: false, data: response.data})
|
||||
})
|
||||
@@ -62,7 +62,7 @@ const actions = {
|
||||
})
|
||||
|
||||
axios
|
||||
.get('/api/oasis/clients' + getters.invoiceSorting.URI)
|
||||
.get('/api/clients' + getters.invoiceSorting.URI)
|
||||
.then(response => {
|
||||
commit('LOADING_STATE', {loading: false, data: response.data})
|
||||
})
|
||||
@@ -78,7 +78,7 @@ const actions = {
|
||||
commit('CHANGE_SEARCHING_STATE', true)
|
||||
|
||||
axios
|
||||
.get('/api/oasis/invoices/search', {
|
||||
.get('/api/invoices/search', {
|
||||
params: {
|
||||
query: query,
|
||||
type: getters.currentFolder.location,
|
||||
@@ -94,7 +94,7 @@ const actions = {
|
||||
commit('CHANGE_SEARCHING_STATE', true)
|
||||
|
||||
axios
|
||||
.get('/api/oasis/clients/search', {
|
||||
.get('/api/clients/search', {
|
||||
params: {query: query}
|
||||
})
|
||||
.then(response => {
|
||||
|
||||
Reference in New Issue
Block a user