Parcourir la source

DiscussionCircles update

ali il y a 3 ans
Parent
commit
4e6a4a4d1f
1 fichiers modifiés avec 3 ajouts et 19 suppressions
  1. 3 19
      src/pages/Admin/DiscussionCirclesClassroom/index.vue

+ 3 - 19
src/pages/Admin/DiscussionCirclesClassroom/index.vue

@@ -67,26 +67,10 @@ export default {
     return {
       mounted: false,
       inputs: [
-        {
-          type: 'select',
-          name: 'status',
-          options: Enums.classroomStatuses,
-          value: null,
-          label: 'وضعیت دوره',
-          placeholder: ' ',
-          col: 'col-md-2 col-12'
-        },
-        {
-          type: 'select',
-          name: 'unit',
-          options: [],
-          value: null,
-          label: 'درس',
-          placeholder: ' ',
-          col: 'col-md-2 col-12'
-        },
+        { type: 'select', name: 'status', options: Enums.classroomStatuses, value: null, label: 'وضعیت دوره', placeholder: ' ', col: 'col-md-2 col-12' },
+        { type: 'select', name: 'unit', options: [], value: null, label: 'درس', placeholder: ' ', col: 'col-md-2 col-12' },
         { type: 'hidden', name: 'type', value: 'DISCUSSION_CIRCLE' },
-        { type: 'unit__category__type', name: 'type', value: 'DISCUSSION_CIRCLE' },
+        { type: 'hidden', name: 'unit__category__type', value: 'DISCUSSION_CIRCLE' },
         { type: BtnControlComp, name: 'btn', label: 'جستجو', placeholder: ' ', atClick: () => {}, col: 'col-md-2 col-12' }
       ],
       api: APIGateway.classroom.APIAdresses.base,