arreglo de el contador y actualizacion de equipos

This commit is contained in:
arturo guerrero
2019-09-02 10:41:13 -05:00
parent 53608cc049
commit 395932e710
+4 -3
View File
@@ -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')