paso a institucion usuario
This commit is contained in:
parent
9db6251021
commit
ee152d9d97
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<b-tab-item label="Historial">
|
<b-tab-item label="Historial">
|
||||||
<TablaPrestamo
|
<TablaPrestamos
|
||||||
:isLoadingTable="isLoadingTable"
|
:isLoadingTable="isLoadingTable"
|
||||||
:prestamos="prestamos"
|
:prestamos="prestamos"
|
||||||
:page="page"
|
:page="page"
|
||||||
@ -20,10 +20,10 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
import TablaPrestamo from '@/components/tablas/TablaPrestamos'
|
import TablaPrestamos from '@/components/tablas/TablaPrestamos'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: { TablaPrestamo },
|
components: { TablaPrestamos },
|
||||||
props: {
|
props: {
|
||||||
equipo: { type: Object, required: true, default: () => ({}) },
|
equipo: { type: Object, required: true, default: () => ({}) },
|
||||||
operador: { type: Object, required: true, default: () => ({}) },
|
operador: { type: Object, required: true, default: () => ({}) },
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<b-tab-item label="Historial">
|
<b-tab-item label="Historial">
|
||||||
<TablaPrestamo
|
<TablaPrestamos
|
||||||
:prestamos="prestamos"
|
:prestamos="prestamos"
|
||||||
:isLoadingTable="isLoadingTable"
|
:isLoadingTable="isLoadingTable"
|
||||||
:page="page"
|
:page="page"
|
||||||
@ -24,10 +24,10 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
import TablaPrestamo from '@/components/tablas/TablaPrestamos'
|
import TablaPrestamos from '@/components/tablas/TablaPrestamos'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: { TablaPrestamo },
|
components: { TablaPrestamos },
|
||||||
props: {
|
props: {
|
||||||
operador: { type: Object, required: true, default: () => ({}) },
|
operador: { type: Object, required: true, default: () => ({}) },
|
||||||
usuario: { type: Object, required: true, default: () => ({}) },
|
usuario: { type: Object, required: true, default: () => ({}) },
|
||||||
|
@ -190,6 +190,7 @@
|
|||||||
:filaActivo="filaActivo"
|
:filaActivo="filaActivo"
|
||||||
:filaRetraso="filaRetraso"
|
:filaRetraso="filaRetraso"
|
||||||
:operador="operador"
|
:operador="operador"
|
||||||
|
columnaCarrera
|
||||||
columnaCarrito
|
columnaCarrito
|
||||||
columnaEquipo
|
columnaEquipo
|
||||||
columnaIdPrestamo
|
columnaIdPrestamo
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
v-if="columnaUsuario"
|
v-if="columnaUsuario"
|
||||||
centered
|
centered
|
||||||
>
|
>
|
||||||
<p>{{ props.row.prestamo.usuario.usuario }}</p>
|
<p>{{ props.row.prestamo.institucionUsuario.usuario.usuario }}</p>
|
||||||
</b-table-column>
|
</b-table-column>
|
||||||
|
|
||||||
<b-table-column
|
<b-table-column
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
v-if="columnaNumeroCuenta"
|
v-if="columnaNumeroCuenta"
|
||||||
centered
|
centered
|
||||||
>
|
>
|
||||||
<p>{{ props.row.usuario.usuario }}</p>
|
<p>{{ props.row.institucionUsuario.usuario.usuario }}</p>
|
||||||
</b-table-column>
|
</b-table-column>
|
||||||
|
|
||||||
<b-table-column
|
<b-table-column
|
||||||
@ -54,7 +54,7 @@
|
|||||||
v-if="columnaNombre && operador.tipoUsuario.id_tipo_usuario > 2"
|
v-if="columnaNombre && operador.tipoUsuario.id_tipo_usuario > 2"
|
||||||
centered
|
centered
|
||||||
>
|
>
|
||||||
<p>{{ props.row.usuario.nombre }}</p>
|
<p>{{ props.row.institucionUsuario.usuario.nombre }}</p>
|
||||||
</b-table-column>
|
</b-table-column>
|
||||||
|
|
||||||
<b-table-column
|
<b-table-column
|
||||||
@ -64,8 +64,8 @@
|
|||||||
v-if="columnaCarrera"
|
v-if="columnaCarrera"
|
||||||
centered
|
centered
|
||||||
>
|
>
|
||||||
<p v-for="(i, index) in props.row.usuario.instituciones" :key="index">
|
<p>
|
||||||
{{ i.institucionCarrera.carrera.carrera }}
|
{{ props.row.institucionUsuario.institucionCarrera.carrera.carrera }}
|
||||||
</p>
|
</p>
|
||||||
</b-table-column>
|
</b-table-column>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user