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
da10336b
Commit
da10336b
authored
Feb 26, 2025
by
Fernando José Palomino Aquino
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ADD] GESTION TICKETS Y NUEVO DISEÑO
parent
c46f636f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
52 additions
and
8 deletions
+52
-8
conformidad.componente.css
src/app/pages/conformidad/conformidad.componente.css
+12
-0
conformidad.componente.html
src/app/pages/conformidad/conformidad.componente.html
+0
-0
conformidad.componente.ts
src/app/pages/conformidad/conformidad.componente.ts
+0
-0
conformidad.helper.ts
src/app/pages/conformidad/helper/conformidad.helper.ts
+11
-2
modalArticuloOC.componente.html
...nformidad/modalArticuloOC/modalArticuloOC.componente.html
+1
-1
ordensalida.componente.html
src/app/pages/ordensalida/ordensalida.componente.html
+1
-1
conformidad.service.ts
src/app/service/conformidad_service/conformidad.service.ts
+26
-3
index.html
src/index.html
+1
-1
No files found.
src/app/pages/conformidad/conformidad.componente.css
View file @
da10336b
...
@@ -34,10 +34,22 @@
...
@@ -34,10 +34,22 @@
align-items
:
center
!important
;
align-items
:
center
!important
;
}
}
mat-card
{
border
:
3px
solid
#9cc2ff
;
box-shadow
:
0px
4px
6px
rgba
(
0
,
0.4
,
0.4
,
0.3
);
}
mat-label
{
mat-label
{
opacity
:
1
;
/* Por defecto, el label será completamente visible */
opacity
:
1
;
/* Por defecto, el label será completamente visible */
font-size
:
15px
;
font-family
:
Montserrat
,
sans-serif
;
font-weight
:
bold
;
line-height
:
24px
;
letter-spacing
:
.5px
;
}
}
.custom-snackbar
{
.custom-snackbar
{
white-space
:
pre-line
;
/* Permite respetar saltos de línea */
white-space
:
pre-line
;
/* Permite respetar saltos de línea */
}
}
...
...
src/app/pages/conformidad/conformidad.componente.html
View file @
da10336b
This diff is collapsed.
Click to expand it.
src/app/pages/conformidad/conformidad.componente.ts
View file @
da10336b
This diff is collapsed.
Click to expand it.
src/app/pages/conformidad/helper/conformidad.helper.ts
View file @
da10336b
...
@@ -44,6 +44,15 @@ export class ConformidadHelper {
...
@@ -44,6 +44,15 @@ export class ConformidadHelper {
}
}
}
}
async
listadoGeneralTickets
(
json
:
any
){
const
respuesta
=
await
this
.
ConformidadService
.
listadoGeneralTickets
(
json
);
if
(
respuesta
?.
status
)
{
return
respuesta
.
data
;
}
else
{
return
[];
}
}
async
gestionConformidad
(
json
:
any
){
async
gestionConformidad
(
json
:
any
){
const
respuesta
=
await
this
.
ConformidadService
.
gestionConformidad
(
json
);
const
respuesta
=
await
this
.
ConformidadService
.
gestionConformidad
(
json
);
if
(
respuesta
?.
status
)
{
if
(
respuesta
?.
status
)
{
...
@@ -59,8 +68,8 @@ export class ConformidadHelper {
...
@@ -59,8 +68,8 @@ export class ConformidadHelper {
return
respuesta
return
respuesta
}
}
async
eliminar
Document
o
(
json
:
any
){
async
eliminar
Archiv
o
(
json
:
any
){
const
respuesta
=
await
this
.
ConformidadService
.
eliminar
Document
o
(
json
);
const
respuesta
=
await
this
.
ConformidadService
.
eliminar
Archiv
o
(
json
);
return
respuesta
return
respuesta
}
}
...
...
src/app/pages/conformidad/modalArticuloOC/modalArticuloOC.componente.html
View file @
da10336b
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
<mat-label>
CANTIDAD :
</mat-label>
<mat-label>
CANTIDAD :
</mat-label>
<mat-form-field
class=
"w-full"
>
<mat-form-field
class=
"w-full"
>
<mat-label>
Ingrese cantidad
</mat-label>
<mat-label>
Ingrese cantidad
</mat-label>
<input
formControlName=
"cantidadArticulo"
matInput
soloNumeros=
"entero"
maxlength=
"
3"
placeholder=
"Máx. 3
dígitos"
>
<input
formControlName=
"cantidadArticulo"
matInput
soloNumeros=
"entero"
maxlength=
"
5"
placeholder=
"Máx. 5
dígitos"
>
</mat-form-field>
</mat-form-field>
</div>
</div>
...
...
src/app/pages/ordensalida/ordensalida.componente.html
View file @
da10336b
...
@@ -88,7 +88,7 @@
...
@@ -88,7 +88,7 @@
<div
class=
"mt-6"
>
<div
class=
"mt-6"
>
<div><b
class=
"md:text-[1rem] text-[1em] text-black/60"
>
EVIDENCIA DE MATERIAL SOBRANTE: (opcional)
</b></div>
<div><b
class=
"md:text-[1rem] text-[1em] text-black/60"
>
EVIDENCIA DE MATERIAL SOBRANTE: (opcional)
</b></div>
<div>
<div>
<button
mat-fab
class=
"!w-full"
[
color
]="'
blue
'
"
(
click
)="
fotoATC
.
click
()"
>
<button
mat-fab
class=
"!w-full"
style=
"background-color: #ffcf83
"
(
click
)="
fotoATC
.
click
()"
>
<mat-label>
FOTO MATERIAL SOBRANTE
</mat-label>
<mat-label>
FOTO MATERIAL SOBRANTE
</mat-label>
<mat-icon>
file_open
</mat-icon>
<mat-icon>
file_open
</mat-icon>
</button>
</button>
...
...
src/app/service/conformidad_service/conformidad.service.ts
View file @
da10336b
...
@@ -62,6 +62,29 @@ export class ConformidadService {
...
@@ -62,6 +62,29 @@ export class ConformidadService {
}
}
}
}
async
listadoGeneralTickets
(
json
:
any
){
try
{
const
respuesta
=
await
axios
.
post
(
this
.
t_asistencia_rest_link
+
'/api/v1/soticket/consultar_tickets'
,
{
p_item
:
json
.
p_item
,
p_sede
:
json
.
p_sede
,
p_responsable
:
json
.
p_responsable
,
p_fecha_ini
:
json
.
p_fecha_ini
,
p_fecha_fin
:
json
.
p_fecha_fin
,
p_correo
:
json
.
p_correo
,
p_estado
:
json
.
p_estado
,
length
:
json
.
length
,
start
:
json
.
start
}
);
return
respuesta
.
data
;
}
catch
(
e
)
{
return
e
;
}
}
async
gestionConformidad
(
json
:
any
)
{
async
gestionConformidad
(
json
:
any
)
{
const
Parametros
=
{
const
Parametros
=
{
...
@@ -175,7 +198,7 @@ export class ConformidadService {
...
@@ -175,7 +198,7 @@ export class ConformidadService {
const
responseBody
=
await
response
.
json
();
const
responseBody
=
await
response
.
json
();
if
(
responseBody
?.
status
)
{
if
(
responseBody
?.
status
)
{
await
this
.
registro
Document
o
({
await
this
.
registro
Archiv
o
({
codconformidad
:
datos
.
codconformidad
||
0
,
codconformidad
:
datos
.
codconformidad
||
0
,
tipoEvidencia
:
datos
.
tipoEvidencia
||
0
,
tipoEvidencia
:
datos
.
tipoEvidencia
||
0
,
idDrive
:
responseBody
.
data
.
archivo_id
||
""
,
idDrive
:
responseBody
.
data
.
archivo_id
||
""
,
...
@@ -228,7 +251,7 @@ export class ConformidadService {
...
@@ -228,7 +251,7 @@ export class ConformidadService {
}
}
async
registro
Document
o
(
json
:
any
)
{
async
registro
Archiv
o
(
json
:
any
)
{
const
parametros
=
{
const
parametros
=
{
accion
:
1
,
accion
:
1
,
codconformidad
:
json
.
codconformidad
||
0
,
codconformidad
:
json
.
codconformidad
||
0
,
...
@@ -249,7 +272,7 @@ export class ConformidadService {
...
@@ -249,7 +272,7 @@ export class ConformidadService {
}
}
}
}
async
eliminar
Document
o
(
json
:
any
){
async
eliminar
Archiv
o
(
json
:
any
){
const
parametros
=
{
const
parametros
=
{
accion
:
1
,
accion
:
1
,
codconformidad
:
json
.
codconformidad
||
0
,
codconformidad
:
json
.
codconformidad
||
0
,
...
...
src/index.html
View file @
da10336b
<!doctype html>
<!doctype html>
<html
lang=
"en"
>
<html
lang=
"en"
style=
"background-color: #caeeff;"
>
<head>
<head>
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<title>
AngularFormularioHR
</title>
<title>
AngularFormularioHR
</title>
...
...
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