diff --git a/src/pages/Authentication/Login.vue b/src/pages/Authentication/Login.vue index ef34c71..2908994 100644 --- a/src/pages/Authentication/Login.vue +++ b/src/pages/Authentication/Login.vue @@ -12,22 +12,22 @@ >{{ text }} - + +

School-Management

-
+ --> - SCHOOL LOGIN + SCHOOL LOGIN diff --git a/src/pages/Exam/examSchedule.vue b/src/pages/Exam/examSchedule.vue index 68e3d04..ee83c90 100644 --- a/src/pages/Exam/examSchedule.vue +++ b/src/pages/Exam/examSchedule.vue @@ -184,7 +184,7 @@ - Save + Save
@@ -843,7 +843,7 @@ export default { this.disable = false; this.loading = false; }, - save() { + update() { this.editedItem.scheduleId = this.editedItem._id; http() .put("/updateSchedule", this.editedItem) diff --git a/src/pages/Mark/markDistribution.vue b/src/pages/Mark/markDistribution.vue index 00ff0a4..68e6cc6 100644 --- a/src/pages/Mark/markDistribution.vue +++ b/src/pages/Mark/markDistribution.vue @@ -318,11 +318,15 @@ export default { .then(response => { this.snackbar = true; this.text = "Successfully Edit Notification"; + this.color = "green"; this.getMarkDistributions(); this.close(); }) .catch(error => { console.log(error); + this.snackbar = true; + this.text = error.response.data.message; + this.color = "red"; }); }, displaySearch() {