diff --git a/src/api/menu.js b/src/api/menu.js
index 7149656..bf1a715 100644
--- a/src/api/menu.js
+++ b/src/api/menu.js
@@ -218,7 +218,7 @@ const schoolMenu = [
{
title: 'Dashboard',
// group: 'apps',
- name: 'Dashboard',
+ name: 'View School Dashboard',
icon: '/static/icon/dashboard.png',
},
{
diff --git a/src/pages/Authentication/Login.vue b/src/pages/Authentication/Login.vue
index bd90457..7578119 100644
--- a/src/pages/Authentication/Login.vue
+++ b/src/pages/Authentication/Login.vue
@@ -126,7 +126,7 @@ export default {
} else if (response.data.data.role === "SUPERADMIN") {
this.$store.dispatch("setSchoolRole", response.data.data.role);
this.$store.dispatch("setSchoolToken", response.data.data.token);
- this.$router.push("/dashboard");
+ this.$router.push("/schooldashboard");
} else if (response.data.data.role === "LIBRARIAN") {
this.$store.dispatch("setToken", response.data.data.token);
this.$store.dispatch("Id", response.data.data.id);
@@ -157,9 +157,9 @@ export default {
if (this.$store.state.isUserLoggedIn == true) {
this.$router.push("/dashboard");
}
- else if (this.$store.state.isSchoolLoggedIn == true) {
- this.$router.push("/dashboard");
- }
+ // else if (this.$store.state.isSchoolLoggedIn == true) {
+ // this.$router.push("/dashboard");
+ // }
},
computed: {
color() {
diff --git a/src/pages/Mark/mark.vue b/src/pages/Mark/mark.vue
index 297bb93..02425ba 100644
--- a/src/pages/Mark/mark.vue
+++ b/src/pages/Mark/mark.vue
@@ -536,9 +536,13 @@ export default {
for (var j = 0; j < response.data.data.length; j++) {
this.getStudentData[n].marksObtained.push({
markDistributionId: response.data.data[j]._id,
- marksScored: 0
+ marksScored: ""
});
}
+ // if (marks.marksScored > marks.marksObtained) {
+ // this.getStudentData[n].marksScored = this.getStudentData[n].marksObtained;
+ // this.marks.marksScored = marks.marksObtained;
+ // }
}
})
.catch(error => {
@@ -575,6 +579,10 @@ export default {
this.text = error.response.data.message;
this.color = "red";
});
+ // if (data.marksScored > data.marksObtained) {
+ // this.getStudentData[j].marksScored = this.getStudentData[j].marksObtained;
+ // this.data.marksScored = data.marksObtained;
+ // }
}
},
getStudents() {
diff --git a/src/pages/Mark/viewMark.vue b/src/pages/Mark/viewMark.vue
index bde2ead..eda86ce 100644
--- a/src/pages/Mark/viewMark.vue
+++ b/src/pages/Mark/viewMark.vue
@@ -60,7 +60,7 @@
border-collapse: collapse;!important
table-layout: auto !important;
width: 100% !important;
- "
+ overflow: hidden;"
>
@@ -74,7 +74,7 @@
v-for="studentMark in studentData.studentsMarks"
style="border: 1px solid lightgrey !important;padding: 10px;"
>{{studentMark.markDistributionId.distributionType}}
-
Total
+ Total Marks
-
Mark
- Highest Mark
+ Marks
+ Highest Marks
- Mark
+
{{ userData.name }}
-{{ userData.address }}
-{{ value[0].studentId.name }}
-Class : {{ value[0].classId.classNum }}
-Section : {{ value[0].sectionId.name }}
-Roll NO : {{ value[0].studentId.rollNo }}
+{{ userData.name }}
+{{ userData.address }}
+{{ value[0].studentId.name }}
+Class : {{ value[0].classId.classNum }}
+Section : {{ value[0].sectionId.name }}
+Roll NO : {{ value[0].studentId.rollNo }}
+Fees
+Collection
+Expences
++ {{ userData.name }} +
+{{ userData.email }}
+{{ userData.mobile }}
+ {{ userData.address }}