iptdevs-design-system 3.1.328 → 3.1.329
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/steps/cod-form-step-one/cod-form-step-one.component.mjs +15 -2
- package/fesm2015/iptdevs-design-system.mjs +15 -1
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +14 -1
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/cod/steps/cod-form-step-one/cod-form-step-one.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3182,14 +3182,16 @@ class CodFormStepOneComponent extends CodFormSteps {
|
|
|
3182
3182
|
this.isDisabledSel = false;
|
|
3183
3183
|
}
|
|
3184
3184
|
if (this.isDisabledSel) {
|
|
3185
|
+
console.log('entreaqui1', this.dataPreviusCodData);
|
|
3185
3186
|
this.disableFormControls();
|
|
3186
3187
|
}
|
|
3187
3188
|
// Forzar detección de cambios
|
|
3188
3189
|
this.cdRef.detectChanges();
|
|
3189
3190
|
}
|
|
3190
3191
|
else if (changes['dataPreviusCodData'] && this.dataPreviusCodData != null && !this.isEditCod && this.dataPreviusCodData.cod_renovation && this.courseSelectRenovation) {
|
|
3191
|
-
console.log('llegue
|
|
3192
|
+
console.log('llegue aqui2');
|
|
3192
3193
|
console.log(this.courseSelectRenovation);
|
|
3194
|
+
this.setDataCodRenovationSelect();
|
|
3193
3195
|
}
|
|
3194
3196
|
}
|
|
3195
3197
|
disableFormControls() {
|
|
@@ -3235,6 +3237,17 @@ class CodFormStepOneComponent extends CodFormSteps {
|
|
|
3235
3237
|
this.codFormStepOne.controls['availible_courses'].setValue(this.dataPreviusCodData.course.code);
|
|
3236
3238
|
this.codFormStepOne.controls['course_modality'].setValue(this.dataPreviusCodData.course.course_modality);
|
|
3237
3239
|
}
|
|
3240
|
+
setDataCodRenovationSelect() {
|
|
3241
|
+
this.getAgreementByPlan(this.courseSelectRenovation.course_type?.academic_plan.code);
|
|
3242
|
+
this.getCourseType(this.courseSelectRenovation.course_type?.academic_plan.code);
|
|
3243
|
+
this.codFormStepOne.controls['academic_plan'].setValue(this.courseSelectRenovation.course_type?.academic_plan.code);
|
|
3244
|
+
this.codFormStepOne.controls['course_type'].setValue(this.courseSelectRenovation.course_type?.code);
|
|
3245
|
+
this.codFormStepOne.controls['agreement_by_category'].setValue(this.courseSelectRenovation.agreement?.code);
|
|
3246
|
+
this.codFormStepOne.controls['english_level'].setValue(this.courseSelectRenovation.english_level?.code);
|
|
3247
|
+
this.codFormStepOne.controls['availible_courses'].setValue(this.courseSelectRenovation?.code);
|
|
3248
|
+
this.codFormStepOne.controls['course_modality'].setValue(this.courseSelectRenovation.course_modality?.code);
|
|
3249
|
+
this.getAvailibleCourses();
|
|
3250
|
+
}
|
|
3238
3251
|
startLocalStorageWork() {
|
|
3239
3252
|
this.controls.forEach(control => {
|
|
3240
3253
|
let localStorageValue = this.readAndWriteLS(1, control.name);
|