|
@@ -24,11 +24,22 @@
|
|
|
<span>课程名称:</span><strong>{{info.courseName}}</strong>
|
|
|
</li>
|
|
|
<li class="sign-info">
|
|
|
- <span>应修学时:</span><strong>{{info.totalXs/10}}</strong>
|
|
|
+ <span>应修学时:</span><strong style="color: red;">{{info.totalXs/10}}</strong>学时
|
|
|
</li>
|
|
|
+
|
|
|
<li class="sign-info">
|
|
|
- <span>已修学时:</span><strong>{{info.getXs/10}}</strong>
|
|
|
+ <span>已修学时:</span><strong style="color: red;">{{info.getXs/10}}</strong>学时
|
|
|
+ </li>
|
|
|
+
|
|
|
+ <li class="sign-info" v-if="other.examXs>0">
|
|
|
+ <span>考试学时:</span><strong style="color: red;">{{other.examXs/10}}</strong>学时
|
|
|
+ <span><strong style="color: red;">{{other.score}}</strong>分</span>
|
|
|
</li>
|
|
|
+
|
|
|
+ <li class="sign-info" v-if="other.testXs>0">
|
|
|
+ <span>线下复习:</span><strong style="color: red;">{{other.testXs/10}}</strong>学时
|
|
|
+ </li>
|
|
|
+
|
|
|
</ul>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -65,6 +76,7 @@
|
|
|
data() {
|
|
|
return {
|
|
|
id: '',
|
|
|
+ other:{},
|
|
|
info: {}
|
|
|
};
|
|
|
},
|
|
@@ -85,7 +97,8 @@
|
|
|
id
|
|
|
}).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
- this.info = JSON.parse(res.data)
|
|
|
+ this.other = res.data
|
|
|
+ this.info = JSON.parse(res.data.data)
|
|
|
}
|
|
|
})
|
|
|
}
|