From 3e79b2f9fa89ee8e02bc29c53cf1d71217afb635 Mon Sep 17 00:00:00 2001 From: Neeraj Sharma Date: Mon, 11 May 2020 09:54:01 +0530 Subject: [PATCH] implement functionality --- src/pages/Account/invoice.vue | 81 +++-- src/pages/Account/paymentTemplate.vue | 602 ++++++++++++++++++++++++++++++++ src/pages/Report/progressCardReport.vue | 224 ++++++++---- 3 files changed, 792 insertions(+), 115 deletions(-) create mode 100644 src/pages/Account/paymentTemplate.vue diff --git a/src/pages/Account/invoice.vue b/src/pages/Account/invoice.vue index 2e7ba87..8793bc0 100644 --- a/src/pages/Account/invoice.vue +++ b/src/pages/Account/invoice.vue @@ -22,7 +22,7 @@ cancel - + + @@ -692,11 +693,13 @@ + + + \ No newline at end of file diff --git a/src/pages/Report/progressCardReport.vue b/src/pages/Report/progressCardReport.vue index 91e6cef..9fba571 100644 --- a/src/pages/Report/progressCardReport.vue +++ b/src/pages/Report/progressCardReport.vue @@ -63,13 +63,13 @@ - + Get Report @@ -79,14 +79,14 @@ - + @@ -99,10 +99,24 @@ flat style="border: 1px solid lightgrey;margin-bottom:14px;padding:20px" >--> + + + + Print + print + + + - -
+ + +
+
- -

{{ userData.name }}

-

{{ userData.address }}

-
- - - + style="font-size: 15px;color: #707478;margin:0px;margin-bottom:8px;" + >{{ userData.email }}

+ + +
+

{{ cardData[0].studentId.name }}

+

+ Class : + {{ cardData[0].classId.classNum }} +

+

+ Section : + {{ cardData[0].sectionId.name }} +

+

+ Roll NO : + {{ cardData[0].studentId.rollNo }} +

+
+
+ + + + + + +
@@ -162,48 +201,58 @@ width: 100% !important; overflow: hidden;" > - + + + {{value[0].examId.examName}} + + Subject - - - Total Marks--> + + + + + + {{subject.gpa}} --> - - - + + - Total Marks : + Total Marks {{cardData.totalMarks}} + > + {{ totalMarks }} + - Average Mark : + Average Mark - + - GPA : + GPA - + - - - + - + - + - + --> + + @@ -368,7 +435,8 @@ export default { gradeBPlus: "B+", gradeB: "B", gradeCPlus: "C+", - gradeC: "C" + gradeC: "C", + totalMarks: "" }), mounted() { this.token = this.$store.state.token; @@ -495,6 +563,8 @@ export default { .marksScored; } this.filterData[data][item].totalMarks = totalMarks; + console.log("totalMarks", totalMarks); + this.totalMarks = totalMarks; // console.log("this.filterData[data][item].grade", this.filterData[data][item].grade); if (totalMarks > 90) { this.filterData[data][item].grade = this.gradeAPlus; -- 2.0.0