|
@@ -7,30 +7,33 @@
|
|
|
</q-card-section>
|
|
</q-card-section>
|
|
|
<q-separator />
|
|
<q-separator />
|
|
|
<q-banner>
|
|
<q-banner>
|
|
|
- وضعیت آزمون:
|
|
|
|
|
- {{ answerBook.status_info.label }}
|
|
|
|
|
- </q-banner>
|
|
|
|
|
- <q-banner v-if="answerBook.grader">
|
|
|
|
|
- مصحح:
|
|
|
|
|
- {{ answerBook.grader_info.firstname }}
|
|
|
|
|
- {{ answerBook.grader_info.lastname }}
|
|
|
|
|
- ({{ answerBook.grader_info.mobile_number }})
|
|
|
|
|
|
|
+ <div class="row">
|
|
|
|
|
+ <div class="col-md-6 col-12">
|
|
|
|
|
+ وضعیت آزمون:
|
|
|
|
|
+ {{ answerBook.status_info.label }}
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div v-if="answerBook.grader_info"
|
|
|
|
|
+ class="col-md-6 col-12">
|
|
|
|
|
+ مصحح:
|
|
|
|
|
+ {{ answerBook.grader_info.firstname }}
|
|
|
|
|
+ {{ answerBook.grader_info.lastname }}
|
|
|
|
|
+ (کدملی: {{ answerBook.grader_info.national_code }})
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
</q-banner>
|
|
</q-banner>
|
|
|
<q-separator />
|
|
<q-separator />
|
|
|
<q-banner>
|
|
<q-banner>
|
|
|
<div class="row">
|
|
<div class="row">
|
|
|
- <div class="col-md-3 col-12">
|
|
|
|
|
|
|
+ <div class="col-md-4 col-12">
|
|
|
|
|
+ زمان شروع:
|
|
|
{{ toShamsi(answerBook.attending_start_time) }}
|
|
{{ toShamsi(answerBook.attending_start_time) }}
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="col-md-3 col-12">
|
|
|
|
|
- {{ answerBook.answer_sheet_info.list.length }}
|
|
|
|
|
- سوال
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="col-md-3 col-12">
|
|
|
|
|
- {{ answerBook.test_info.duration_deadline }}
|
|
|
|
|
- دقیقه
|
|
|
|
|
|
|
+ <div class="col-md-4 col-12">
|
|
|
|
|
+ {{ answerBook.owner_info.firstname }}
|
|
|
|
|
+ {{ answerBook.owner_info.lastname }}
|
|
|
|
|
+ (کدملی: {{ answerBook.owner_info.national_code }})
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="col-md-3 col-12">
|
|
|
|
|
|
|
+ <div class="col-md-4 col-12">
|
|
|
نمره نهایی
|
|
نمره نهایی
|
|
|
<template v-if="answerBook.status === 'GRADING'">
|
|
<template v-if="answerBook.status === 'GRADING'">
|
|
|
{{ totalScore }}
|
|
{{ totalScore }}
|
|
@@ -168,7 +171,7 @@ export default {
|
|
|
return {
|
|
return {
|
|
|
mounted: false,
|
|
mounted: false,
|
|
|
overallAnswerInput: [
|
|
overallAnswerInput: [
|
|
|
- { type: 'input', name: 'overall_answer_text', responseKey: 'overall_answer_text', label: 'متن پاسخ جامع', placeholder: ' ', inputType: 'textarea', col: 'col-12' },
|
|
|
|
|
|
|
+ // { type: 'input', name: 'overall_answer_text', responseKey: 'overall_answer_text', label: 'متن پاسخ جامع', placeholder: ' ', inputType: 'textarea', col: 'col-12' },
|
|
|
{ type: 'file', name: 'overall_answer_attachment', responseKey: 'overall_answer_attachment', label: 'فایل پیوست جامع', placeholder: ' ', col: 'col-12' }
|
|
{ type: 'file', name: 'overall_answer_attachment', responseKey: 'overall_answer_attachment', label: 'فایل پیوست جامع', placeholder: ' ', col: 'col-12' }
|
|
|
],
|
|
],
|
|
|
questionInput: [
|
|
questionInput: [
|
|
@@ -189,7 +192,7 @@ export default {
|
|
|
let totalScore = 0
|
|
let totalScore = 0
|
|
|
this.scores.forEach(item => {
|
|
this.scores.forEach(item => {
|
|
|
if (item.score) {
|
|
if (item.score) {
|
|
|
- totalScore += item.score
|
|
|
|
|
|
|
+ totalScore += parseFloat(item.score)
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
return totalScore
|
|
return totalScore
|