Commit 7281a47c4917fef34ee8a20fd9ae7458c90a865a

Authored by Shikha Mishra
1 parent 8e9ce24f1b

show class name and added view method in exam module

src/pages/Exam/examAttendence.vue
... ... @@ -443,7 +443,7 @@ export default {
443 443 this.color = "success";
444 444 this.text = "Successfully created exam attendence";
445 445 this.addExamAttendenceDialog = false;
446   - this.getExamAttendenceList();
  446 + // this.getExamAttendenceList();
447 447 })
448 448 .catch(error => {
449 449 this.snackbar = true;
... ...
src/pages/Exam/examSchedule.vue
... ... @@ -356,7 +356,7 @@
356 356 <td class="td td-row text-xs-center">{{ dates(props.item.date) }}</td>
357 357 <td class="td td-row text-xs-center">{{ props.item.timeFrom }} - {{ props.item.timeTo }}</td>
358 358 <td class="td td-row text-xs-center">{{ props.item.room }}</td>
359   - <td class="td td-row text-xs-center" v-if="role != 'TEACHER'">
  359 + <td class="td td-row text-xs-center">
360 360 <span>
361 361 <v-tooltip top >
362 362 <img
... ... @@ -368,7 +368,7 @@
368 368 />
369 369 <span>View</span>
370 370 </v-tooltip>
371   - <v-tooltip top>
  371 + <v-tooltip top v-if="role != 'TEACHER' ">
372 372 <img
373 373 slot="activator"
374 374 style="cursor:pointer; width:20px; height:18px; "
... ... @@ -378,7 +378,7 @@
378 378 />
379 379 <span>Edit</span>
380 380 </v-tooltip>
381   - <v-tooltip top>
  381 + <v-tooltip top v-if="role != 'TEACHER' ">
382 382 <img
383 383 slot="activator"
384 384 style="cursor:pointer; width:20px; height:20px; "
... ...
src/pages/Library/eBook.vue
... ... @@ -100,7 +100,7 @@
100 100 </v-flex>
101 101 <v-flex xs8 class="ml-3">
102 102 <v-text-field
103   - v-model="editedItem.classId"
  103 + v-model="editedItem.classId.classNum"
104 104 placeholder="fill your full class"
105 105 name="classNum"
106 106 type="_id"
... ... @@ -168,7 +168,7 @@
168 168 </h5>
169 169 </v-flex>
170 170 <v-flex sm6 xs6>
171   - <h5 class="my-1 left">{{ editedItem.classId }}</h5>
  171 + <h5 class="my-1 left">{{ editedItem.classId .classNum}}</h5>
172 172 </v-flex>
173 173 </v-layout>
174 174 </v-flex>
... ... @@ -610,6 +610,7 @@ export default {
610 610 this.getEBooksList = [];
611 611 this.snackbar = true;
612 612 this.addEBookDialog = false;
  613 + this.getEBooksList()
613 614 this.text = response.data.message;
614 615 this.color = "green";
615 616 this.loading = false;
... ...