ソースを参照

admin event test

ali 2 年 前
親
コミット
b6e32cd3f8

+ 0 - 15
src/components/Widgets/Classroom/AdminClassroomShow/components/TestList.vue

@@ -160,26 +160,11 @@ export default {
       return 'Admin.Classroom.Session.AttendanceSheetList'
     }
   },
-  created() {
-    this.setInputs()
-  },
   mounted () {
     this.setClassroomTypeOfInputs()
     this.mounted = true
   },
   methods: {
-    setInputs () {
-      if (this.classroomType === 'TRAINING') {
-        this.testListInputs = [
-          { type: 'hidden', name: 'classroom', value: this.classroomId }
-        ]
-      }
-      if (this.classroomType === 'EVENT') {
-        this.testListInputs = [
-          { type: 'hidden', name: 'event', value: this.classroomId }
-        ]
-      }
-    },
     setClassroomTypeOfInputs () {
       if (this.classroomType === 'TRAINING') {
         this.listTitle = 'لیست آزمون ها'