Commit 2f9211c744c71f2b3e11f3b9cc282e4cb30b68b4

Authored by Shikha Mishra
1 parent 337068e6f5

done one round of testing and solved bugs

src/pages/Administrator/academicYear.vue
... ... @@ -566,7 +566,6 @@ export default {
566 566 },
567 567 closeAddAcademicYearModel() {
568 568 this.addAcademicYearDialog = false;
569   - this.getAcademicYearList = [];
570 569 this.addAcademicYear = [];
571 570 },
572 571 submit() {
... ...
src/pages/Attendence/teacherAttendence.vue
... ... @@ -274,7 +274,7 @@ export default {
274 274 },
275 275 addTeacherAttendenceDialog: function (val) {
276 276 if (!val) {
277   - this.teachersData = [];
  277 + // this.teachersData = [];
278 278 this.date = null;
279 279 this.menu = false;
280 280 }
... ...
src/pages/Authentication/Login.vue
... ... @@ -107,7 +107,7 @@ export default {
107 107 remember: false,
108 108 valid: false,
109 109 userLogincredentials: {},
110   - nameRules: [(v) => !!v || "Username is required"],
  110 + nameRules: [(v) => !!v || "Field is required"],
111 111 password: "",
112 112 email: "",
113 113 rules: {
... ...
src/pages/Library/eBook.vue
... ... @@ -682,7 +682,7 @@ export default {
682 682 },
683 683 closeAddEBookModel() {
684 684 this.addEBookDialog = false;
685   - this.eBookData = [];
  685 + // this.eBookData = [];
686 686 this.addEBooks = [];
687 687 this.imageName = "";
688 688 this.fileName = "";
... ...
src/pages/Library/member.vue
... ... @@ -15,7 +15,7 @@
15 15 <v-card>
16 16 <v-toolbar dark class="card-styles" flat>
17 17 <v-spacer></v-spacer>
18   - <v-toolbar-title>Student Profile</v-toolbar-title>
  18 + <v-toolbar-title>View Student Profile</v-toolbar-title>
19 19 <v-spacer></v-spacer>
20 20 <v-icon @click="closeViewStudent">close</v-icon>
21 21 </v-toolbar>
... ... @@ -424,7 +424,7 @@
424 424 <v-card flat class="card-style pa-2" dark>
425 425 <v-layout>
426 426 <v-flex xs12>
427   - <label class="title text-xs-center">Library Member</label>
  427 + <label class="title text-xs-center">Add Library Member</label>
428 428 <v-icon size="24" class="right" @click="closeAddLibraryModel">cancel</v-icon>
429 429 </v-flex>
430 430 </v-layout>
... ...
src/pages/Teachers/teachers.vue
... ... @@ -1052,7 +1052,9 @@ export default {
1052 1052 },
1053 1053 addTeacherDialog: function (val) {
1054 1054 if (!val) {
1055   - this.addTeachers = [];
  1055 + this.addTeachers = {
  1056 + role: "TEACHER",
  1057 + };
1056 1058 this.imageName = "";
1057 1059 this.imageFile = "";
1058 1060 this.imageUrl = "";
... ...
src/pages/TimeTable/timeTable.vue
... ... @@ -1037,6 +1037,7 @@ export default {
1037 1037 menu5: false,
1038 1038 menu6: false,
1039 1039 scheduleDayId: "",
  1040 + showData: false,
1040 1041 }),
1041 1042 watch: {
1042 1043 addTimeTableDialog: function (val) {
... ... @@ -1057,6 +1058,14 @@ export default {
1057 1058 })
1058 1059 .then((response) => {
1059 1060 this.desserts = response.data.data;
  1061 + if (this.desserts.length === 0) {
  1062 + this.showLoader = false;
  1063 + this.snackbar = true;
  1064 + this.text = "Data not found!";
  1065 + this.color = "error";
  1066 + return;
  1067 + }
  1068 + this.showData = true;
1060 1069 this.loadingFindData = false;
1061 1070 })
1062 1071 .catch((error) => {
... ...