|
@@ -4,8 +4,8 @@
|
|
|
<tbody class="list-row">
|
|
|
<tr class="list-header qm-primary-strong-text">
|
|
|
<td>课程</td>
|
|
|
- <td>层次</td>
|
|
|
- <td>专业</td>
|
|
|
+ <td v-if="!isEpcc">层次</td>
|
|
|
+ <td v-if="!isEpcc">专业</td>
|
|
|
<td>考试开放时间</td>
|
|
|
<td>剩余考试次数</td>
|
|
|
<td style="max-width: 200px">操作</td>
|
|
@@ -13,8 +13,8 @@
|
|
|
|
|
|
<tr v-for="course in courses" :key="course.id">
|
|
|
<td>{{ course.courseName }}</td>
|
|
|
- <td>{{ course.courseLevel }}</td>
|
|
|
- <td>{{ course.specialtyName }}</td>
|
|
|
+ <td v-if="!isEpcc">{{ course.courseLevel }}</td>
|
|
|
+ <td v-if="!isEpcc">{{ course.specialtyName }}</td>
|
|
|
<td>
|
|
|
{{ course.startTime }} <br />
|
|
|
~ <br />
|
|
@@ -36,6 +36,7 @@
|
|
|
进入考试
|
|
|
</i-button>
|
|
|
<i-poptip
|
|
|
+ v-if="!isEpcc"
|
|
|
:trigger="course.isObjScoreView ? 'hover' : 'click'"
|
|
|
@on-popper-show="cid = course.id"
|
|
|
@on-popper-hide="cid = null"
|
|
@@ -241,6 +242,9 @@ export default {
|
|
|
computed: {
|
|
|
...globalMapState(["user", "timeDifference"]),
|
|
|
...mapState(["faceCheckModalOpen"]),
|
|
|
+ isEpcc() {
|
|
|
+ return this.user.schoolDomain === "iepcc-ps.ecs.qmth.com.cn";
|
|
|
+ },
|
|
|
},
|
|
|
components: {
|
|
|
"ecs-online-exam-result-list": OnlineExamResultList,
|