iptdevs-design-system 3.1.18 → 3.1.20
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/core/models/cod/cod-rq.model.mjs +1 -1
- package/esm2020/lib/core/models/notes/notes.interface.mjs +1 -1
- package/esm2020/lib/core/services/academic-service/academic.service.mjs +6 -1
- package/esm2020/lib/core/services/notes-service/notes.service.mjs +6 -1
- package/fesm2015/iptdevs-design-system.mjs +10 -0
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +10 -0
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/cod/cod-rq.model.d.ts +17 -0
- package/lib/core/models/notes/notes.interface.d.ts +29 -0
- package/lib/core/services/academic-service/academic.service.d.ts +1 -0
- package/lib/core/services/notes-service/notes.service.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { MessageRq } from "../attendance/attendance.interface";
|
|
1
2
|
export interface CodRq {
|
|
2
3
|
course: CourseInformationCOD;
|
|
3
4
|
student: StudentCOD;
|
|
@@ -279,3 +280,19 @@ export interface GetCodByCourseRq {
|
|
|
279
280
|
token: string;
|
|
280
281
|
course: number;
|
|
281
282
|
}
|
|
283
|
+
export interface IAllDataStudentByTeacherRq {
|
|
284
|
+
ip_applicant: string;
|
|
285
|
+
status: number;
|
|
286
|
+
message: MessageRq;
|
|
287
|
+
data: RsDataStudentByTeacherRq[];
|
|
288
|
+
}
|
|
289
|
+
export interface RsDataStudentByTeacherRq {
|
|
290
|
+
student: Student2Rq;
|
|
291
|
+
code: number;
|
|
292
|
+
course: CourseRq;
|
|
293
|
+
course_type: string;
|
|
294
|
+
english_level: string;
|
|
295
|
+
agreement: string;
|
|
296
|
+
cod_status: CodStatusRq;
|
|
297
|
+
adviser: string;
|
|
298
|
+
}
|
|
@@ -171,3 +171,32 @@ export interface INotesByUCourseAndStudentRq {
|
|
|
171
171
|
course_code: number;
|
|
172
172
|
student_code: number;
|
|
173
173
|
}
|
|
174
|
+
export interface IServiceUpdateNoteRq {
|
|
175
|
+
token: string;
|
|
176
|
+
note_type: INoteTypeStudentRq;
|
|
177
|
+
notes: INote[];
|
|
178
|
+
student: IStudentResum;
|
|
179
|
+
}
|
|
180
|
+
export interface INote {
|
|
181
|
+
note_code: string;
|
|
182
|
+
note_value: string;
|
|
183
|
+
observation: string;
|
|
184
|
+
}
|
|
185
|
+
export interface IStudentResum {
|
|
186
|
+
code: number;
|
|
187
|
+
name: string;
|
|
188
|
+
}
|
|
189
|
+
export interface RsSaveChangesNoteRq {
|
|
190
|
+
ip_applicant: string;
|
|
191
|
+
status: number;
|
|
192
|
+
message: MessageDataRq;
|
|
193
|
+
data: NoteValue[];
|
|
194
|
+
}
|
|
195
|
+
export interface INewNotesScoreRq {
|
|
196
|
+
writing_reading: NoteValue[];
|
|
197
|
+
speaking_listening: NoteValue[];
|
|
198
|
+
actitude_participation: NoteValue[];
|
|
199
|
+
final_test_oral: NoteValue[];
|
|
200
|
+
final_test_written: NoteValue[];
|
|
201
|
+
hab?: NoteValue[];
|
|
202
|
+
}
|
|
@@ -17,6 +17,7 @@ export declare class AcademicService extends IPTGeneralService {
|
|
|
17
17
|
getStudentByTeacher(params: GetStudentByTeacherRq): Observable<any>;
|
|
18
18
|
getAllStudentByTeacher(params: GetAllStudentByTeacherRq): Observable<any>;
|
|
19
19
|
getAllStudentByCourse(params: GetStudentsByCourseRq): Observable<any>;
|
|
20
|
+
obtainStudentsByTeacher(params: GetStudentByTeacherRq): Observable<any>;
|
|
20
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<AcademicService, never>;
|
|
21
22
|
static ɵprov: i0.ɵɵInjectableDeclaration<AcademicService>;
|
|
22
23
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { GetNotesByGroupRq, GetNotesByStudentRq, INotesByUCourseAndStudentRq, IServiceCreateNewNoteRq, UpdateStudentNoteRq, calculateFinalNoteRq } from '../../models/notes/notes.interface';
|
|
2
|
+
import { GetNotesByGroupRq, GetNotesByStudentRq, INotesByUCourseAndStudentRq, IServiceCreateNewNoteRq, IServiceUpdateNoteRq, UpdateStudentNoteRq, calculateFinalNoteRq } from '../../models/notes/notes.interface';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { Response } from '../../models/response/response.interface';
|
|
5
5
|
import { IPTGeneralService } from '../service-enviroments';
|
|
@@ -14,6 +14,7 @@ export declare class NotesService extends IPTGeneralService {
|
|
|
14
14
|
updateStudentNote(params: UpdateStudentNoteRq): Observable<Response>;
|
|
15
15
|
calculateFinalNote(params: calculateFinalNoteRq): Observable<Response>;
|
|
16
16
|
getNotesByUserCourseStudent(params: INotesByUCourseAndStudentRq): Observable<Response>;
|
|
17
|
+
updateNoteByTypeAndStudent(params: IServiceUpdateNoteRq): Observable<Response>;
|
|
17
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<NotesService, never>;
|
|
18
19
|
static ɵprov: i0.ɵɵInjectableDeclaration<NotesService>;
|
|
19
20
|
}
|