Commit 2f9211c744c71f2b3e11f3b9cc282e4cb30b68b4
1 parent
337068e6f5
Exists in
master
and in
2 other branches
done one round of testing and solved bugs
Showing
7 changed files
with
17 additions
and
7 deletions
Show diff stats
src/pages/Administrator/academicYear.vue
src/pages/Attendence/teacherAttendence.vue
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
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) => { | ... | ... |