All
This commit is contained in:
@@ -218,7 +218,16 @@
|
||||
|
||||
<div class="mt-3 d-flex justify-content-between flex-wrap align-items-center">
|
||||
<!-- botón descargar -->
|
||||
<div class="col-md-5 col-12 text-center">
|
||||
<div class="col-md-2 col-12 text-center">
|
||||
<div class="btn-group my-3">
|
||||
<button type="button" class="btn btn-outline-primary mr-3">
|
||||
Justificar profesores
|
||||
<i class="ing-justificar"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- botón descargar -->
|
||||
<div class="col-md-2 col-12 text-center">
|
||||
<div class="btn-group my-3" v-if="store.registros.relevant.length > 0">
|
||||
<button type="button" class="btn btn-outline-primary mr-3" @click="store.registros.descargar">
|
||||
Descargar reporte
|
||||
@@ -233,7 +242,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<!-- Reporte -->
|
||||
<div class="col-md-7 col-12 justify-content-around d-flex align-items-center">
|
||||
<div class="col-md-8 col-12 justify-content-around d-flex align-items-center">
|
||||
<span v-for="estado in store.estados.data" :class="`text-${estado.estado_color}`"
|
||||
class="text-center col-2">
|
||||
<i :class="`${estado.estado_icon} ing-lg`"></i>
|
||||
@@ -313,7 +322,8 @@
|
||||
<span class="mr-2" :class="`text-${registro.estado_color}`">
|
||||
<i :class="`${registro.estado_icon} ing-2x`"></i>
|
||||
</span>
|
||||
<strong v-if="registro.usuario_nombre">{{ registro.usuario_nombre }}</strong>
|
||||
<strong v-if="registro.usuario_nombre">{{ registro.usuario_nombre
|
||||
}}</strong>
|
||||
</div>
|
||||
<div class="col-12" v-if="registro.registro_fecha_supervisor">
|
||||
Hora
|
||||
@@ -452,7 +462,8 @@
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<strong>Horario:</strong>
|
||||
{{ clase_vista.horario_hora?.slice(0, 5) }} - {{clase_vista.horario_fin?.slice(0, 5) }}
|
||||
{{ clase_vista.horario_hora?.slice(0, 5) }} -
|
||||
{{clase_vista.horario_fin?.slice(0, 5) }}
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<strong>Salón:</strong>
|
||||
@@ -602,20 +613,8 @@
|
||||
class="text-muted">{{store.current.justificada.profesor_nombre}}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mt-3">
|
||||
<div class="col-12">
|
||||
<div class="form-check" v-if="!store.current.justificada.justificacion">
|
||||
<input class="form-check-input" type="checkbox" value="" id="observaciones"
|
||||
v-model="store.current.observaciones">
|
||||
<label class="form-check-label" for="observaciones">
|
||||
¿Deseas añadir observaciones?
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr v-if="store.current.observaciones || store.current.justificada.justificacion">
|
||||
<div class="input-group" v-if="store.current.observaciones || store.current.justificada.justificacion">
|
||||
<hr>
|
||||
<div class="input-group">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text text-white bg-primary">Observaciones</span>
|
||||
</div>
|
||||
@@ -632,7 +631,10 @@
|
||||
<i class="ing-cancelar"></i>
|
||||
Cancelar
|
||||
</button>
|
||||
<button type="button" class="btn btn-primary" data-dismiss="modal" @click="store.justificar">
|
||||
<button type="button" class="btn btn-primary"
|
||||
:disabled="!store.current.justificada.justificacion"
|
||||
:class="{'disabled': !store.current.justificada.justificacion}" data-dismiss="modal"
|
||||
@click="store.justificar">
|
||||
Justificar
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user