|
@@ -36,6 +36,13 @@
|
|
|
:loading="test.loading" />
|
|
:loading="test.loading" />
|
|
|
</q-td>
|
|
</q-td>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
+ <template #body-cell-order="props">
|
|
|
|
|
+ <q-td auto-width>
|
|
|
|
|
+ <q-input v-model="props.row.order"
|
|
|
|
|
+ style="width: 80px;"
|
|
|
|
|
+ :loading="test.loading" />
|
|
|
|
|
+ </q-td>
|
|
|
|
|
+ </template>
|
|
|
<template #body-cell-is_extra_mark="props">
|
|
<template #body-cell-is_extra_mark="props">
|
|
|
<q-td auto-width>
|
|
<q-td auto-width>
|
|
|
<q-toggle v-model="props.row.is_extra_mark"
|
|
<q-toggle v-model="props.row.is_extra_mark"
|
|
@@ -58,7 +65,7 @@
|
|
|
size="sm"
|
|
size="sm"
|
|
|
outline
|
|
outline
|
|
|
@click="editTestQuestion(props.row)">
|
|
@click="editTestQuestion(props.row)">
|
|
|
- ویرایش نمره و حالت امتیازی سوال
|
|
|
|
|
|
|
+ ثبت نمره و ترتیب و حالت امتیازی
|
|
|
</q-btn>
|
|
</q-btn>
|
|
|
<q-btn color="red"
|
|
<q-btn color="red"
|
|
|
class="q-mr-md"
|
|
class="q-mr-md"
|
|
@@ -269,6 +276,13 @@ export default {
|
|
|
align: 'left',
|
|
align: 'left',
|
|
|
field: () => ''
|
|
field: () => ''
|
|
|
},
|
|
},
|
|
|
|
|
+ {
|
|
|
|
|
+ name: 'order',
|
|
|
|
|
+ required: true,
|
|
|
|
|
+ label: 'ترتیب',
|
|
|
|
|
+ align: 'left',
|
|
|
|
|
+ field: row => row.order ? row.order : '-'
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
name: 'id',
|
|
name: 'id',
|
|
|
required: true,
|
|
required: true,
|