Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
newCSO_2023
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizhi
newCSO_2023
Commits
051954a9
Commit
051954a9
authored
Feb 22, 2023
by
lizhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
成绩单样式
parent
d491397f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
7 deletions
+30
-7
src/assets/images/成绩单水印.png
+0
-0
src/views/pms/product/newGpaPdf.vue
+30
-7
No files found.
src/assets/images/成绩单水印.png
0 → 100644
View file @
051954a9
98.7 KB
src/views/pms/product/newGpaPdf.vue
View file @
051954a9
...
...
@@ -55,24 +55,28 @@
:data=
"userCourseList"
style=
"width: 100%"
:row-style=
"
{ height: '40px' }"
:header-cell-style="{ 'text-align': 'center', color: '#333' }"
:header-cell-style="{
'text-align': 'center',
color: '#333',
'border-bottom': '2px solid'
}"
:cell-style="{
padding: '0px',
'text-align': 'center',
color: '#333'
}"
>
<el-table-column
label=
"Course Code"
width=
"160"
>
<el-table-column
label=
"Course Code"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
auditCourseCode
}}
</
template
>
</el-table-column>
<el-table-column
label=
"Description"
width=
"220"
>
<el-table-column
label=
"Description"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
courseName
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"units"
label=
"CREDITS"
width=
"85"
>
<el-table-column
prop=
"units"
label=
"CREDITS"
>
4.0
</el-table-column>
<!-- <el-table-column prop="earned" label="Earned" width="85">
...
...
@@ -113,10 +117,15 @@
<span v-if="scope.row.gpa < 60">F </span>
</template>
</el-table-column> -->
<el-table-column
label=
"Points"
width=
"85"
>
<el-table-column
label=
"Points"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
gpa
}}
</
template
>
</el-table-column>
</el-table>
<img
class=
"logo"
src=
"../../../assets/images/成绩单水印.png"
alt=
""
/>
</div>
</div>
<div
class=
"end"
>
...
...
@@ -242,7 +251,7 @@ export default {
height
:
0
;
}
.table
>>>
.el-table
th
.el-table__cell
>
.cell
{
text-decoration
:
underline
;
//
text-decoration
:
underline
;
}
.container
{
//
box-sizing
:
border-box
;
...
...
@@ -255,16 +264,21 @@ export default {
padding-top
:
12px
;
}
.main
{
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
margin-top
:
10px
;
margin-left
:
200px
;
border
:
2px
solid
;
//
border
:
2px
solid
;
width
:
760px
;
height
:
1080px
;
margin-bottom
:
100px
;
//
background-color
:
#ecf0f1
;
.up
{
height
:
295px
;
width
:
100%
;
//
border-bottom
:
2px
solid
;
.title
{
...
...
@@ -345,10 +359,19 @@ export default {
padding-left
:
25px
;
}
.table
{
//
display
:
flex
;
//
flex-direction
:
column
;
//
align-items
:
center
;
//
margin-top
:
20px
;
margin-right
:
-10px
;
height
:
100%
;
width
:
100%
;
.logo
{
width
:
90%
;
object-fit
:
contain
;
margin
:
0
auto
;
margin-top
:
60px
;
}
}
}
.end
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment