From d4735dce7c40b88084c8e084563421b6702d7b3b Mon Sep 17 00:00:00 2001 From: shikha Date: Mon, 10 Feb 2020 13:27:51 +0530 Subject: [PATCH] show school logo and name while printing the report --- src/pages/Library/member.vue | 142 ++++++++-------- src/pages/Mark/viewMark.vue | 52 ++---- src/pages/Report/progressCardReport.vue | 291 ++++++++++++++++---------------- 3 files changed, 241 insertions(+), 244 deletions(-) diff --git a/src/pages/Library/member.vue b/src/pages/Library/member.vue index 211392d..f795cb1 100644 --- a/src/pages/Library/member.vue +++ b/src/pages/Library/member.vue @@ -490,75 +490,79 @@ - - - Your search for "{{ search }}" found no results. - + + + + Your search for "{{ search }}" found no results. + +
diff --git a/src/pages/Mark/viewMark.vue b/src/pages/Mark/viewMark.vue index 3fca9e1..564da5a 100644 --- a/src/pages/Mark/viewMark.vue +++ b/src/pages/Mark/viewMark.vue @@ -29,27 +29,23 @@ flat style="border: 1px solid lightgrey;margin-bottom:14px;padding:20px" > - - - - + + + + logo +

{{ userData.name }}

+

{{ userData.address }}

-

- {{ userData.name }} -
- {{ userData.address }} -

-

phone : {{ userData.mobile }}

-

Email : {{ userData.email }}

-
-

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

@@ -85,9 +81,7 @@ border-collapse: collapse;!important table-layout: auto !important; width: 100% !important; - overflow: hidden; - display: block;" - + " > @@ -110,19 +104,10 @@ style="border: 1px solid lightgrey !important;" > - Mark + Mark @@ -182,7 +167,6 @@ export default { selectMark: ["Mark", "Grade"], MarkData: "", userData: {} - }), mounted() { this.token = this.$store.state.token; @@ -339,7 +323,7 @@ table.feeTypeTable { } @media screen and (max-width: 380px) { .tableRsponsive { - display: block; + /* display: block; */ position: relative; overflow: scroll; } diff --git a/src/pages/Report/progressCardReport.vue b/src/pages/Report/progressCardReport.vue index 9be5128..6841574 100644 --- a/src/pages/Report/progressCardReport.vue +++ b/src/pages/Report/progressCardReport.vue @@ -63,151 +63,157 @@
- + Get Report
- - - + + + + + + + Print + print + + + + + + logo +

{{ userData.name }}

+

{{ userData.address }}

+
+
+ + + + - - - - - - - - - - -

- {{ userData.name }} -
- {{ userData.address }} -

-

phone : {{ userData.mobile }}

-

Email : {{ userData.email }}

-
- -

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

-

Class : {{ value[0].classId.classNum }}

-

Roll NO : {{ value[0].studentId.rollNo }}

-

Section : {{ value[0].sectionId.name }}

-
- - - - - - -
- {{value[0].examId.examName}} - - - - - - - - - - - --> + + + + + - - - - - - - - - - - - -
SubjectTotal
Mark
{{subject.subjectName}}{{subject.totalMarks}}
-
-
-
+ --> + + + +
+ +
+ - +
@@ -349,11 +358,11 @@ export default { // console.log("data+++++++++++++++++++++++++++++++++++", data); for (let item in this.filterData[data]) { - console.log( - "filterData[data]==========================>", - this.filterData[data] - ); - console.log("filterData[item]==========================>", item); + // console.log( + // "filterData[data]==========================>", + // this.filterData[data] + // ); + // console.log("filterData[item]==========================>", item); var totalMarks = 0; for ( let i = 0; @@ -382,7 +391,7 @@ export default { } }); }, - print() { + printProgressReport() { // Pass the element id here this.$htmlToPaper("printMe"); }, @@ -434,7 +443,7 @@ table.feeTypeTable { } @media screen and (max-width: 380px) { .tableRsponsive { - display: block; + /* display: block; */ position: relative; overflow: scroll; } -- 2.0.0