42 lines
1.1 KiB
Vue
42 lines
1.1 KiB
Vue
<template>
|
|
<section class="container">
|
|
<div class="section pb-0">
|
|
<p>
|
|
Estimado(a) responsable del programa de servicio social: <br />
|
|
Para registrar a un alumno de servicio social pulsa el botón
|
|
<strong> Agregar Alumno </strong> y sigue las instrucciones. <br />
|
|
Para visualizar los datos completos de un alumno ya registrado o subir
|
|
su carta de término, pulsa su nombre y se desplegará la ficha técnica
|
|
con toda la información.
|
|
</p>
|
|
</div>
|
|
|
|
<div class="section pb-0">
|
|
<b-button type="is-info" @click="$router.push('/responsable/nuevo')">
|
|
Agregar alumno
|
|
</b-button>
|
|
</div>
|
|
|
|
<InputTable />
|
|
</section>
|
|
</template>
|
|
|
|
<script>
|
|
import InputTable from '@/components/responsable/inputTable'
|
|
|
|
export default {
|
|
components: {
|
|
InputTable,
|
|
},
|
|
beforeCreate() {
|
|
const idTipoUsuario = Number(localStorage.getItem('idTipoUsuario'))
|
|
|
|
if (idTipoUsuario === 1) this.$router.push('/admin')
|
|
if (idTipoUsuario === 3) this.$router.push('/alumno')
|
|
if (idTipoUsuario === 4) this.$router.push('/casoEspecial')
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<style></style>
|