hgh 1 год назад
Родитель
Сommit
29f237e996
2 измененных файлов с 9 добавлено и 1 удалено
  1. 2 1
      src/models/SessionAttendanceSheets.js
  2. 7 0
      src/pages/User/Profile/classroomInfo.vue

+ 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,