sigesp 0.8.81-20220511 → 0.8.84-20220512

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.
@@ -4134,6 +4134,9 @@
4134
4134
  _this.prenomina = false;
4135
4135
  _this.editables = false;
4136
4136
  _this.calculada = false;
4137
+ _this.idOrganigrama = 0;
4138
+ _this.codigoEstructuraOrganizativa = '';
4139
+ _this.denominacionEstructuraOrganizativa = '';
4137
4140
  if (e) {
4138
4141
  _this.idEmpresa = parseInt(e.id_empresa);
4139
4142
  _this.idNomina = parseInt(e.id_nomina);
@@ -4147,6 +4150,9 @@
4147
4150
  _this.estatus = _this.calculada ? 'Calculada' :
4148
4151
  !_this.calculada && _this.prenomina ? 'Pre-Calculada' : 'Sin Calcular';
4149
4152
  _this.editables = (_this.calculada || _this.prenomina) ? false : true;
4153
+ _this.idOrganigrama = +e.id_organigrama;
4154
+ _this.codigoEstructuraOrganizativa = e.codestorg;
4155
+ _this.denominacionEstructuraOrganizativa = e.denestorg;
4150
4156
  }
4151
4157
  else {
4152
4158
  _this.isNew = true;
@@ -4193,6 +4199,8 @@
4193
4199
  _this.idOrganigrama = 0;
4194
4200
  _this.codigoEstructuraOrganizativa = '';
4195
4201
  _this.denominacionEstructuraOrganizativa = '';
4202
+ _this.idPersonal = 0;
4203
+ _this.idPersonalNomina = 0;
4196
4204
  if (e) {
4197
4205
  _this.idEmpresa = parseInt(e.id_empresa);
4198
4206
  _this.idNomina = parseInt(e.id_nomina);
@@ -4223,6 +4231,8 @@
4223
4231
  _this.idOrganigrama = +e.id_organigrama;
4224
4232
  _this.codigoEstructuraOrganizativa = e.codestorg;
4225
4233
  _this.denominacionEstructuraOrganizativa = e.denestorg;
4234
+ _this.idPersonal = +e.id_personal;
4235
+ _this.idPersonalNomina = +e.id_personalnomina;
4226
4236
  }
4227
4237
  else {
4228
4238
  _this.isNew = true;
@@ -4234,6 +4244,8 @@
4234
4244
  id_empresa: this.idEmpresa.toString(),
4235
4245
  id_nomina: this.idNomina.toString(),
4236
4246
  id_carper: this.idCargo.toString(),
4247
+ id_personal: this.idPersonal.toString(),
4248
+ id_personalnomina: this.idPersonalNomina.toString(),
4237
4249
  };
4238
4250
  };
4239
4251
  return MNominaSimple;
@@ -7885,7 +7897,6 @@
7885
7897
  _this.montoCompensacionGrado = 0;
7886
7898
  _this.estatusMPPPE = false;
7887
7899
  _this.detallesOrganigrama = [];
7888
- _this.organigramaEliminar = [];
7889
7900
  _this.detallesNomina = [];
7890
7901
  if (p) {
7891
7902
  _this.idPersonal = parseInt(p.id_personal);
@@ -7933,7 +7944,7 @@
7933
7944
  id_ubifis: this.idUbicacionFisica.toString(),
7934
7945
  id_personalcargo: this.idPersonalCargo.toString(),
7935
7946
  detalles_organigrama: this.detallesOrganigrama.map(function (e) { return e.dataInterface(); }),
7936
- eliminar_organigrama: this.organigramaEliminar,
7947
+ detalles_nomina: this.detallesNomina.map(function (e) { return e.dataInterface(); }),
7937
7948
  };
7938
7949
  };
7939
7950
  return MCargosPersonal;