|
@@ -11,7 +11,10 @@
|
|
<td style="max-width: 200px">操作</td>
|
|
<td style="max-width: 200px">操作</td>
|
|
</tr>
|
|
</tr>
|
|
|
|
|
|
- <tr v-for="course in courses" :key="course.id">
|
|
|
|
|
|
+ <tr
|
|
|
|
+ v-for="course in courses"
|
|
|
|
+ :key="course.id"
|
|
|
|
+ >
|
|
<td>{{ course.courseName }}</td>
|
|
<td>{{ course.courseName }}</td>
|
|
<td>{{ course.courseLevel }}</td>
|
|
<td>{{ course.courseLevel }}</td>
|
|
<td>{{ course.specialtyName }}</td>
|
|
<td>{{ course.specialtyName }}</td>
|
|
@@ -19,10 +22,25 @@
|
|
<td>{{ course.allowExamCount }}</td>
|
|
<td>{{ course.allowExamCount }}</td>
|
|
<td style="min-width: 180px">
|
|
<td style="min-width: 180px">
|
|
<div style="display: grid; grid-template-columns: repeat( auto-fit, minmax(100px, 1fr) ); grid-gap: 10px">
|
|
<div style="display: grid; grid-template-columns: repeat( auto-fit, minmax(100px, 1fr) ); grid-gap: 10px">
|
|
- <i-button class="qm-primary-button" :disabled="!courseInBetween(course) || course.allowExamCount < 1" @click="enterExam(course)">进入考试</i-button>
|
|
|
|
- <i-poptip :trigger="course.isObjScoreView ? 'hover' : 'click'" placement="left" class="online-exam-list-override-poptip">
|
|
|
|
- <i-button class="qm-primary-button" style="width: 100%" :disabled="!course.isObjScoreView">客观分</i-button>
|
|
|
|
- <ecs-online-exam-result-list slot="content" :examStudentId="course.examStudentId"></ecs-online-exam-result-list>
|
|
|
|
|
|
+ <i-button
|
|
|
|
+ class="qm-primary-button"
|
|
|
|
+ :disabled="!courseInBetween(course) || course.allowExamCount < 1"
|
|
|
|
+ @click="enterExam(course)"
|
|
|
|
+ >进入考试</i-button>
|
|
|
|
+ <i-poptip
|
|
|
|
+ :trigger="course.isObjScoreView ? 'hover' : 'click'"
|
|
|
|
+ placement="left"
|
|
|
|
+ class="online-exam-list-override-poptip"
|
|
|
|
+ >
|
|
|
|
+ <i-button
|
|
|
|
+ class="qm-primary-button"
|
|
|
|
+ style="width: 100%"
|
|
|
|
+ :disabled="!course.isObjScoreView"
|
|
|
|
+ >客观分</i-button>
|
|
|
|
+ <ecs-online-exam-result-list
|
|
|
|
+ slot="content"
|
|
|
|
+ :examStudentId="course.examStudentId"
|
|
|
|
+ ></ecs-online-exam-result-list>
|
|
</i-poptip>
|
|
</i-poptip>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</td>
|
|
@@ -30,8 +48,15 @@
|
|
</tbody>
|
|
</tbody>
|
|
</table>
|
|
</table>
|
|
|
|
|
|
- <Spin size="large" fix v-if="spinShow">{{processingMessage}}</Spin>
|
|
|
|
- <OnlineExamFaceCheckModal :open="faceCheckModalOpen" :course="selectedCourse"></OnlineExamFaceCheckModal>
|
|
|
|
|
|
+ <Spin
|
|
|
|
+ size="large"
|
|
|
|
+ fix
|
|
|
|
+ v-if="spinShow"
|
|
|
|
+ >{{processingMessage}}</Spin>
|
|
|
|
+ <OnlineExamFaceCheckModal
|
|
|
|
+ :open="faceCheckModalOpen"
|
|
|
|
+ :course="selectedCourse"
|
|
|
|
+ ></OnlineExamFaceCheckModal>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -61,6 +86,7 @@ export default {
|
|
this.intervalID = setInterval(() => this.getNow(), 1000);
|
|
this.intervalID = setInterval(() => this.getNow(), 1000);
|
|
},
|
|
},
|
|
beforeDestroy() {
|
|
beforeDestroy() {
|
|
|
|
+ this.toggleFaceCheckModal(false);
|
|
clearInterval(this.intervalID);
|
|
clearInterval(this.intervalID);
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|