Primera iteración de nuevo diseño

This commit is contained in:
Your Name
2025-01-22 16:56:45 -06:00
parent 44e8e3277f
commit 1b1a145478
6 changed files with 231 additions and 173 deletions

View File

@@ -337,12 +337,12 @@ const detalle = reactive({
this.horario_grupo = null
},
async obtener_detalle(horario_id, profesor_id) {
async obtener_detalle(horario_id, profesor_id, registro_fecha_ideal) {
detalle.reset();
$('div.modal#cargando').modal('show');
try {
const resultado = await (await fetch(`action/action_auditoria_detalle.php?${new URLSearchParams({ horario_id, profesor_id })}`)).json();
const resultado = await (await fetch(`action/action_auditoria_detalle.php?${new URLSearchParams({ horario_id, profesor_id, registro_fecha_ideal })}`)).json();
this.correo = resultado.profesor_correo;
this.facultad = resultado.facultad;
@@ -350,6 +350,9 @@ const detalle = reactive({
this.carrera = resultado.carrera;
this.nivel = resultado.nivel;
this.horario_grupo = resultado.horario_grupo;
this.registro_fecha =
store.current.clase_vista = resultado
}
catch (error) {
console.log('Error:', error)