sigesp 0.8.95-20220530 → 0.8.98-20220615

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.
@@ -147,6 +147,9 @@ class MPersonalNomina extends MBasicModel {
147
147
  this.situacionPersonal = '';
148
148
  this.montoPension = 0;
149
149
  this.nacionalidad = '';
150
+ this.idClasificadorDocente = 0;
151
+ this.codigoClasificador = '';
152
+ this.denominacionClasificador = '';
150
153
  if (e) {
151
154
  this.idEmpresa = parseInt(e.id_empresa);
152
155
  this.idPersonalNomina = parseInt(e.id_personalnomina);
@@ -229,6 +232,9 @@ class MPersonalNomina extends MBasicModel {
229
232
  this.nombreCompleto = this.nombrePersonal + ' ' + this.apellidoPersonal;
230
233
  this.situacionPersonal = e.situacion;
231
234
  this.montoPension = +e.monpen;
235
+ this.idClasificadorDocente = +e.id_clasificacion_docente;
236
+ this.codigoClasificador = e.codcladoc;
237
+ this.denominacionClasificador = e.dencladec;
232
238
  this.nominaRac = parseInt(e.racnom);
233
239
  if (this.nominaRac == 0) {
234
240
  this.idTabulador = 0;
@@ -346,6 +352,7 @@ class MPersonalNomina extends MBasicModel {
346
352
  estmpppe: this.estatusMPPPE ? '1' : '0',
347
353
  monsalgra: this.montoSaldoGrado.toString(),
348
354
  apeper: this.apellidoPersonal,
355
+ id_clasificacion_docente: this.idClasificadorDocente.toString(),
349
356
  };
350
357
  }
351
358
  }
@@ -5641,7 +5648,7 @@ class SigespService {
5641
5648
  */
5642
5649
  onlyNumbers(event) {
5643
5650
  // console.log(event);
5644
- if (!isNaN(+event.key) || event.keyCode == 8) {
5651
+ if (!isNaN(+event.key) && event.keyCode != 32) {
5645
5652
  return true;
5646
5653
  }
5647
5654
  return false;
@@ -6502,13 +6509,16 @@ class SigespService {
6502
6509
  return this.http.get(`${this.URL}/dao/sss/derechos_usuario_dao.php?idComponent=${this.currentComponent.id}&column=${column}`, { headers: this.getHttpHeaders() });
6503
6510
  }
6504
6511
  /**
6505
- * @description Retorna los headers para hacer las peticiones
6506
- * @return HttpHeaders
6507
- * @author Miguel Ramírez
6508
- */
6509
- getHttpHeaders() {
6512
+ * @description Retorna los headers para hacer las peticiones
6513
+ * @params type: Tipo MIME permitido por defecto se toma application/json
6514
+ * @return HttpHeaders
6515
+ * @author Miguel Ramírez
6516
+ * @date-update: 15-06-2022
6517
+ */
6518
+ getHttpHeaders(type) {
6519
+ !type ? type = 'application/json' : '';
6510
6520
  const headers = new HttpHeaders({
6511
- 'Content-Type': 'application/json',
6521
+ 'Content-Type': type,
6512
6522
  'Authorization': `${this.usuarioActivo.token}`
6513
6523
  });
6514
6524
  return headers;
@@ -7776,6 +7786,9 @@ class MCargosPersonal extends MBasicModel {
7776
7786
  this.montoSalarioGrado = 0;
7777
7787
  this.montoCompensacionGrado = 0;
7778
7788
  this.estatusMPPPE = false;
7789
+ this.idClasificadorDocente = 0;
7790
+ this.codigoClasificador = '';
7791
+ this.denominacionClasificador = '';
7779
7792
  this.detallesOrganigrama = [];
7780
7793
  this.detallesNomina = [];
7781
7794
  if (p) {
@@ -7801,6 +7814,9 @@ class MCargosPersonal extends MBasicModel {
7801
7814
  this.montoSalarioGrado = parseFloat(p.moncomgra);
7802
7815
  this.montoCompensacionGrado = parseFloat(p.moncomgra);
7803
7816
  this.estatusMPPPE = p.estmpppe == '1' ? true : false;
7817
+ this.idClasificadorDocente = +p.id_clasificacion_docente;
7818
+ this.codigoClasificador = p.codcladoc;
7819
+ this.denominacionClasificador = p.dencladec;
7804
7820
  if (p.detalles_organigrama) {
7805
7821
  this.detallesOrganigrama = p.detalles_organigrama.map(e => new MCargoEstructuraOrganizativa(e));
7806
7822
  }
@@ -7822,6 +7838,7 @@ class MCargosPersonal extends MBasicModel {
7822
7838
  codpas: this.codigoPaso,
7823
7839
  id_ubifis: this.idUbicacionFisica.toString(),
7824
7840
  id_personalcargo: this.idPersonalCargo.toString(),
7841
+ id_clasificacion_docente: this.idClasificadorDocente.toString(),
7825
7842
  detalles_organigrama: this.detallesOrganigrama.map(function (e) { return e.dataInterface(); }),
7826
7843
  detalles_nomina: this.detallesNomina.map(function (e) { return e.dataInterface(); }),
7827
7844
  };
@@ -12171,6 +12188,7 @@ const Campos = [
12171
12188
  { value: "horper1", denominacion: "horaAdicional1" },
12172
12189
  { value: "horper2", denominacion: "horaAdicional2" },
12173
12190
  { value: "id_organigrama", denominacion: "idOrganigrama" },
12191
+ { value: "id_clasificacion_docente", denominacion: "idClasificadorDocente" },
12174
12192
  ];
12175
12193
  const Eventos = [
12176
12194
  { value: "UPDATE" },