|
@@ -10,7 +10,7 @@
|
|
|
وضعیت آزمون:
|
|
وضعیت آزمون:
|
|
|
{{ answerBook.status_info.label }}
|
|
{{ answerBook.status_info.label }}
|
|
|
</q-banner>
|
|
</q-banner>
|
|
|
- <q-btn v-if="!answerBook.grader"
|
|
|
|
|
|
|
+ <q-btn v-if="!answerBook.grader && $route.query.read_only !== '1'"
|
|
|
color="primary"
|
|
color="primary"
|
|
|
class="full-width"
|
|
class="full-width"
|
|
|
@click="setGraderToMe">
|
|
@click="setGraderToMe">
|
|
@@ -87,7 +87,7 @@
|
|
|
نمره
|
|
نمره
|
|
|
</q-badge>
|
|
</q-badge>
|
|
|
</div>
|
|
</div>
|
|
|
- <div v-if="currentUserIsGrader && answerBook.status === 'GRADING'"
|
|
|
|
|
|
|
+ <div v-if="currentUserIsGrader && answerBook.status === 'GRADING' && $route.query.read_only !== '1'"
|
|
|
class="q-mt-md input-grate-question">
|
|
class="q-mt-md input-grate-question">
|
|
|
<q-input v-model="scores[answerSheetIndex].score"
|
|
<q-input v-model="scores[answerSheetIndex].score"
|
|
|
:loading="scores[answerSheetIndex].loading"
|
|
:loading="scores[answerSheetIndex].loading"
|
|
@@ -119,7 +119,7 @@
|
|
|
:show-reload-button="false"
|
|
:show-reload-button="false"
|
|
|
:default-layout="false" />
|
|
:default-layout="false" />
|
|
|
</div>
|
|
</div>
|
|
|
- <template v-if="$route.query.send_objection && $route.query.send_objection.toString() === '1'">
|
|
|
|
|
|
|
+ <template v-if="$route.query.send_objection && $route.query.send_objection.toString() === '1' && $route.query.read_only !== '1'">
|
|
|
<q-separator class="q-my-xl" />
|
|
<q-separator class="q-my-xl" />
|
|
|
<q-card-section>
|
|
<q-card-section>
|
|
|
<entity-edit v-if="mounted"
|
|
<entity-edit v-if="mounted"
|
|
@@ -155,7 +155,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
<div v-html="answerBook.objection_result" />
|
|
<div v-html="answerBook.objection_result" />
|
|
|
</template>
|
|
</template>
|
|
|
- <q-banner v-if="currentUserIsGrader && answerBook.status === 'GRADING'">
|
|
|
|
|
|
|
+ <q-banner v-if="currentUserIsGrader && answerBook.status === 'GRADING' && $route.query.read_only !== '1'">
|
|
|
<q-input v-model="answerBook.grader_description"
|
|
<q-input v-model="answerBook.grader_description"
|
|
|
type="textarea"
|
|
type="textarea"
|
|
|
label="توضیحات مصحح"
|
|
label="توضیحات مصحح"
|
|
@@ -167,7 +167,7 @@
|
|
|
:loading="graderDescriptionLoading"
|
|
:loading="graderDescriptionLoading"
|
|
|
@click="submitGraderDescription" />
|
|
@click="submitGraderDescription" />
|
|
|
</q-banner>
|
|
</q-banner>
|
|
|
- <q-card-actions v-if="answerBook.status === 'GRADING'">
|
|
|
|
|
|
|
+ <q-card-actions v-if="answerBook.status === 'GRADING' && $route.query.read_only !== '1'">
|
|
|
<q-btn color="primary"
|
|
<q-btn color="primary"
|
|
|
class="q-mr-lg"
|
|
class="q-mr-lg"
|
|
|
@click="confirmScores">
|
|
@click="confirmScores">
|