iptdevs-design-system 3.1.119 → 3.1.121
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/esm2020/lib/cod/cod-form/cod-form.component.mjs +1 -4
- package/esm2020/lib/cod/modal-referred/modal-referred.component.mjs +24 -23
- package/esm2020/lib/cod/steps/cod-form-step-five/cod-form-step-five.component.mjs +1 -3
- package/esm2020/lib/components/forms/create-user-form/create-user-form.component.mjs +1 -2
- package/fesm2015/iptdevs-design-system.mjs +23 -28
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +23 -28
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/cod/modal-referred/modal-referred.component.d.ts +0 -1
- package/package.json +1 -1
|
@@ -1518,7 +1518,6 @@ class CreateUserFormComponent {
|
|
|
1518
1518
|
password: this.createUserForm.controls['password'].value,
|
|
1519
1519
|
};
|
|
1520
1520
|
this.userService.registerDashboard(request).subscribe((response) => {
|
|
1521
|
-
console.log(response.message);
|
|
1522
1521
|
switch (response.message.code) {
|
|
1523
1522
|
case 1:
|
|
1524
1523
|
this.userCreated.emit(true);
|
|
@@ -4092,28 +4091,29 @@ class ModalReferredComponent {
|
|
|
4092
4091
|
token: this.baseService.getUserToken(),
|
|
4093
4092
|
param: form.value.searchUser,
|
|
4094
4093
|
};
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
}
|
|
4110
|
-
}
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
|
|
4094
|
+
if (form) {
|
|
4095
|
+
this.userService.getStudent(request).subscribe((response) => {
|
|
4096
|
+
if (response.data == null) {
|
|
4097
|
+
this.userExists = false;
|
|
4098
|
+
Swal.fire({
|
|
4099
|
+
title: 'Oops...',
|
|
4100
|
+
text: 'No hay usuarios con los parámetros ingresados',
|
|
4101
|
+
icon: 'error',
|
|
4102
|
+
});
|
|
4103
|
+
}
|
|
4104
|
+
else {
|
|
4105
|
+
this.userExists = true;
|
|
4106
|
+
this.allUsers = response.data;
|
|
4107
|
+
}
|
|
4108
|
+
});
|
|
4109
|
+
}
|
|
4110
|
+
else {
|
|
4111
|
+
Swal.fire({
|
|
4112
|
+
title: 'Oops...',
|
|
4113
|
+
text: 'Debe digitar un parámetro para realizar la búsqueda',
|
|
4114
|
+
icon: 'info',
|
|
4115
|
+
});
|
|
4116
|
+
}
|
|
4117
4117
|
}
|
|
4118
4118
|
}
|
|
4119
4119
|
ModalReferredComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: ModalReferredComponent, deps: [{ token: i1$1.FormBuilder }, { token: BaseService }, { token: UserService }], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -4276,8 +4276,6 @@ class CodFormStepFiveComponent extends CodFormSteps {
|
|
|
4276
4276
|
this.codFormStepFive.reset();
|
|
4277
4277
|
}
|
|
4278
4278
|
referredUser(data) {
|
|
4279
|
-
console.log('step5');
|
|
4280
|
-
console.log(data);
|
|
4281
4279
|
this.modalVisible = false;
|
|
4282
4280
|
if (data) {
|
|
4283
4281
|
this.visbleReferred = true;
|
|
@@ -4427,9 +4425,7 @@ class CodFormComponent {
|
|
|
4427
4425
|
createCOD(totalData) {
|
|
4428
4426
|
this.isLoading = true;
|
|
4429
4427
|
this.loaderMessage = 'Creando COD, espere un momento';
|
|
4430
|
-
console.log('totaldata', totalData);
|
|
4431
4428
|
let request = this.getCreateCOD(totalData);
|
|
4432
|
-
console.log(request);
|
|
4433
4429
|
this.commercialService.createCOD(request).subscribe({
|
|
4434
4430
|
next: (response) => {
|
|
4435
4431
|
if (response.message.code === 1) {
|
|
@@ -4513,7 +4509,6 @@ class CodFormComponent {
|
|
|
4513
4509
|
academic_plan: data.filter(data => data.control === 'academic_plan')[0].value,
|
|
4514
4510
|
code_refers: data.filter(data => data.control === 'code_refers')[0].value,
|
|
4515
4511
|
};
|
|
4516
|
-
console.log(request);
|
|
4517
4512
|
return request;
|
|
4518
4513
|
}
|
|
4519
4514
|
changeStep(step) {
|