Ver Fonte

attendance_score

hgh há 1 ano atrás
pai
commit
29f237e996

+ 2 - 1
src/models/SessionAttendanceSheets.js

@@ -36,7 +36,8 @@ class SessionAttendanceSheets extends Model {
       { key: 'session' },
       { key: 'session_info' },
       { key: 'assignment_status' },
-      { key: 'creation_time' }
+      { key: 'creation_time' },
+      { key: 'attendance_score' }
     ], {
       status: {
         infoKey: 'is_answer_verified_info',

+ 7 - 0
src/pages/User/Profile/classroomInfo.vue

@@ -589,6 +589,13 @@ export default {
             align: 'left',
             field: row => (new SessionAttendanceSheets(this.getCurrentUserAttendanceSheet(row))).attendance_status_info.label
           },
+          {
+            name: 'attendance_score',
+            required: true,
+            label: 'نمره حضور و غیاب',
+            align: 'left',
+            field: row => (new SessionAttendanceSheets(this.getCurrentUserAttendanceSheet(row))).attendance_score
+          },
           {
             name: 'action',
             required: true,