mario-education 2.4.418-release → 2.4.419-release
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/dist/index.js
CHANGED
|
@@ -31205,7 +31205,7 @@ var getSessionExportCsvApi = function getSessionExportCsvApi(filters) {
|
|
|
31205
31205
|
params: filters
|
|
31206
31206
|
});
|
|
31207
31207
|
};
|
|
31208
|
-
var getStudentQuestionSkillApi = function getStudentQuestionSkillApi(idStudent, startDate, endDate, gradeFilter, roles, academicYearId, optionDate) {
|
|
31208
|
+
var getStudentQuestionSkillApi = function getStudentQuestionSkillApi(idStudent, startDate, endDate, gradeFilter, roles, academicYearId, optionDate, teacherId) {
|
|
31209
31209
|
return marioCore.api.get(marioCore.BASE_URL + "/api/Report/student-skill-question", {
|
|
31210
31210
|
params: {
|
|
31211
31211
|
studentId: idStudent,
|
|
@@ -31214,7 +31214,8 @@ var getStudentQuestionSkillApi = function getStudentQuestionSkillApi(idStudent,
|
|
|
31214
31214
|
grade: gradeFilter,
|
|
31215
31215
|
roles: roles,
|
|
31216
31216
|
academicYearId: academicYearId,
|
|
31217
|
-
optionDate: optionDate
|
|
31217
|
+
optionDate: optionDate,
|
|
31218
|
+
teacherId: teacherId
|
|
31218
31219
|
}
|
|
31219
31220
|
});
|
|
31220
31221
|
};
|
|
@@ -31711,7 +31712,7 @@ var useDashboard = function useDashboard() {
|
|
|
31711
31712
|
dispatch(marioCore.setLoading(true));
|
|
31712
31713
|
|
|
31713
31714
|
var _temp14 = _catch(function () {
|
|
31714
|
-
return Promise.resolve(getStudentQuestionSkillApi(filter.studentId, filter.startDate, filter.endDate, filter.grade || [], roles, filter.academicYearId, filter.optionDate)).then(function (res) {
|
|
31715
|
+
return Promise.resolve(getStudentQuestionSkillApi(filter.studentId, filter.startDate, filter.endDate, filter.grade || [], roles, filter.academicYearId, filter.optionDate, filter.teacherId)).then(function (res) {
|
|
31715
31716
|
setStudentSkillQuestion(res.data);
|
|
31716
31717
|
});
|
|
31717
31718
|
}, function (err) {
|