37 lines
911 B
Vue
37 lines
911 B
Vue
<template>
|
|
<section class="container px-2 pb-6">
|
|
<div class="pb-5 pt-6">
|
|
<b-button type="is-info" tag="router-link" to="/admin/responsables">
|
|
Ver responsables
|
|
</b-button>
|
|
|
|
<b-button type="is-info" tag="router-link" to="/admin/registros">
|
|
Ver Registros
|
|
</b-button>
|
|
|
|
<b-button type="is-info" tag="router-link" to="/admin/casos_especiales">
|
|
Ver casos especiales
|
|
</b-button>
|
|
</div>
|
|
|
|
<InputTableA />
|
|
</section>
|
|
</template>
|
|
|
|
<script>
|
|
import InputTableA from '@/components/admin/inputTableA'
|
|
|
|
export default {
|
|
components: {
|
|
InputTableA,
|
|
},
|
|
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>
|