31 lines
769 B
Vue
31 lines
769 B
Vue
<template>
|
|
<section class="container px-2 pb-6">
|
|
<BotonRegresar path="/admin" />
|
|
|
|
<CargaMasiva />
|
|
|
|
<TablaResponsables />
|
|
</section>
|
|
</template>
|
|
|
|
<script>
|
|
import TablaResponsables from '@/components/admin/responsables/tablaResponsables'
|
|
import CargaMasiva from '@/components/admin/responsables/cargaMasiva'
|
|
import BotonRegresar from '@/components/botonRegresar'
|
|
|
|
export default {
|
|
components: {
|
|
TablaResponsables,
|
|
CargaMasiva,
|
|
BotonRegresar,
|
|
},
|
|
beforeCreate() {
|
|
const idTipoUsuario = Number(localStorage.getItem('idTipoUsuario'))
|
|
|
|
if (idTipoUsuario === 2) this.$router.push('/responsable')
|
|
if (idTipoUsuario === 3) this.$router.push('/alumno')
|
|
if (idTipoUsuario === 4) this.$router.push('/casoEspecial')
|
|
},
|
|
}
|
|
</script>
|