Compare commits
No commits in common. "609012820678e4ca741827a031bf2e790288e3e8" and "ef7d02b3ff477552c13d4f6822e6b9fd6c4de714" have entirely different histories.
6090128206
...
ef7d02b3ff
3
package-lock.json
generated
3
package-lock.json
generated
@ -43,9 +43,6 @@
|
|||||||
"karma-jasmine": "~5.1.0",
|
"karma-jasmine": "~5.1.0",
|
||||||
"karma-jasmine-html-reporter": "~2.1.0",
|
"karma-jasmine-html-reporter": "~2.1.0",
|
||||||
"typescript": "~5.7.2"
|
"typescript": "~5.7.2"
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=18.x"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@ampproject/remapping": {
|
"node_modules/@ampproject/remapping": {
|
||||||
|
|||||||
@ -1,10 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "cronogramas",
|
"name": "cronogramas",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"engines": {
|
|
||||||
"node": ">=18.x"
|
|
||||||
},
|
|
||||||
"type": "module",
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"ng": "ng",
|
"ng": "ng",
|
||||||
"start": "ng serve",
|
"start": "ng serve",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
import fs from 'fs';
|
const fs = require('fs');
|
||||||
import path from 'path';
|
const path = require('path');
|
||||||
import readline from 'readline';
|
const readline = require('readline');
|
||||||
|
|
||||||
const rl = readline.createInterface({
|
const rl = readline.createInterface({
|
||||||
input: process.stdin,
|
input: process.stdin,
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<div class="pdf-container">
|
<div class="pdf-container">
|
||||||
<div class="pdf-viewer">
|
<div class="pdf-viewer">
|
||||||
<iframe [src]="pdfSrc | safe" width="100%" title="visorPdf" height="100%"></iframe>
|
<iframe [src]="pdfSrc | safe" width="100%" height="100%"></iframe>
|
||||||
</div>
|
</div>
|
||||||
<div class="toolbar">
|
<div class="toolbar">
|
||||||
<button pButton type="button" class="p-button p-button-danger" (click)="descargarPDF()">
|
<button pButton type="button" class="p-button p-button-danger" (click)="descargarPDF()">
|
||||||
|
|||||||
@ -56,21 +56,21 @@
|
|||||||
>
|
>
|
||||||
<ng-template pTemplate="header">
|
<ng-template pTemplate="header">
|
||||||
<tr>
|
<tr>
|
||||||
<th id="col-empresa" class="tablaAzul font-bold text-white">Empresa</th>
|
<th class="tablaAzul font-bold text-white">Empresa</th>
|
||||||
<th id="col-codigo-cronograma" class="tablaAzul font-bold text-white">Código de cronograma</th>
|
<th class="tablaAzul font-bold text-white">Código de cronograma</th>
|
||||||
<th id="col-etapa-servicio" class="tablaAzul font-bold text-white">Etapa del Servicio</th>
|
<th class="tablaAzul font-bold text-white">Etapa del Servicio</th>
|
||||||
<th id="col-nombre-sistema" class="tablaAzul font-bold text-white">Nombre sistema</th>
|
<th class="tablaAzul font-bold text-white">Nombre sistema</th>
|
||||||
<th id="col-tipo-inversion" class="tablaAzul font-bold text-white">Tipo de inversión</th>
|
<th class="tablaAzul font-bold text-white">Tipo de inversión</th>
|
||||||
<th id="col-codigo-glosa" class="tablaAzul font-bold text-white">Código de glosa PD</th>
|
<th class="tablaAzul font-bold text-white">Código de glosa PD</th>
|
||||||
<th id="col-descripcion-glosa" class="tablaAzul font-bold text-white">Descripción glosa</th>
|
<th class="tablaAzul font-bold text-white">Descripción glosa</th>
|
||||||
<th id="col-monto-inversion" class="tablaAzul font-bold text-white">Monto Inversión Total (UF)</th>
|
<th class="tablaAzul font-bold text-white">Monto Inversión Total (UF)</th>
|
||||||
<th id="col-anio-inicio" class="tablaAzul font-bold text-white">Año de Inicio</th>
|
<th class="tablaAzul font-bold text-white">Año de Inicio</th>
|
||||||
<th id="col-anio-termino" class="tablaAzul font-bold text-white">Año de Término</th>
|
<th class="tablaAzul font-bold text-white">Año de Término</th>
|
||||||
<th id="col-mes-termino" class="tablaAzul font-bold text-white">Mes de Término</th>
|
<th class="tablaAzul font-bold text-white">Mes de Término</th>
|
||||||
<th id="col-nota" class="tablaAzul font-bold text-white">Nota</th>
|
<th class="tablaAzul font-bold text-white">Nota</th>
|
||||||
<th id="col-estado-aprobacion" class="bg-green-400 font-bold text-white">Estado aprobación</th>
|
<th class="bg-green-400 font-bold text-white">Estado aprobación</th>
|
||||||
<th id="col-observacion" class="bg-green-400 font-bold text-white">Observación</th>
|
<th class="bg-green-400 font-bold text-white">Observación</th>
|
||||||
</tr>
|
</tr>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template pTemplate="body" let-product>
|
<ng-template pTemplate="body" let-product>
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@ -59,30 +59,30 @@
|
|||||||
>
|
>
|
||||||
<ng-template #header>
|
<ng-template #header>
|
||||||
<tr>
|
<tr>
|
||||||
<th id="header-empty" colspan="9" style="background-color: #f8f9fa; border: none"></th>
|
<th colspan="9" style="background-color: #f8f9fa; border: none"></th>
|
||||||
<th id="header-crono-vigente" colspan="3" class="tablaAzul text-white font-bold text-center">Cronograma base vigente</th>
|
<th colspan="3" class="tablaAzul text-white font-bold text-center">Cronograma base vigente</th>
|
||||||
<th id="header-crono-ajustado" colspan="4" class="bg-blue-700 text-white font-bold text-center">Cronograma base ajustado</th>
|
<th colspan="4" class="bg-blue-700 text-white font-bold text-center">Cronograma base ajustado</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th id="col-empresa" class="tablaAzul text-white font-bold">Empresa</th>
|
<th class="tablaAzul text-white font-bold">Empresa</th>
|
||||||
<th id="col-codigo-cronograma" class="tablaAzul text-white font-bold">Código de cronograma</th>
|
<th class="tablaAzul text-white font-bold">Código de cronograma</th>
|
||||||
<th id="col-etapa-servicio" class="tablaAzul text-white font-bold">Etapa del Servicio</th>
|
<th class="tablaAzul text-white font-bold">Etapa del Servicio</th>
|
||||||
<th id="col-nombre-sistema" class="tablaAzul text-white font-bold">Nombre sistema</th>
|
<th class="tablaAzul text-white font-bold">Nombre sistema</th>
|
||||||
<th id="col-nombre-localidad" class="tablaAzul text-white font-bold">Nombre localidad</th>
|
<th class="tablaAzul text-white font-bold">Nombre localidad</th>
|
||||||
<th id="col-tipo-inversion" class="tablaAzul text-white font-bold">Tipo de inversión</th>
|
<th class="tablaAzul text-white font-bold">Tipo de inversión</th>
|
||||||
<th id="col-codigo-glosa" class="tablaAzul text-white font-bold">Código de glosa PD</th>
|
<th class="tablaAzul text-white font-bold">Código de glosa PD</th>
|
||||||
<th id="col-descripcion-glosa" class="tablaAzul text-white font-bold">Descripción glosa</th>
|
<th class="tablaAzul text-white font-bold">Descripción glosa</th>
|
||||||
<th id="col-monto-inversion" class="tablaAzul text-white font-bold">Monto Inversión Total (UF)</th>
|
<th class="tablaAzul text-white font-bold">Monto Inversión Total (UF)</th>
|
||||||
<th id="col-anio-inicio" class="tablaAzul text-white font-bold">Año de Inicio</th>
|
<th class="tablaAzul text-white font-bold">Año de Inicio</th>
|
||||||
<th id="col-anio-termino" class="tablaAzul text-white font-bold">Año de Término</th>
|
<th class="tablaAzul text-white font-bold">Año de Término</th>
|
||||||
<th id="col-mes-termino" class="tablaAzul text-white font-bold">Mes de Término</th>
|
<th class="tablaAzul text-white font-bold">Mes de Término</th>
|
||||||
<th id="col-tipo-ajuste" class="bg-blue-700 text-white font-bold">Tipo de ajuste</th>
|
<th class="bg-blue-700 text-white font-bold">Tipo de ajuste</th>
|
||||||
<th id="col-anio-inicio-ajustado" class="bg-blue-700 text-white font-bold">Año de Inicio</th>
|
<th class="bg-blue-700 text-white font-bold">Año de Inicio</th>
|
||||||
<th id="col-anio-termino-ajustado" class="bg-blue-700 text-white font-bold">Año de Término</th>
|
<th class="bg-blue-700 text-white font-bold">Año de Término</th>
|
||||||
<th id="col-mes-termino-ajustado" class="bg-blue-700 text-white font-bold">Mes de Término</th>
|
<th class="bg-blue-700 text-white font-bold">Mes de Término</th>
|
||||||
<th id="col-nota" class="tablaAzul text-white font-bold">Nota</th>
|
<th class="tablaAzul text-white font-bold">Nota</th>
|
||||||
<th id="col-estado-aprobacion" class="bg-green-400 text-white font-bold">Estado aprobación</th>
|
<th class="bg-green-400 text-white font-bold">Estado aprobación</th>
|
||||||
<th id="col-observacion" class="bg-green-400 text-white font-bold">Observación</th>
|
<th class="bg-green-400 text-white font-bold">Observación</th>
|
||||||
</tr>
|
</tr>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template #body let-product>
|
<ng-template #body let-product>
|
||||||
@ -136,4 +136,5 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</p-table>
|
</p-table>
|
||||||
|
<!-- Se eliminó el botón que estaba aquí abajo -->
|
||||||
</div>
|
</div>
|
||||||
@ -10,16 +10,16 @@
|
|||||||
currentPageReportTemplate="Mostrando del {first} al {last} de un total de {totalRecords} registros"
|
currentPageReportTemplate="Mostrando del {first} al {last} de un total de {totalRecords} registros"
|
||||||
[rowsPerPageOptions]="[5, 10, 20]">
|
[rowsPerPageOptions]="[5, 10, 20]">
|
||||||
<ng-template #header>
|
<ng-template #header>
|
||||||
<tr>
|
<tr>
|
||||||
<th id="col-empresa-sem" class="tablaAzul font-bold">Empresa</th>
|
<th class="tablaAzul font-bold">Empresa</th>
|
||||||
<th id="col-codigo-cronograma-sem" class="tablaAzul font-bold">Código de cronograma</th>
|
<th class="tablaAzul font-bold">Código de cronograma</th>
|
||||||
<th id="col-codigo-cronograma-ajuste" class="tablaAzul font-bold">Código cronograma de ajuste</th>
|
<th class="tablaAzul font-bold">Código cronograma de ajuste</th>
|
||||||
<th id="col-tipo-carga" class="tablaAzul font-bold">Tipo de carga</th>
|
<th class="tablaAzul font-bold">Tipo de carga</th>
|
||||||
<th id="col-estado-revision" class="bg-green-400 font-bold text-white font-bold">Estado de revisión</th>
|
<th class="bg-green-400 font-bold text-white font-bold">Estado de revisión</th>
|
||||||
<th id="col-analista" class="bg-green-400 font-bold text-white font-bold">Analista</th>
|
<th class="bg-green-400 font-bold text-white font-bold">Analista</th>
|
||||||
<th id="col-fecha-ingreso" class="bg-green-400 font-bold text-white font-bold">Fecha ingreso</th>
|
<th class="bg-green-400 font-bold text-white font-bold">Fecha ingreso</th>
|
||||||
<th id="col-semaforo" class="bg-green-400 font-bold text-white font-bold">Semáforo</th>
|
<th class="bg-green-400 font-bold text-white font-bold">Semáforo</th>
|
||||||
</tr>
|
</tr>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template #body let-product>
|
<ng-template #body let-product>
|
||||||
<tr>
|
<tr>
|
||||||
@ -107,15 +107,26 @@
|
|||||||
currentPageReportTemplate="Mostrando del {first} al {last} de un total de {totalRecords} registros"
|
currentPageReportTemplate="Mostrando del {first} al {last} de un total de {totalRecords} registros"
|
||||||
[rowsPerPageOptions]="[5, 10, 20]">
|
[rowsPerPageOptions]="[5, 10, 20]">
|
||||||
<ng-template #header>
|
<ng-template #header>
|
||||||
<tr>
|
<tr>
|
||||||
<th id="col-empresa-sort" pSortableColumn="empresa" class="tablaAzul font-bold">Empresa <p-sortIcon field="empresa" /></th>
|
<th pSortableColumn="empresa" class="tablaAzul font-bold">
|
||||||
<th id="col-codigo-cronograma-sinar" pSortableColumn="codigoCronograma" class="tablaAzul font-bold">Código de cronograma SINAR <p-sortIcon field="codigoCronograma" /></th>
|
Empresa <p-sortIcon field="empresa" />
|
||||||
<th id="col-contiene-obras-anio" pSortableColumn="codigoCronogramaAjuste" class="tablaAzul font-bold">Contiene obras del año <p-sortIcon field="codigoCronogramaAjuste" /></th>
|
</th>
|
||||||
<th id="col-oficio-aprueba" pSortableColumn="tipoCarga" class="tablaAzul font-bold">N° Oficio que aprueba <p-sortIcon field="tipoCarga" /></th>
|
<th pSortableColumn="codigoCronograma" class="tablaAzul font-bold">
|
||||||
<th id="col-tipo-carga-sort" pSortableColumn="estadoRevision" class="tablaAzul font-bold">Tipo de carga <p-sortIcon field="estadoRevision" /></th>
|
Código de cronograma SINAR <p-sortIcon field="codigoCronograma" />
|
||||||
<th id="col-fecha-solicitud" pSortableColumn="fechaIngreso" class="tablaAzul font-bold">Fecha de solicitud <p-sortIcon field="fechaIngreso" />
|
</th>
|
||||||
</th>
|
<th pSortableColumn="codigoCronogramaAjuste" class="tablaAzul font-bold">
|
||||||
</tr>
|
Contiene obras del año <p-sortIcon field="codigoCronogramaAjuste" />
|
||||||
|
</th>
|
||||||
|
<th pSortableColumn="tipoCarga" class="tablaAzul font-bold">
|
||||||
|
N° Oficio que aprueba <p-sortIcon field="tipoCarga" />
|
||||||
|
</th>
|
||||||
|
<th pSortableColumn="estadoRevision" class="tablaAzul font-bold">
|
||||||
|
Tipo de carga <p-sortIcon field="estadoRevision" />
|
||||||
|
</th>
|
||||||
|
<th pSortableColumn="fechaIngreso" class="tablaAzul font-bold">
|
||||||
|
Fecha de solicitud <p-sortIcon field="fechaIngreso" />
|
||||||
|
</th>
|
||||||
|
</tr>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template #body let-product>
|
<ng-template #body let-product>
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@ -14,11 +14,13 @@
|
|||||||
>
|
>
|
||||||
<ng-template #header>
|
<ng-template #header>
|
||||||
<tr>
|
<tr>
|
||||||
<th id="col-empresa-verde" class="bg-green-400 text-white font-bold">Empresa</th>
|
<th class="bg-green-400 text-white font-bold">Empresa</th>
|
||||||
<th id="col-codigo-cronograma-verde" class="bg-green-400 text-white font-bold">Código de cronograma</th>
|
<th class="bg-green-400 text-white font-bold">
|
||||||
<th id="col-nombre-sistema-verde" class="bg-green-400 text-white font-bold">Nombre sistema</th>
|
Código de cronograma
|
||||||
<th id="col-tipo-verde" class="bg-green-400 text-white font-bold">Tipo</th>
|
</th>
|
||||||
</tr>
|
<th class="bg-green-400 text-white font-bold">Nombre sistema</th>
|
||||||
|
<th class="bg-green-400 text-white font-bold">Tipo</th>
|
||||||
|
</tr>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template #body let-product>
|
<ng-template #body let-product>
|
||||||
<tr>
|
<tr>
|
||||||
@ -55,10 +57,12 @@
|
|||||||
>
|
>
|
||||||
<ng-template #header>
|
<ng-template #header>
|
||||||
<tr>
|
<tr>
|
||||||
<th id="col-empresa-ploma" class="tablaPloma text-white font-bold">Empresa</th>
|
<th class="tablaPloma text-white font-bold">Empresa</th>
|
||||||
<th id="col-codigo-cronograma-ploma" class="tablaPloma text-white font-bold">Código de cronograma</th>
|
<th class="tablaPloma text-white font-bold">
|
||||||
<th id="col-nombre-sistema-ploma" class="tablaPloma text-white font-bold">Nombre sistema</th>
|
Código de cronograma
|
||||||
<th id="col-tipo-ploma" class="tablaPloma text-white font-bold">Tipo</th>
|
</th>
|
||||||
|
<th class="tablaPloma text-white font-bold">Nombre sistema</th>
|
||||||
|
<th class="tablaPloma text-white font-bold">Tipo</th>
|
||||||
</tr>
|
</tr>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template #body let-product>
|
<ng-template #body let-product>
|
||||||
|
|||||||
@ -11,12 +11,12 @@
|
|||||||
[rowsPerPageOptions]="[5, 10, 20]">
|
[rowsPerPageOptions]="[5, 10, 20]">
|
||||||
<ng-template #header>
|
<ng-template #header>
|
||||||
<tr>
|
<tr>
|
||||||
<th id="col-empresa-sinar" class="tablaAzul text-white font-bold">Empresa</th>
|
<th class="tablaAzul text-white font-bold">Empresa</th>
|
||||||
<th id="col-codigo-cronograma-sinar-2" class="tablaAzul text-white font-bold">Código de cronograma SINAR</th>
|
<th class="tablaAzul text-white font-bold">Código de cronograma SINAR</th>
|
||||||
<th id="col-obras-anio" class="tablaAzul text-white font-bold">Contiene obras del año</th>
|
<th class="tablaAzul text-white font-bold">Contiene obras del año</th>
|
||||||
<th id="col-num-oficio" class="tablaAzul text-white font-bold">N° Oficio que aprueba</th>
|
<th class="tablaAzul text-white font-bold">N° Oficio que aprueba</th>
|
||||||
<th id="col-tipo-carga-sinar" class="tablaAzul text-white font-bold">Tipo de carga</th>
|
<th class="tablaAzul text-white font-bold">Tipo de carga</th>
|
||||||
<th id="col-fecha-solicitud-sinar" class="tablaAzul text-white font-bold">Fecha de solicitud</th>
|
<th class="tablaAzul text-white font-bold">Fecha de solicitud</th>
|
||||||
</tr>
|
</tr>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template #body let-product>
|
<ng-template #body let-product>
|
||||||
@ -42,11 +42,11 @@
|
|||||||
[rowsPerPageOptions]="[5, 10, 20]">
|
[rowsPerPageOptions]="[5, 10, 20]">
|
||||||
<ng-template #header>
|
<ng-template #header>
|
||||||
<tr>
|
<tr>
|
||||||
<th id="col-empresa-verde-aprobacion" class="bg-green-400 text-white font-bold">Empresa</th>
|
<th class="bg-green-400 text-white font-bold">Empresa</th>
|
||||||
<th id="col-codigo-cronograma-verde-aprobacion" class="bg-green-400 text-white font-bold">Código cronograma</th>
|
<th class="bg-green-400 text-white font-bold">Código cronograma</th>
|
||||||
<th id="col-nombre-sistema-verde-aprobacion" class="bg-green-400 text-white font-bold">Nombre sistema</th>
|
<th class="bg-green-400 text-white font-bold">Nombre sistema</th>
|
||||||
<th id="col-tipo-verde-aprobacion" class="bg-green-400 text-white font-bold">Tipo</th>
|
<th class="bg-green-400 text-white font-bold">Tipo</th>
|
||||||
<th id="col-fecha-aprobacion" class="bg-green-400 text-white font-bold">Fecha aprobación</th>
|
<th class="bg-green-400 text-white font-bold">Fecha aprobación</th>
|
||||||
</tr>
|
</tr>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template #body let-product>
|
<ng-template #body let-product>
|
||||||
@ -71,12 +71,12 @@
|
|||||||
[rowsPerPageOptions]="[5, 10, 20]">
|
[rowsPerPageOptions]="[5, 10, 20]">
|
||||||
<ng-template #header>
|
<ng-template #header>
|
||||||
<tr>
|
<tr>
|
||||||
<th id="col-empresa-ploma-rechazo" class="tablaPloma text-white font-bold">Empresa</th>
|
<th class="tablaPloma text-white font-bold">Empresa</th>
|
||||||
<th id="col-codigo-cronograma-ploma-rechazo" class="tablaPloma text-white font-bold">Código de cronograma</th>
|
<th class="tablaPloma text-white font-bold">Código de cronograma</th>
|
||||||
<th id="col-nombre-sistema-ploma-rechazo" class="tablaPloma text-white font-bold">Nombre sistema</th>
|
<th class="tablaPloma text-white font-bold">Nombre sistema</th>
|
||||||
<th id="col-tipo-ploma-rechazo" class="tablaPloma text-white font-bold">Tipo</th>
|
<th class="tablaPloma text-white font-bold">Tipo</th>
|
||||||
<th id="col-fecha-rechazo" class="tablaPloma text-white font-bold">Fecha rechazo</th>
|
<th class="tablaPloma text-white font-bold">Fecha rechazo</th>
|
||||||
</tr>
|
</tr>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template #body let-product>
|
<ng-template #body let-product>
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>cronogramas</title>
|
<title>Cronogramas</title>
|
||||||
<base href="/">
|
<base href="/">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user