diff --git a/src/modules/01_exam/components/ExamCard.vue b/src/modules/01_exam/components/ExamCard.vue new file mode 100644 index 0000000..458ed95 --- /dev/null +++ b/src/modules/01_exam/components/ExamCard.vue @@ -0,0 +1,180 @@ + + + + + diff --git a/src/modules/01_exam/components/ExamFinished.vue b/src/modules/01_exam/components/ExamFinished.vue index 03ec7d8..ad55f31 100644 --- a/src/modules/01_exam/components/ExamFinished.vue +++ b/src/modules/01_exam/components/ExamFinished.vue @@ -1,7 +1,7 @@ @@ -147,6 +45,7 @@ import { onMounted, ref } from 'vue' import http from '@/plugins/http' import config from '@/app.config' import { useRoute } from 'vue-router' +import ExamCard from '@/modules/01_exam/components/ExamCard.vue' const props = defineProps({ fetchStep: { @@ -214,13 +113,30 @@ const fetchStatus = async () => { }) } -const download = () => { - window.print() -} - const getClass = (val: string) => { return val == 'done' || val == 'checkPoint' ? 'bg-green-1' : 'bg-yellow-2' } - +