confirmar pre registro listo
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="mb-4">
|
||||
<div class="is-flex is-align-items-center">
|
||||
<h6 class="pr-4">Ver {{ title }}</h6>
|
||||
<h6 class="pr-4 is-size-5">Ver {{ title }}</h6>
|
||||
|
||||
<div class="pr-4">
|
||||
<b-button
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
</b-checkbox>
|
||||
</b-field>
|
||||
|
||||
<div
|
||||
<b-field
|
||||
class="my-5"
|
||||
v-if="alumno.Status.idStatus === 1 || alumno.Status.idStatus === 5"
|
||||
>
|
||||
@@ -19,14 +19,14 @@
|
||||
"
|
||||
@click="
|
||||
imprimirWarning(
|
||||
'¿Seguro(a) que quiere confirmar este servicio?',
|
||||
'¿Seguro(a) que quieres confirmar este servicio?',
|
||||
confirmarServicio
|
||||
)
|
||||
"
|
||||
>
|
||||
Confirmar
|
||||
</b-button>
|
||||
</div>
|
||||
</b-field>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -59,7 +59,6 @@ export default {
|
||||
this.updateIsLoading(true)
|
||||
funcConfirmar(data)
|
||||
.then((res) => {
|
||||
localStorage.removeItem('idServicio')
|
||||
this.updateIsLoading(false)
|
||||
this.imprimirMensaje(res.data.message)
|
||||
this.$router.push('/admin')
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
<template>
|
||||
<div>
|
||||
<h3 class="is-size-3 mb-5" v-if="idStatus == 1">
|
||||
<div class="mb-5">
|
||||
<h3 class="title" v-if="alumno.Status.idStatus === 1">
|
||||
<strong> Confirmar el pre-registro del alumno </strong>
|
||||
</h3>
|
||||
|
||||
<h3 class="is-size-3 mb-5" v-if="idStatus == 4">
|
||||
<h3 class="title" v-if="alumno.Status.idStatus === 4">
|
||||
<strong> Término </strong>
|
||||
</h3>
|
||||
|
||||
<h3 class="is-size-3 mb-5" v-if="idStatus == 5">
|
||||
<h3 class="title" v-if="alumno.Status.idStatus === 5">
|
||||
<strong> Validar el término del alumno </strong>
|
||||
</h3>
|
||||
</div>
|
||||
@@ -17,7 +17,7 @@
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
idStatus: Number,
|
||||
alumno: { type: Object, required: true },
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -267,9 +267,11 @@ export default {
|
||||
},
|
||||
},
|
||||
created() {
|
||||
this.minDate.setDate(this.minDate.getDate() - 16)
|
||||
this.updateFechas()
|
||||
this.obtenerProgramas()
|
||||
if (this.responsable.idTipoUsuario === 2) {
|
||||
this.minDate.setDate(this.minDate.getDate() - 16)
|
||||
this.updateFechas()
|
||||
this.obtenerProgramas()
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
<template>
|
||||
<section class="container px-2 pb-6">
|
||||
<BotonRegresar
|
||||
path="/admin"
|
||||
:deleteFromLocalStorage="['idServicio', 'idStatus']"
|
||||
/>
|
||||
<BotonRegresar path="/admin" />
|
||||
|
||||
<h3 class="title">{{ alumno.Status.status }}</h3>
|
||||
|
||||
<Informacion :alumno="alumno" />
|
||||
|
||||
<TituloStatus :status="alumno.Status.idStatus" />
|
||||
<TituloStatus :alumno="alumno" />
|
||||
|
||||
<Archivo
|
||||
:admin="admin"
|
||||
@@ -43,13 +40,15 @@
|
||||
v-if="alumno.informeGlobal"
|
||||
/>
|
||||
|
||||
<p v-if="alumno.idCuestionarioPrograma" class="my-4">
|
||||
<strong> Cuenta con cuestionario de programa resuelto. </strong>
|
||||
</p>
|
||||
<div>
|
||||
<p v-if="alumno.idCuestionarioPrograma" class="my-4">
|
||||
<strong> Cuenta con cuestionario de programa resuelto. </strong>
|
||||
</p>
|
||||
|
||||
<p v-if="alumno.idCuestionarioAlumno" class="my-4">
|
||||
<strong> Cuenta con cuestionario de alumno resuelto. </strong>
|
||||
</p>
|
||||
<p v-if="alumno.idCuestionarioAlumno" class="my-4">
|
||||
<strong> Cuenta con cuestionario de alumno resuelto. </strong>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<ConfirmarServicio
|
||||
:idServicio="idServicio"
|
||||
@@ -71,10 +70,7 @@
|
||||
:updateIsLoading="updateIsLoading"
|
||||
/>
|
||||
|
||||
<BotonRegresar
|
||||
path="/admin"
|
||||
:deleteFromLocalStorage="['idServicio', 'idStatus']"
|
||||
/>
|
||||
<BotonRegresar path="/admin" />
|
||||
|
||||
<b-loading :is-full-page="true" :can-cancel="false" v-model="isLoading" />
|
||||
</section>
|
||||
@@ -192,6 +188,7 @@ export default {
|
||||
token: localStorage.getItem('token'),
|
||||
},
|
||||
}
|
||||
this.idServicio = Number(localStorage.getItem('idServicio'))
|
||||
},
|
||||
},
|
||||
created() {
|
||||
@@ -199,11 +196,8 @@ export default {
|
||||
if (this.admin.idTipoUsuario === 2) this.$router.push('/responsable')
|
||||
if (this.admin.idTipoUsuario === 3) this.$router.push('/alumno')
|
||||
if (this.admin.idTipoUsuario === 4) this.$router.push('/casoEspecial')
|
||||
if (!localStorage.getItem('idServicio')) this.$router.push('/admin')
|
||||
else {
|
||||
this.idServicio = Number(localStorage.getItem('idServicio'))
|
||||
this.obtenerRegistro()
|
||||
}
|
||||
if (!this.idServicio) this.$router.push('/admin')
|
||||
else this.obtenerRegistro()
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user