utn-cli 2.0.80 → 2.0.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -12,7 +12,7 @@ app.use(helmet());
|
|
|
12
12
|
app.use(async (solicitud, respuesta, next) => {
|
|
13
13
|
let Usuario = null;
|
|
14
14
|
// Si length es > a 43 es un JWT, de lo contario es un UUID
|
|
15
|
-
if (solicitud.headers.authorization.length > 43) {
|
|
15
|
+
if (solicitud.headers.authorization && solicitud.headers.authorization.length > 43) {
|
|
16
16
|
Usuario = await Miscelaneo.obtenerDatosDelUsuario(solicitud.headers.authorization) ?? null;
|
|
17
17
|
} else {
|
|
18
18
|
Usuario = solicitud.user ?? null;
|
|
@@ -28,7 +28,7 @@ CREATE OR REPLACE TABLE `NOMBRE_DEL_REPOSITORIO_DE_BASE_DE_DATOS`.`AceptacionesD
|
|
|
28
28
|
KEY (`Identificador`)
|
|
29
29
|
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_spanish_ci COMMENT = 'Almacena las aceptaciones de los consentimientos informados';
|
|
30
30
|
|
|
31
|
-
CREATE OR REPLACE TABLE `NOMBRE_DEL_REPOSITORIO_DE_BASE_DE_DATOS`.`
|
|
31
|
+
CREATE OR REPLACE TABLE `NOMBRE_DEL_REPOSITORIO_DE_BASE_DE_DATOS`.`ConfiguracionDeTarjetas` (
|
|
32
32
|
`Identificador` INT UNSIGNED NOT NULL COMMENT 'Llave foránea virtual correspondiente a `Identificador` en la tabla `SIGU`.`SIGU_Personas`',
|
|
33
33
|
`Titulo` VARCHAR(200) NOT NULL COMMENT 'Título de la tarjeta que sirve como identificador único por usuario',
|
|
34
34
|
`Posicion` SMALLINT UNSIGNED NOT NULL COMMENT 'Posición de la tarjeta',
|
package/templates/frontend/src/app/Paginas/contenedor-principal/contenedor-principal.component.ts
CHANGED
|
@@ -269,6 +269,12 @@ export class ContenedorPrincipalComponent implements OnInit {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
+
EjecutarAccionPersonalizada(accion: string) {
|
|
273
|
+
// if (accion === 'DescargarInformacionSociodemografica') {
|
|
274
|
+
// this.DescargarInformacionSociodemografica();
|
|
275
|
+
// }
|
|
276
|
+
}
|
|
277
|
+
|
|
272
278
|
GenerarReporte(event: { reporte: string }) {
|
|
273
279
|
if (event.reporte === 'ElReporte1') {
|
|
274
280
|
this.http.get(`${this.datosGlobalesService.ObtenerURL()}misc/DatosParaReporteCSV`, {
|