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.
@@ -415,6 +415,9 @@
415
415
  _this.situacionPersonal = '';
416
416
  _this.montoPension = 0;
417
417
  _this.nacionalidad = '';
418
+ _this.idClasificadorDocente = 0;
419
+ _this.codigoClasificador = '';
420
+ _this.denominacionClasificador = '';
418
421
  if (e) {
419
422
  _this.idEmpresa = parseInt(e.id_empresa);
420
423
  _this.idPersonalNomina = parseInt(e.id_personalnomina);
@@ -497,6 +500,9 @@
497
500
  _this.nombreCompleto = _this.nombrePersonal + ' ' + _this.apellidoPersonal;
498
501
  _this.situacionPersonal = e.situacion;
499
502
  _this.montoPension = +e.monpen;
503
+ _this.idClasificadorDocente = +e.id_clasificacion_docente;
504
+ _this.codigoClasificador = e.codcladoc;
505
+ _this.denominacionClasificador = e.dencladec;
500
506
  _this.nominaRac = parseInt(e.racnom);
501
507
  if (_this.nominaRac == 0) {
502
508
  _this.idTabulador = 0;
@@ -615,6 +621,7 @@
615
621
  estmpppe: this.estatusMPPPE ? '1' : '0',
616
622
  monsalgra: this.montoSaldoGrado.toString(),
617
623
  apeper: this.apellidoPersonal,
624
+ id_clasificacion_docente: this.idClasificadorDocente.toString(),
618
625
  };
619
626
  };
620
627
  return MPersonalNomina;
@@ -6138,7 +6145,7 @@
6138
6145
  */
6139
6146
  SigespService.prototype.onlyNumbers = function (event) {
6140
6147
  // console.log(event);
6141
- if (!isNaN(+event.key) || event.keyCode == 8) {
6148
+ if (!isNaN(+event.key) && event.keyCode != 32) {
6142
6149
  return true;
6143
6150
  }
6144
6151
  return false;
@@ -7089,13 +7096,16 @@
7089
7096
  return this.http.get(this.URL + "/dao/sss/derechos_usuario_dao.php?idComponent=" + this.currentComponent.id + "&column=" + column, { headers: this.getHttpHeaders() });
7090
7097
  };
7091
7098
  /**
7092
- * @description Retorna los headers para hacer las peticiones
7093
- * @return HttpHeaders
7094
- * @author Miguel Ramírez
7095
- */
7096
- SigespService.prototype.getHttpHeaders = function () {
7099
+ * @description Retorna los headers para hacer las peticiones
7100
+ * @params type: Tipo MIME permitido por defecto se toma application/json
7101
+ * @return HttpHeaders
7102
+ * @author Miguel Ramírez
7103
+ * @date-update: 15-06-2022
7104
+ */
7105
+ SigespService.prototype.getHttpHeaders = function (type) {
7106
+ !type ? type = 'application/json' : '';
7097
7107
  var headers = new i1.HttpHeaders({
7098
- 'Content-Type': 'application/json',
7108
+ 'Content-Type': type,
7099
7109
  'Authorization': "" + this.usuarioActivo.token
7100
7110
  });
7101
7111
  return headers;
@@ -8449,6 +8459,9 @@
8449
8459
  _this.montoSalarioGrado = 0;
8450
8460
  _this.montoCompensacionGrado = 0;
8451
8461
  _this.estatusMPPPE = false;
8462
+ _this.idClasificadorDocente = 0;
8463
+ _this.codigoClasificador = '';
8464
+ _this.denominacionClasificador = '';
8452
8465
  _this.detallesOrganigrama = [];
8453
8466
  _this.detallesNomina = [];
8454
8467
  if (p) {
@@ -8474,6 +8487,9 @@
8474
8487
  _this.montoSalarioGrado = parseFloat(p.moncomgra);
8475
8488
  _this.montoCompensacionGrado = parseFloat(p.moncomgra);
8476
8489
  _this.estatusMPPPE = p.estmpppe == '1' ? true : false;
8490
+ _this.idClasificadorDocente = +p.id_clasificacion_docente;
8491
+ _this.codigoClasificador = p.codcladoc;
8492
+ _this.denominacionClasificador = p.dencladec;
8477
8493
  if (p.detalles_organigrama) {
8478
8494
  _this.detallesOrganigrama = p.detalles_organigrama.map(function (e) { return new MCargoEstructuraOrganizativa(e); });
8479
8495
  }
@@ -8496,6 +8512,7 @@
8496
8512
  codpas: this.codigoPaso,
8497
8513
  id_ubifis: this.idUbicacionFisica.toString(),
8498
8514
  id_personalcargo: this.idPersonalCargo.toString(),
8515
+ id_clasificacion_docente: this.idClasificadorDocente.toString(),
8499
8516
  detalles_organigrama: this.detallesOrganigrama.map(function (e) { return e.dataInterface(); }),
8500
8517
  detalles_nomina: this.detallesNomina.map(function (e) { return e.dataInterface(); }),
8501
8518
  };
@@ -13120,6 +13137,7 @@
13120
13137
  { value: "horper1", denominacion: "horaAdicional1" },
13121
13138
  { value: "horper2", denominacion: "horaAdicional2" },
13122
13139
  { value: "id_organigrama", denominacion: "idOrganigrama" },
13140
+ { value: "id_clasificacion_docente", denominacion: "idClasificadorDocente" },
13123
13141
  ];
13124
13142
  var Eventos = [
13125
13143
  { value: "UPDATE" },