|
@@ -34,7 +34,7 @@
|
|
|
<i-button class="qm-primary-button">
|
|
|
<a class="qm-primary-button" href="https://ecs-static.qmth.com.cn/offline-exam/答题卡.zip" download>下载答题卡</a>
|
|
|
</i-button>
|
|
|
- <ecs-offline-exam-upload :course="course" @reloadList="reloadList"></ecs-offline-exam-upload>
|
|
|
+ <ecs-offline-exam-upload :course="course" @reload-list="$emit('reload-list')"></ecs-offline-exam-upload>
|
|
|
</div>
|
|
|
|
|
|
<div v-else style="display: grid; grid-gap: 10px">
|
|
@@ -72,9 +72,6 @@ export default {
|
|
|
courses: Array
|
|
|
},
|
|
|
methods: {
|
|
|
- async reloadList() {
|
|
|
- this.$emit("reloadList");
|
|
|
- },
|
|
|
async enterExam(course) {
|
|
|
await this.$http.get("/api/offline_exam/start", {
|
|
|
params: { examStudentId: course.examStudentId }
|