iptdevs-design-system 3.1.59 → 3.1.61
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/components/forms/create-user-form/create-user-form.component.mjs +7 -7
- package/esm2020/lib/core/models/cod/cod-rq.model.mjs +1 -1
- package/esm2020/lib/core/services/academic-service/academic.service.mjs +6 -1
- package/fesm2015/iptdevs-design-system.mjs +11 -6
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +11 -6
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/cod/cod-rq.model.d.ts +5 -0
- package/lib/core/services/academic-service/academic.service.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1588,17 +1588,17 @@ class CreateUserFormComponent {
|
|
|
1588
1588
|
}
|
|
1589
1589
|
setPhoto(type) {
|
|
1590
1590
|
if (type === 'student')
|
|
1591
|
-
this.photo = '
|
|
1591
|
+
this.photo = '/platform/academic/assets/student.jpg';
|
|
1592
1592
|
if (type === 'academic')
|
|
1593
|
-
this.photo = '
|
|
1593
|
+
this.photo = '/platform/academic/assets/academico.png';
|
|
1594
1594
|
if (type === 'administrative')
|
|
1595
|
-
this.photo = '
|
|
1595
|
+
this.photo = '/platform/administrative/assets/administrativo.jpg';
|
|
1596
1596
|
if (type === 'marketing')
|
|
1597
|
-
this.photo = '
|
|
1597
|
+
this.photo = '/platform/marketing/assets//marketing.jpg';
|
|
1598
1598
|
if (type === 'commercial')
|
|
1599
|
-
this.photo = '
|
|
1599
|
+
this.photo = '/platform/commercial/assets/user-form-assets/comercial.jpg';
|
|
1600
1600
|
if (type === 'treasure')
|
|
1601
|
-
this.photo = '
|
|
1601
|
+
this.photo = '/platform/treasure/assets/administrativo.jpg';
|
|
1602
1602
|
}
|
|
1603
1603
|
selectRol(role) {
|
|
1604
1604
|
if (role !== 'Seleccione el rol') {
|
|
@@ -4969,6 +4969,11 @@ class AcademicService extends IPTGeneralService {
|
|
|
4969
4969
|
this.generateRequestParams(params);
|
|
4970
4970
|
return this.http.post(serviceUrl, this.httpOptions);
|
|
4971
4971
|
}
|
|
4972
|
+
getCodByStudentAndCourse(params) {
|
|
4973
|
+
let serviceUrl = this.SERVICE_URL + 'post/obtain/cod/by/student/and/course';
|
|
4974
|
+
this.generateRequestParams(params);
|
|
4975
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
4976
|
+
}
|
|
4972
4977
|
}
|
|
4973
4978
|
AcademicService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: AcademicService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4974
4979
|
AcademicService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: AcademicService, providedIn: 'root' });
|