|
@@ -26,7 +26,7 @@
|
|
|
<p class="one">
|
|
|
<span class="one1">学校(院):</span>
|
|
|
<span class="one2">{{ item.school_name }}</span>
|
|
|
- <span class="one3">{{ item.entry_year }}</span>
|
|
|
+ <span class="one3">{{ getyear(item.entry_year) }}</span>
|
|
|
<span class="one4">级</span>
|
|
|
<span class="one5">{{ item.major }}</span>
|
|
|
<span class="one6">专业</span>
|
|
@@ -132,6 +132,10 @@ export default {
|
|
|
if (num < 10) return '0' + num;
|
|
|
else return num;
|
|
|
},
|
|
|
+ getyear(index) {
|
|
|
+ var year = index.replace(/[^\d]/g, '');
|
|
|
+ return year;
|
|
|
+ },
|
|
|
// 过滤几号学生
|
|
|
// getnum(index) {
|
|
|
// let num = index + 1;
|
|
@@ -192,7 +196,7 @@ export default {
|
|
|
.one3 {
|
|
|
font-size: 20px;
|
|
|
display: inline-block;
|
|
|
- width: 75px;
|
|
|
+ width: 55px;
|
|
|
font-weight: bold;
|
|
|
font-family: Arial;
|
|
|
}
|
|
@@ -206,7 +210,7 @@ export default {
|
|
|
.one5 {
|
|
|
font-size: 20px;
|
|
|
display: inline-block;
|
|
|
- width: 290px;
|
|
|
+ width: 310px;
|
|
|
font-weight: bold;
|
|
|
font-family: Arial;
|
|
|
}
|