Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
formularioConformidad
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Fernando José Palomino Aquino
formularioConformidad
Commits
9caec978
Commit
9caec978
authored
Jun 28, 2025
by
Fernando José Palomino Aquino
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[EDIT] AVACEN MODELO PARA CELULAR
parent
cc2da01b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
36 additions
and
12 deletions
+36
-12
angular.json
angular.json
+15
-4
conformidad.componente.html
src/app/pages/conformidad/conformidad.componente.html
+0
-0
conformidad.componente.ts
src/app/pages/conformidad/conformidad.componente.ts
+17
-5
env.prod.ts
src/environment/env.prod.ts
+0
-1
env.ts
src/environment/env.ts
+4
-2
No files found.
angular.json
View file @
9caec978
...
@@ -62,12 +62,23 @@
...
@@ -62,12 +62,23 @@
"outputHashing"
:
"all"
"outputHashing"
:
"all"
},
},
"development"
:
{
"development"
:
{
"optimization"
:
false
,
"baseHref"
:
""
,
"extractLicenses"
:
false
,
"budgets"
:
[
"sourceMap"
:
true
{
"type"
:
"initial"
,
"maximumWarning"
:
"10MB"
,
"maximumError"
:
"10MB"
},
{
"type"
:
"anyComponentStyle"
,
"maximumWarning"
:
"2kB"
,
"maximumError"
:
"4kB"
}
],
"outputHashing"
:
"all"
}
}
},
},
"defaultConfiguration"
:
"
production
"
"defaultConfiguration"
:
"
development
"
},
},
"serve"
:
{
"serve"
:
{
"builder"
:
"@angular-devkit/build-angular:dev-server"
,
"builder"
:
"@angular-devkit/build-angular:dev-server"
,
...
...
src/app/pages/conformidad/conformidad.componente.html
View file @
9caec978
This diff is collapsed.
Click to expand it.
src/app/pages/conformidad/conformidad.componente.ts
View file @
9caec978
...
@@ -128,6 +128,11 @@ export class ConformidadComponent implements AfterViewInit {
...
@@ -128,6 +128,11 @@ export class ConformidadComponent implements AfterViewInit {
// VIEWCHILD
// VIEWCHILD
//INICIALIZACION DE VARIABLES UTILIZABLES
//INICIALIZACION DE VARIABLES UTILIZABLES
t_facturacion_electronica_link
=
environment
.
facturacion_electronica_link
;
horizon_services_link
=
environment
.
horizon_services_link
;
ID_CARPETA_DRIVE_LOGISTICA
=
environment
.
ID_CARPETA_DRIVE_LOGISTICA
;
ID_CARPETA_DRIVE_LOGISTICA_ELECTRICISTA
=
environment
.
ID_CARPETA_DRIVE_LOGISTICA_ELECTRICISTA
;
ID_CARPETA_DRIVE_LOGISTICA_GASFITERIA
=
environment
.
ID_CARPETA_DRIVE_LOGISTICA_GASFITERIA
;
opcionEnvironmnet
:
boolean
=
environment
.
isProduction
;
opcionEnvironmnet
:
boolean
=
environment
.
isProduction
;
personal_list
:
any
=
[];
personal_list
:
any
=
[];
...
@@ -242,6 +247,13 @@ export class ConformidadComponent implements AfterViewInit {
...
@@ -242,6 +247,13 @@ export class ConformidadComponent implements AfterViewInit {
Notiflix
.
Loading
.
standard
(
'Inicializando...'
);
Notiflix
.
Loading
.
standard
(
'Inicializando...'
);
console
.
log
(
this
.
t_facturacion_electronica_link
);
console
.
log
(
this
.
horizon_services_link
);
console
.
log
(
this
.
ID_CARPETA_DRIVE_LOGISTICA_ELECTRICISTA
);
console
.
log
(
this
.
ID_CARPETA_DRIVE_LOGISTICA_GASFITERIA
);
console
.
log
(
this
.
ID_CARPETA_DRIVE_LOGISTICA
);
const
[
const
[
personal
,
personal
,
sede
,
sede
,
...
@@ -399,7 +411,7 @@ export class ConformidadComponent implements AfterViewInit {
...
@@ -399,7 +411,7 @@ export class ConformidadComponent implements AfterViewInit {
//AGREGAR UN TECNICO
//AGREGAR UN TECNICO
onEventoAgregarPersonal
(){
onEventoAgregarPersonal
(){
this
.
agregarFormControl
(
this
.
datos_personal
,
'tecnicoPersonal'
+
this
.
listPersonal
.
length
,
new
FormControl
(
null
,
Validators
.
required
));
this
.
agregarFormControl
(
this
.
datos_personal
,
'tecnicoPersonal'
+
this
.
listPersonal
.
length
,
new
FormControl
(
null
,
Validators
.
required
));
this
.
agregarFormControl
(
this
.
datos_personal
,
'areaPersonal'
+
this
.
listPersonal
.
length
,
new
FormControl
<
string
>
(
''
,
Validators
.
required
));
//
this.agregarFormControl(this.datos_personal,'areaPersonal'+this.listPersonal.length,new FormControl<string>('' ,Validators.required));
this
.
listPersonal
.
push
({
index
:
this
.
listPersonal
.
length
,
id
:
0
,
nombre
:
''
});
// Agregar uno más
this
.
listPersonal
.
push
({
index
:
this
.
listPersonal
.
length
,
id
:
0
,
nombre
:
''
});
// Agregar uno más
}
}
...
@@ -418,7 +430,7 @@ export class ConformidadComponent implements AfterViewInit {
...
@@ -418,7 +430,7 @@ export class ConformidadComponent implements AfterViewInit {
}
else
{
}
else
{
this
.
listPersonal
.
pop
();
// Eliminar el ultimo elemento del array
this
.
listPersonal
.
pop
();
// Eliminar el ultimo elemento del array
this
.
removerFormControl
(
this
.
datos_personal
,
'tecnicoPersonal'
+
this
.
listPersonal
.
length
);
this
.
removerFormControl
(
this
.
datos_personal
,
'tecnicoPersonal'
+
this
.
listPersonal
.
length
);
this
.
removerFormControl
(
this
.
datos_personal
,
'areaPersonal'
+
this
.
listPersonal
.
length
);
//
this.removerFormControl(this.datos_personal,'areaPersonal'+this.listPersonal.length);
}
}
}
}
...
@@ -428,7 +440,7 @@ export class ConformidadComponent implements AfterViewInit {
...
@@ -428,7 +440,7 @@ export class ConformidadComponent implements AfterViewInit {
const
codigoPer
=
event
.
value
;
const
codigoPer
=
event
.
value
;
const
personal_list
=
this
.
personal_list
;
const
personal_list
=
this
.
personal_list
;
const
personal_datos
=
personal_list
.
find
((
item
:
any
)
=>
item
.
codper
===
codigoPer
);
const
personal_datos
=
personal_list
.
find
((
item
:
any
)
=>
item
.
codper
===
codigoPer
);
const
areaControl
=
this
.
datos_personal
.
get
(
'areaPersonal'
+
elemento
.
index
);
//
const areaControl = this.datos_personal.get('areaPersonal'+elemento.index);
const
validarRepetido
=
this
.
listPersonal
.
find
((
item
:
any
)
=>
item
.
id
===
codigoPer
&&
item
.
index
!=
elemento
.
index
);
const
validarRepetido
=
this
.
listPersonal
.
find
((
item
:
any
)
=>
item
.
id
===
codigoPer
&&
item
.
index
!=
elemento
.
index
);
if
(
validarRepetido
){
if
(
validarRepetido
){
...
@@ -448,12 +460,12 @@ export class ConformidadComponent implements AfterViewInit {
...
@@ -448,12 +460,12 @@ export class ConformidadComponent implements AfterViewInit {
this
.
listPersonal
[
elemento
.
index
].
id
=
codigoPer
;
this
.
listPersonal
[
elemento
.
index
].
id
=
codigoPer
;
this
.
listPersonal
[
elemento
.
index
].
nombre
=
personal_datos
.
nombre
;
this
.
listPersonal
[
elemento
.
index
].
nombre
=
personal_datos
.
nombre
;
if
(
Object
.
keys
(
personal_datos
).
length
>
0
){
/*
if(Object.keys(personal_datos).length > 0){
areaControl?.setValue(personal_datos.descargo);
areaControl?.setValue(personal_datos.descargo);
}else{
}else{
areaControl?.setValue('Sin Cargo');
areaControl?.setValue('Sin Cargo');
}
}
areaControl
?.
updateValueAndValidity
();
areaControl?.updateValueAndValidity();
*/
}
}
...
...
src/environment/env.prod.ts
View file @
9caec978
export
const
environment
=
{
export
const
environment
=
{
isProduction
:
true
,
isProduction
:
true
,
//trismegisto_services_link: 'https://tp-services.sacooliveros.edu.pe',
t_asistencia_rest_link
:
'https://tp-rest.sacooliveros.edu.pe'
,
t_asistencia_rest_link
:
'https://tp-rest.sacooliveros.edu.pe'
,
redireccionamiento
:
'https://fichaonline.sacooliveros.edu.pe:8000/trismegisto-apis/api/v1'
,
redireccionamiento
:
'https://fichaonline.sacooliveros.edu.pe:8000/trismegisto-apis/api/v1'
,
facturacion_electronica_link
:
'https://fichaonline.sacooliveros.edu.pe:8080/FacturacionElectronicaSIIAA'
,
facturacion_electronica_link
:
'https://fichaonline.sacooliveros.edu.pe:8080/FacturacionElectronicaSIIAA'
,
...
...
src/environment/env.ts
View file @
9caec978
export
const
environment
=
{
export
const
environment
=
{
isProduction
:
false
,
isProduction
:
false
,
//trismegisto_services_link: 'https://tp-services.sacooliveros.edu.pe',
t_asistencia_rest_link
:
'http://localhost:8080/tasistencia-rest'
,
redireccionamiento
:
'https://fichaonline.sacooliveros.edu.pe:8000/trismegisto-apis/api/v1'
,
redireccionamiento
:
'https://fichaonline.sacooliveros.edu.pe:8000/trismegisto-apis/api/v1'
,
t_asistencia_rest_link
:
'http://localhost:8080/tasistencia-rest'
,
//t_asistencia_rest_link: 'https://tp-rest.sacooliveros.edu.pe',
facturacion_electronica_link
:
'http://localhost:8080/FacturacionElectronicaSIIAA'
,
facturacion_electronica_link
:
'http://localhost:8080/FacturacionElectronicaSIIAA'
,
//facturacion_electronica_link: 'http://test.sacooliveros.edu.pe:8080/FacturacionElectronicaSIIAAFP',
horizon_services_link
:
'http://localhost:8080/trismegisto-api-horizons'
,
horizon_services_link
:
'http://localhost:8080/trismegisto-api-horizons'
,
//horizon_services_link : 'http://test.sacooliveros.edu.pe:8080/trismegisto-api-horizons',
ID_CARPETA_DRIVE_LOGISTICA
:
'1zYWsmpIAKR6nBmO5dnnBSAHJr81img0s'
,
ID_CARPETA_DRIVE_LOGISTICA
:
'1zYWsmpIAKR6nBmO5dnnBSAHJr81img0s'
,
CORREO_DRIVE_LOGISTICA
:
'trismegisto.logistica@sacooliveros.edu.pe'
,
CORREO_DRIVE_LOGISTICA
:
'trismegisto.logistica@sacooliveros.edu.pe'
,
opcion
:
1
,
opcion
:
1
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment