sigesp 0.8.52-211212 → 0.8.56-220107

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.
@@ -3363,11 +3363,11 @@
3363
3363
  id_conceptofpj: this.idConceptoFondoPensionesJubilaciones.toString(),
3364
3364
  id_conceptorpvyh: this.idConceptoViviendaHabitad.toString(),
3365
3365
  id_conceptofpa: this.idConceptoFondoPlanAhorro.toString(),
3366
- codconvac: this.codigoConceptoVacacion.toString(),
3367
- codconfpj: this.codigoConceptoFondoPensionesJubilaciones.toString(),
3368
- codconrpvyh: this.codigoConceptoViviendaHabitad.toString(),
3369
- codconfpa: this.codigoConceptoFondoPlanAhorro.toString(),
3370
- cueconman: this.ConceptoMantenimientoCuentasConceptos.toString(),
3366
+ codconvac: this.codigoConceptoVacacion,
3367
+ codconfpj: this.codigoConceptoFondoPensionesJubilaciones,
3368
+ codconrpvyh: this.codigoConceptoViviendaHabitad,
3369
+ codconfpa: this.codigoConceptoFondoPlanAhorro,
3370
+ cueconman: this.ConceptoMantenimientoCuentasConceptos,
3371
3371
  regperinc: this.registropermisoincidencia,
3372
3372
  regferinc: this.registroferiadoincidencia,
3373
3373
  regasiinc: this.registroasistenciaincidencia,
@@ -4532,6 +4532,7 @@
4532
4532
  this.toast = toast;
4533
4533
  this.usuarioActivo = null;
4534
4534
  this.currentComponent = null;
4535
+ this.userMenu = null;
4535
4536
  }
4536
4537
  /**
4537
4538
  * @description Valida que selo se escriban guiones y 9
@@ -6217,10 +6218,10 @@
6217
6218
  }));
6218
6219
  };
6219
6220
  /**
6220
- * @description obtener personal Nomina segun filtro
6221
- * @return Observable<IResponse>
6222
- * @date 15-11-2021
6223
- */
6221
+ * @description obtener personal Nomina segun filtro
6222
+ * @return Observable<IResponse>
6223
+ * @date 15-11-2021
6224
+ */
6224
6225
  SigespService.prototype.getPersonalNomina = function (dato) {
6225
6226
  return this.http.get(this.URL + "/dao/sno/asignacion_personal_nomina_dao.php?\n tipo=" + 'personal_asignado' + "&cedula=" + dato.cedula + "&nombre=" + dato.nombre + "&apellido=" + dato.apellido + "&expediente=" + dato.expediente + "&idTipo=" + dato.idTipo + "&idNomina=" + dato.idNomina, { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
6226
6227
  if (res.success) {
@@ -6229,6 +6230,18 @@
6229
6230
  return res;
6230
6231
  }));
6231
6232
  };
6233
+ /**
6234
+ * @description Obtiene el Json Menu para el usuario definido segun su permisologia del Sistema
6235
+ * @return Json data
6236
+ * @author Ing. Wilmer Briceno
6237
+ */
6238
+ SigespService.prototype.getJsonMenu = function (id_usuario, sistema) {
6239
+ var _this = this;
6240
+ return this.http.get(this.URL + "/dao/sss/menu_dao.php?id_usuario=" + id_usuario + "&sistema=" + sistema, { headers: this.getHttpHeaders() }).pipe(operators.map(function (res) {
6241
+ _this.userMenu = res.data;
6242
+ return _this.userMenu;
6243
+ }));
6244
+ };
6232
6245
  return SigespService;
6233
6246
  }());
6234
6247
  SigespService.ɵprov = i0.ɵɵdefineInjectable({ factory: function SigespService_Factory() { return new SigespService(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(i2.MatDialog), i0.ɵɵinject(i3.ToastrService)); }, token: SigespService, providedIn: "root" });