|
@@ -12,7 +12,7 @@
|
|
|
<entity-edit v-if="mounted"
|
|
<entity-edit v-if="mounted"
|
|
|
ref="entityEdit"
|
|
ref="entityEdit"
|
|
|
v-model:value="inputs"
|
|
v-model:value="inputs"
|
|
|
- title="مشخصات آزمون"
|
|
|
|
|
|
|
+ title="مشخصات پرسشنامه"
|
|
|
:api="api"
|
|
:api="api"
|
|
|
:entity-id-key="entityIdKey"
|
|
:entity-id-key="entityIdKey"
|
|
|
:entity-param-key="entityParamKey"
|
|
:entity-param-key="entityParamKey"
|
|
@@ -50,8 +50,8 @@ export default {
|
|
|
entityIdKey: 'id',
|
|
entityIdKey: 'id',
|
|
|
entityParamKey: 'id',
|
|
entityParamKey: 'id',
|
|
|
inputs: [
|
|
inputs: [
|
|
|
- { type: 'input', name: 'title', responseKey: 'title', label: 'عنوان آزمون', placeholder: ' ', col: 'col-md-12 col-12' },
|
|
|
|
|
- { type: 'inputEditor', name: 'description', responseKey: 'description', label: 'توضیحات آزمون', col: 'col-md-12 col-12' },
|
|
|
|
|
|
|
+ { type: 'input', name: 'title', responseKey: 'title', label: 'عنوان پرسشنامه', placeholder: ' ', col: 'col-md-12 col-12' },
|
|
|
|
|
+ { type: 'inputEditor', name: 'description', responseKey: 'description', label: 'توضیحات پرسشنامه', col: 'col-md-12 col-12' },
|
|
|
{ type: 'hidden', name: 'id', responseKey: 'id' },
|
|
{ type: 'hidden', name: 'id', responseKey: 'id' },
|
|
|
{ type: 'hidden', name: 'type', responseKey: 'type', value: 'QUESTIONNAIRE' },
|
|
{ type: 'hidden', name: 'type', responseKey: 'type', value: 'QUESTIONNAIRE' },
|
|
|
{ type: BtnControlComp, name: 'btnCreateQuestion', responseKey: 'btnCreateQuestion', label: 'تعریف سوال جدید', placeholder: ' ', atClick: () => {}, col: 'col-12 flex justify-end' },
|
|
{ type: BtnControlComp, name: 'btnCreateQuestion', responseKey: 'btnCreateQuestion', label: 'تعریف سوال جدید', placeholder: ' ', atClick: () => {}, col: 'col-12 flex justify-end' },
|