arreglo de el contador y actualizacion de equipos
This commit is contained in:
@@ -193,14 +193,15 @@ export default {
|
||||
})
|
||||
.then(res => {
|
||||
swal('Exito', 'Peticion exitosa ', 'success')
|
||||
axios.get(api.url + '/prestamo', {
|
||||
axios.get(api.url + '/prestamo?kiosko=' + this.$store.getters.kiosko, {
|
||||
headers: {
|
||||
'token': this.$store.getters.token
|
||||
}
|
||||
})
|
||||
.then(response => {
|
||||
this.prestamo = response.data
|
||||
this.status = response.data.data.status
|
||||
this.prestamo = response.data.info
|
||||
this.status = response.data.status
|
||||
console.log(this.prestamo)
|
||||
})
|
||||
.catch(error => {
|
||||
swal('Error', error.response.data.err, 'error')
|
||||
|
||||
Reference in New Issue
Block a user