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