Overview
TheRegistroIndivEst component provides functionality for searching students, viewing their information, and synchronizing their photos with HikCentral biometric system.
Component Location
Features
- Student search by ID (cedula)
- Academic period selection
- Student information display
- Photo comparison (SIAD vs HikCentral)
- Facial similarity calculation
- HikCentral registration/update
- Real-time registration status
Usage
Data Properties
Key Methods
cargarPeriodos()
Loads available academic periods:buscarEstudiante()
Searches for a student and verifies HikCentral registration:verificarRegistroHC(ci)
Verifies if a student is registered in HikCentral:ejecutarComparacion(ci)
Compares photos between SIAD and HikCentral:registrarEnHikCentral(post)
Registers a student in HikCentral:UpdateEnHikCentral(post)
Updates a student’s photo in HikCentral:Helper Methods
getPhotoUrl(ci)
Generates URL for SIAD photo:getPhotoUrl2(ci)
Generates URL for HikCentral photo:onlyNumbers(event)
Restricts input to numbers only:Template Structure
- Search Form
- Period Selection
- Photo Comparison
Lifecycle
API Endpoints Used
GET /biometrico/get-periodos-rec- Get academic periodsGET /biometrico/getindivEst/{ci}- Get student infoGET /biometrico/getperson-est/{ci}- Check HikCentral registrationGET /biometrico/compare-hikdoc-est/{ci}- Compare photosPOST /biometrico/sync-hikdoc-est-id/{ci}- Register in HikCentralPOST /biometrico/sync-hikdoc-update/{ci}- Update in HikCentralGET /biometrico/fotografia/{ci}- Get SIAD photoGET /biometrico/gethick/{ci}- Get HikCentral photo