From e8965626ff9107d062a6e4561ae04e1d7bbba7c7 Mon Sep 17 00:00:00 2001 From: shikha Date: Thu, 14 May 2020 12:17:46 +0530 Subject: [PATCH] set login design and issues solve in other pages --- src/pages/Authentication/Login.vue | 10 +++++----- src/pages/Exam/examSchedule.vue | 4 ++-- src/pages/Mark/markDistribution.vue | 4 ++++ 3 files changed, 11 insertions(+), 7 deletions(-) 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() { -- 2.0.0