36 lines
839 B
Vue
36 lines
839 B
Vue
<template>
|
|
<section class="container">
|
|
<div class="section pb-0">
|
|
<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/cuestionario">
|
|
Ver Registros
|
|
</b-button>
|
|
|
|
<b-button type="is-info" tag="router-link" to="/admin/especial">
|
|
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')
|
|
},
|
|
}
|
|
</script>
|