sigesp 0.9.81-20231022 → 0.9.83-20230111
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.
- package/bundles/sigesp.umd.js +146 -99
- package/bundles/sigesp.umd.js.map +1 -1
- package/bundles/sigesp.umd.min.js +1 -1
- package/bundles/sigesp.umd.min.js.map +1 -1
- package/esm2015/lib/core/interfaces/CuentaInstitucional.js +1 -1
- package/esm2015/lib/core/interfaces/RecursosHumanos.js +1 -1
- package/esm2015/lib/core/models/SCG/IncomeAccount.js +4 -2
- package/esm2015/lib/core/models/SCG/cuentaInstitucional.model.js +58 -23
- package/esm2015/lib/core/models/SNO/MCargosPersonal.model.js +3 -1
- package/esm2015/lib/sigesp.service.js +7 -1
- package/fesm2015/sigesp.js +66 -23
- package/fesm2015/sigesp.js.map +1 -1
- package/lib/core/interfaces/CuentaInstitucional.d.ts +2 -0
- package/lib/core/interfaces/RecursosHumanos.d.ts +2 -2
- package/lib/core/models/SCG/IncomeAccount.d.ts +2 -1
- package/lib/core/models/SCG/cuentaInstitucional.model.d.ts +7 -2
- package/lib/sigesp.service.d.ts +1 -0
- package/package.json +1 -1
- package/sigesp.metadata.json +1 -1
package/bundles/sigesp.umd.js
CHANGED
|
@@ -1431,32 +1431,68 @@
|
|
|
1431
1431
|
return MCuentaPresupuesto;
|
|
1432
1432
|
}());
|
|
1433
1433
|
|
|
1434
|
-
var MCuentaInstitucional = /** @class */ (function () {
|
|
1434
|
+
var MCuentaInstitucional = /** @class */ (function (_super) {
|
|
1435
|
+
__extends(MCuentaInstitucional, _super);
|
|
1435
1436
|
function MCuentaInstitucional(institucional) {
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1437
|
+
var _this = _super.call(this) || this;
|
|
1438
|
+
_this.cuenta = '';
|
|
1439
|
+
_this.cueproacu = '';
|
|
1440
|
+
_this.denominacion = '';
|
|
1441
|
+
_this.enero = '';
|
|
1442
|
+
_this.febrero = '';
|
|
1443
|
+
_this.marzo = '';
|
|
1444
|
+
_this.abril = '';
|
|
1445
|
+
_this.mayo = '';
|
|
1446
|
+
_this.junio = '';
|
|
1447
|
+
_this.julio = '';
|
|
1448
|
+
_this.agosto = '';
|
|
1449
|
+
_this.septiembre = '';
|
|
1450
|
+
_this.octubre = '';
|
|
1451
|
+
_this.noviembre = '';
|
|
1452
|
+
_this.diciembre = '';
|
|
1453
|
+
_this.asignado = '';
|
|
1454
|
+
_this.distribuir = '';
|
|
1455
|
+
_this.status = '';
|
|
1456
|
+
_this.idEmpresa = '';
|
|
1457
|
+
_this.nivel = '';
|
|
1458
|
+
_this.referencia = '';
|
|
1459
|
+
_this.denominacionCuentaProvisionAcumulada = '';
|
|
1460
|
+
_this.denominacionCuentaReferencia = '';
|
|
1461
|
+
_this.denominacionEstatus = '';
|
|
1462
|
+
_this.isNew = false;
|
|
1463
|
+
if (institucional) {
|
|
1464
|
+
_this.cuenta = institucional.sc_cuenta;
|
|
1465
|
+
_this.cueproacu = institucional.cueproacu;
|
|
1466
|
+
_this.denominacion = institucional.denominacion;
|
|
1467
|
+
_this.enero = institucional.enero;
|
|
1468
|
+
_this.febrero = institucional.febrero;
|
|
1469
|
+
_this.marzo = institucional.marzo;
|
|
1470
|
+
_this.abril = institucional.abril;
|
|
1471
|
+
_this.mayo = institucional.mayo;
|
|
1472
|
+
_this.junio = institucional.junio;
|
|
1473
|
+
_this.julio = institucional.julio;
|
|
1474
|
+
_this.agosto = institucional.agosto;
|
|
1475
|
+
_this.septiembre = institucional.septiembre;
|
|
1476
|
+
_this.octubre = institucional.octubre;
|
|
1477
|
+
_this.noviembre = institucional.noviembre;
|
|
1478
|
+
_this.diciembre = institucional.diciembre;
|
|
1479
|
+
_this.asignado = institucional.asignado;
|
|
1480
|
+
_this.distribuir = institucional.distribuir;
|
|
1481
|
+
_this.status = institucional.estatus;
|
|
1482
|
+
_this.idEmpresa = institucional.id_empresa;
|
|
1483
|
+
_this.nivel = institucional.nivel;
|
|
1484
|
+
_this.referencia = institucional.referencia;
|
|
1485
|
+
_this.denominacionCuentaProvisionAcumulada = institucional.dencueproacu;
|
|
1486
|
+
_this.denominacionCuentaReferencia = institucional.denctareferecia;
|
|
1487
|
+
institucional.estatus == 'C' ? _this.denominacionEstatus = 'Movimiento' : _this.denominacionEstatus = 'Totalizadora';
|
|
1488
|
+
}
|
|
1489
|
+
else {
|
|
1490
|
+
_this.isNew = true;
|
|
1491
|
+
}
|
|
1492
|
+
return _this;
|
|
1457
1493
|
}
|
|
1458
1494
|
return MCuentaInstitucional;
|
|
1459
|
-
}());
|
|
1495
|
+
}(MBasicModel));
|
|
1460
1496
|
|
|
1461
1497
|
var MMoneda = /** @class */ (function (_super) {
|
|
1462
1498
|
__extends(MMoneda, _super);
|
|
@@ -2629,89 +2665,92 @@
|
|
|
2629
2665
|
}());
|
|
2630
2666
|
// TERMINAR EL MODELO
|
|
2631
2667
|
|
|
2632
|
-
var MCuentaIngresos = /** @class */ (function () {
|
|
2668
|
+
var MCuentaIngresos = /** @class */ (function (_super) {
|
|
2669
|
+
__extends(MCuentaIngresos, _super);
|
|
2633
2670
|
function MCuentaIngresos(cuenta, isNew) {
|
|
2634
2671
|
if (cuenta === void 0) { cuenta = null; }
|
|
2635
2672
|
if (isNew === void 0) { isNew = false; }
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2673
|
+
var _this = _super.call(this) || this;
|
|
2674
|
+
_this.idEmpresa = null;
|
|
2675
|
+
_this.nivel = null;
|
|
2676
|
+
_this.denominacion = '';
|
|
2677
|
+
_this.cuenta = null;
|
|
2678
|
+
_this.cuentaContable = null;
|
|
2679
|
+
_this.cuentaONCOP = null;
|
|
2680
|
+
_this.clasificador = null;
|
|
2681
|
+
_this.referencia = null;
|
|
2682
|
+
_this.estado = null;
|
|
2683
|
+
_this.aumento = 0;
|
|
2684
|
+
_this.cobrado = 0;
|
|
2685
|
+
_this.anticipoCobrado = 0;
|
|
2686
|
+
_this.devengado = 0;
|
|
2687
|
+
_this.disminucion = 0;
|
|
2688
|
+
_this.distribuir = 0;
|
|
2689
|
+
_this.previsto = 0;
|
|
2690
|
+
_this.enero = 0;
|
|
2691
|
+
_this.febrero = 0;
|
|
2692
|
+
_this.marzo = 0;
|
|
2693
|
+
_this.abril = 0;
|
|
2694
|
+
_this.mayo = 0;
|
|
2695
|
+
_this.junio = 0;
|
|
2696
|
+
_this.julio = 0;
|
|
2697
|
+
_this.agosto = 0;
|
|
2698
|
+
_this.septiembre = 0;
|
|
2699
|
+
_this.octubre = 0;
|
|
2700
|
+
_this.noviembre = 0;
|
|
2701
|
+
_this.diciembre = 0;
|
|
2702
|
+
_this.selected = false;
|
|
2703
|
+
_this.isNew = false;
|
|
2704
|
+
_this.error = false;
|
|
2705
|
+
_this.idEP1 = 0;
|
|
2706
|
+
_this.idEP2 = 0;
|
|
2707
|
+
_this.idEP3 = 0;
|
|
2708
|
+
_this.idEP4 = 0;
|
|
2709
|
+
_this.idEP5 = 0;
|
|
2710
|
+
_this.id = null;
|
|
2711
|
+
_this.estructura = null;
|
|
2674
2712
|
if (cuenta) {
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2713
|
+
_this.idEmpresa = parseInt(cuenta.id_empresa);
|
|
2714
|
+
_this.nivel = parseInt(cuenta.nivel);
|
|
2715
|
+
_this.denominacion = cuenta.denspi;
|
|
2716
|
+
_this.cuenta = cuenta.spi_cuenta;
|
|
2717
|
+
_this.cuentaContable = cuenta.sc_cuenta;
|
|
2718
|
+
_this.referencia = parseInt(cuenta.referencia);
|
|
2719
|
+
_this.estado = cuenta.stamov;
|
|
2720
|
+
_this.aumento = parseInt(cuenta.aumento);
|
|
2721
|
+
_this.cobrado = parseInt(cuenta.cobrado);
|
|
2722
|
+
_this.anticipoCobrado = parseInt(cuenta.cobrado_anticipado);
|
|
2723
|
+
_this.devengado = parseInt(cuenta.devengado);
|
|
2724
|
+
_this.distribuir = parseInt(cuenta.distribuir);
|
|
2725
|
+
_this.devengado = parseInt(cuenta.devengado);
|
|
2726
|
+
_this.previsto = parseInt(cuenta.previsto);
|
|
2727
|
+
_this.enero = parseInt(cuenta.enero);
|
|
2728
|
+
_this.febrero = parseInt(cuenta.febrero);
|
|
2729
|
+
_this.marzo = parseInt(cuenta.marzo);
|
|
2730
|
+
_this.abril = parseInt(cuenta.abril);
|
|
2731
|
+
_this.mayo = parseInt(cuenta.mayo);
|
|
2732
|
+
_this.junio = parseInt(cuenta.junio);
|
|
2733
|
+
_this.julio = parseInt(cuenta.julio);
|
|
2734
|
+
_this.agosto = parseInt(cuenta.agosto);
|
|
2735
|
+
_this.septiembre = parseInt(cuenta.septiembre);
|
|
2736
|
+
_this.octubre = parseInt(cuenta.octubre);
|
|
2737
|
+
_this.noviembre = parseInt(cuenta.noviembre);
|
|
2738
|
+
_this.diciembre = parseInt(cuenta.diciembre);
|
|
2739
|
+
_this.clasificador = cuenta.codcuecla;
|
|
2740
|
+
_this.cuentaONCOP = cuenta.cueoncop;
|
|
2741
|
+
_this.isNew = isNew;
|
|
2742
|
+
_this.idEP1 = parseInt(cuenta.id_ep1);
|
|
2743
|
+
_this.idEP2 = parseInt(cuenta.id_ep2);
|
|
2744
|
+
_this.idEP3 = parseInt(cuenta.id_ep3);
|
|
2745
|
+
_this.idEP4 = parseInt(cuenta.id_ep4);
|
|
2746
|
+
_this.idEP5 = parseInt(cuenta.id_ep5);
|
|
2747
|
+
_this.id = cuenta.id_del_spicta ? parseInt(cuenta.id_del_spicta) : 0;
|
|
2748
|
+
_this.estructura = cuenta.estructura ? cuenta.estructura : "";
|
|
2711
2749
|
}
|
|
2750
|
+
return _this;
|
|
2712
2751
|
}
|
|
2713
2752
|
return MCuentaIngresos;
|
|
2714
|
-
}());
|
|
2753
|
+
}(MBasicModel));
|
|
2715
2754
|
|
|
2716
2755
|
var MIncomeStructureAccount = /** @class */ (function () {
|
|
2717
2756
|
function MIncomeStructureAccount(account, level) {
|
|
@@ -6947,6 +6986,12 @@
|
|
|
6947
6986
|
}
|
|
6948
6987
|
return false;
|
|
6949
6988
|
};
|
|
6989
|
+
SigespService.prototype.onlyNumbers2 = function (event) {
|
|
6990
|
+
if (!isNaN(+event.key) || event.keyCode == 32 || event.keyCode == 8 || event.keyCode == 46) {
|
|
6991
|
+
return true;
|
|
6992
|
+
}
|
|
6993
|
+
return false;
|
|
6994
|
+
};
|
|
6950
6995
|
/**
|
|
6951
6996
|
* @description Permite (a-z A-Z á-ú ñÑ üÜ ',.) que se escriban numeros en el input (Usar en keypress)
|
|
6952
6997
|
* @param event Evento del teclado
|
|
@@ -9591,6 +9636,8 @@
|
|
|
9591
9636
|
id_personalcargo: this.idPersonalCargo.toString(),
|
|
9592
9637
|
id_clasificacion_docente: this.idClasificadorDocente.toString(),
|
|
9593
9638
|
id_claper: this.idClasificadorPersonal.toString(),
|
|
9639
|
+
id_dedicacion: this.idDedicacion.toString(),
|
|
9640
|
+
id_tipopersonal: this.idTipoPersonalSno.toString(),
|
|
9594
9641
|
detalles_organigrama: this.detallesOrganigrama.map(function (e) { return e.dataInterface(); }),
|
|
9595
9642
|
detalles_nomina: this.detallesNomina.map(function (e) { return e.dataInterface(); }),
|
|
9596
9643
|
};
|