diff --git a/components/admin/responsables/cargaMasiva.vue b/components/admin/responsables/cargaMasiva.vue index 8abffe8..560f26e 100644 --- a/components/admin/responsables/cargaMasiva.vue +++ b/components/admin/responsables/cargaMasiva.vue @@ -5,7 +5,7 @@ { this.isLoading = false this.toastType = 'is-success' @@ -119,7 +115,7 @@ export default { }) .catch((err) => { this.isLoading = false - this.error(err.response.data) + this.imprimirError(err.response.data) }) }, imprimirError(err) { diff --git a/components/admin/responsables/infoResponsable/responsable.vue b/components/admin/responsables/infoResponsable/responsable.vue new file mode 100644 index 0000000..92477db --- /dev/null +++ b/components/admin/responsables/infoResponsable/responsable.vue @@ -0,0 +1,119 @@ + + + + + diff --git a/components/admin/responsables/tablaResponsables.vue b/components/admin/responsables/tablaResponsables.vue index 1996c05..a7c84a6 100644 --- a/components/admin/responsables/tablaResponsables.vue +++ b/components/admin/responsables/tablaResponsables.vue @@ -44,6 +44,7 @@ :per-page="perPage" :selected.sync="responsableSeleccionado" :loading="isLoading" + :row-class="(row, index) => 'pointer'" @page-change="onPageChange" hoverable striped @@ -164,6 +165,11 @@ export default { 'idResponsable', this.responsableSeleccionado.idUsuario ) + localStorage.setItem('correo', this.responsableSeleccionado.usuario) + localStorage.setItem( + 'nombreResponsable', + this.responsableSeleccionado.nombre + ) this.$router.push(`/admin/responsables/infoResponsable`) }, }, @@ -196,7 +202,7 @@ export default { border-color: #1b3d70; } -.pinter { +.pointer { cursor: pointer; } diff --git a/components/casoEspecial/nuevo/formularioEspecial.vue b/components/casoEspecial/nuevo/formularioEspecial.vue index e0a0e2a..15fdc60 100644 --- a/components/casoEspecial/nuevo/formularioEspecial.vue +++ b/components/casoEspecial/nuevo/formularioEspecial.vue @@ -20,15 +20,15 @@ -

{{ alumno.nombre }}

+

{{ alumno.nombre }}

-

{{ alumno.carrera }}

+

{{ alumno.carrera }}

-

+

{{ Number(alumno.creditos) }}% diff --git a/layouts/default.vue b/layouts/default.vue index edfb239..1ea043f 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -8,9 +8,9 @@ - + diff --git a/pages/admin/responsables/infoResponsable/modificar/index.vue b/pages/admin/responsables/infoResponsable/modificar/index.vue index ea76436..8310924 100644 --- a/pages/admin/responsables/infoResponsable/modificar/index.vue +++ b/pages/admin/responsables/infoResponsable/modificar/index.vue @@ -29,7 +29,7 @@