2022-06-02 22:47:09 +00:00
|
|
|
<template>
|
|
|
|
<div>
|
2022-07-27 21:41:02 +00:00
|
|
|
<Title title="Historial de préstamos" :operador="operador" />
|
2022-07-11 18:09:00 +00:00
|
|
|
|
|
|
|
<Historial :operador="operador" :updateIsLoading="updateIsLoading" />
|
|
|
|
|
|
|
|
<b-loading :is-full-page="true" v-model="isLoading" :can-cancel="false" />
|
2022-06-02 22:47:09 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2022-07-11 18:09:00 +00:00
|
|
|
import Historial from '@/components/operador/Historial'
|
2022-06-02 22:47:09 +00:00
|
|
|
import Title from '@/components/layouts/Title'
|
|
|
|
|
|
|
|
export default {
|
2022-07-29 20:10:51 +00:00
|
|
|
components: { Historial, Title },
|
2022-06-02 22:47:09 +00:00
|
|
|
data() {
|
|
|
|
return {
|
2022-07-11 18:09:00 +00:00
|
|
|
isLoading: false,
|
2022-07-29 20:10:51 +00:00
|
|
|
operador: {},
|
2022-06-02 22:47:09 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
methods: {
|
2022-07-11 18:09:00 +00:00
|
|
|
updateIsLoading(valorBooleano) {
|
|
|
|
this.isLoading = valorBooleano
|
|
|
|
},
|
2022-06-02 22:47:09 +00:00
|
|
|
},
|
|
|
|
created() {
|
2022-07-29 20:10:51 +00:00
|
|
|
this.operador = JSON.parse(localStorage.getItem('operador'))
|
2022-06-02 22:47:09 +00:00
|
|
|
},
|
|
|
|
}
|
|
|
|
</script>
|
2022-07-11 18:09:00 +00:00
|
|
|
|
|
|
|
<style></style>
|