sigesp 0.8.67-220127 → 0.8.68-220203

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.
@@ -1607,6 +1607,14 @@
1607
1607
  _this.sendEmail = false;
1608
1608
  _this.print = false;
1609
1609
  _this.visible = false;
1610
+ _this.aprobar = false;
1611
+ _this.revaprobar = false;
1612
+ _this.anular_sc = false;
1613
+ _this.revanular_sc = false;
1614
+ _this.contabilizar = false;
1615
+ _this.revcontabilizar = false;
1616
+ _this.anular_c = false;
1617
+ _this.revanular_c = false;
1610
1618
  _this.children = [];
1611
1619
  _this.icon = '';
1612
1620
  _this.componentName = '';
@@ -1628,6 +1636,14 @@
1628
1636
  _this.sendEmail = right.enviar__correo_ == "1";
1629
1637
  _this.print = right.imprimir == "1";
1630
1638
  _this.visible = right.visible == "1";
1639
+ _this.aprobar = right.aprobar == "1";
1640
+ _this.revaprobar = right.revaprobar == "1";
1641
+ _this.anular_sc = right.anular_sc == "1";
1642
+ _this.revanular_sc = right.revanular_sc == "1";
1643
+ _this.contabilizar = right.contabilizar == "1";
1644
+ _this.revcontabilizar = right.revcontabilizar == "1";
1645
+ _this.anular_c = right.anular_c == "1";
1646
+ _this.revanular_c = right.revanular_c == "1";
1631
1647
  _this.children = right.children.map(function (e) { return new MRights(e); });
1632
1648
  _this.icon = right.icono;
1633
1649
  _this.id = parseInt(right.id.toString());
@@ -1656,6 +1672,14 @@
1656
1672
  imprimir: this.print ? "1" : "0",
1657
1673
  insertar: this.insert ? "1" : "0",
1658
1674
  visible: this.visible ? "1" : "0",
1675
+ aprobar: this.aprobar ? "1" : "0",
1676
+ revaprobar: this.revaprobar ? "1" : "0",
1677
+ anular_sc: this.anular_sc ? "1" : "0",
1678
+ revanular_sc: this.revanular_sc ? "1" : "0",
1679
+ contabilizar: this.contabilizar ? "1" : "0",
1680
+ revcontabilizar: this.revcontabilizar ? "1" : "0",
1681
+ anular_c: this.anular_c ? "1" : "0",
1682
+ revanular_c: this.revanular_c ? "1" : "0",
1659
1683
  codusu: '---',
1660
1684
  id_grupo: this.groupId,
1661
1685
  id_usuario: this.userId,
@@ -6444,6 +6468,16 @@
6444
6468
  * @return Json data
6445
6469
  * @author Ing. Wilmer Briceno
6446
6470
  */
6471
+ SigespService.prototype.getPerfilNoComponent = function (id_usuario, sistema, nameComponent) {
6472
+ return this.http.get(this.URL + "/dao/sss/derechos_usuario_dao.php?id_usuario=" + id_usuario + "&sistema=" + sistema + "&namecomponent=" + nameComponent, { headers: this.getHttpHeaders() }).pipe(operators.map(function (res) {
6473
+ return res;
6474
+ }));
6475
+ };
6476
+ /**
6477
+ * @description Obtiene el Json Menu para el usuario definido segun su permisologia del Sistema
6478
+ * @return Json data
6479
+ * @author Ing. Wilmer Briceno
6480
+ */
6447
6481
  SigespService.prototype.getJsonMenu = function (id_usuario, sistema) {
6448
6482
  var _this = this;
6449
6483
  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) {
@@ -6499,12 +6533,12 @@
6499
6533
  * stringbinario : '1011' y posicion es 2, por tanto se tare 0 y es false que representa opcion consultar.
6500
6534
  * Estructura string binario:
6501
6535
  * Posición :
6502
- * 0. Administrador 6. Descargar
6503
- * 1. insertar 7. Ejecutar
6504
- * 2. Actualizar 8. Enviar
6505
- * 3. consultar 9. Imprimir
6506
- * 4. Eliminar 10. Visible
6507
- * 5. Anular
6536
+ * 0. Administrador 6. Descargar 12. Reversar aprobar 18. Reversar anular contabilizado
6537
+ * 1. insertar 7. Ejecutar 13. Anular.
6538
+ * 2. Actualizar 8. Enviar 14. reversar anular
6539
+ * 3. consultar 9. Imprimir 15. contabilizar
6540
+ * 4. Eliminar 10. Visible 16. reversar contabilizar
6541
+ * 5. Anular 11. Aprobar 17. anular contabilizado
6508
6542
  *
6509
6543
  * @author Ing. Wilmer Briceño
6510
6544
  */