diff --git a/src/front/src/components/testing/BodyDetailTesting.vue b/src/front/src/components/testing/BodyDetailTesting.vue index 69bf87e35..90e378b4f 100644 --- a/src/front/src/components/testing/BodyDetailTesting.vue +++ b/src/front/src/components/testing/BodyDetailTesting.vue @@ -5,16 +5,18 @@ Информация -

Текст описания теста

- Текст описания технических возможностей тестирования (можно пропускать вопросы, - возвращаться, менять ответы, завершить досрочно тест...) + {{ data?.description }} +

+

+ Время на прохождение — {{ data?.time }} минут +

+

+ Срок окончания — {{ new Date(data?.dateend).toLocaleDateString() }}

-

Время на прохождение — 15 минут

-

Срок прохождения — 22.06.2024

-

Попытка 1 из 2

+

Попытка 1 из {{ data?.attemps_number }}

Начать @@ -29,6 +31,7 @@ export default { props: { startTest: Function, + data: Object, }, }; diff --git a/src/front/src/components/testing/DetailCardTest.vue b/src/front/src/components/testing/DetailCardTest.vue index 2af8fb157..ab415d289 100644 --- a/src/front/src/components/testing/DetailCardTest.vue +++ b/src/front/src/components/testing/DetailCardTest.vue @@ -6,19 +6,20 @@ :formattedTime="formattedTime" :finishTest="openFinishDialog" :currentQuestion="currentQuestion" - :totalQuestions="questions.length" + :totalQuestions="data?.question_count" @change-question="changeQuestion" + :data="data" /> - + @@ -30,7 +31,7 @@ :testPassed="testPassed" :correctAnswers="correctAnswers" :answeredQuestions="answeredQuestions" - :totalQuestions="questions.length" + :totalQuestions="data.question_count" :formattedTime="formattedTime" /> @@ -49,21 +50,28 @@