|
@@ -56,7 +56,7 @@ export default {
|
|
|
newUnitLoading: false,
|
|
newUnitLoading: false,
|
|
|
newUnitName: null,
|
|
newUnitName: null,
|
|
|
newUnitSessionCount: null,
|
|
newUnitSessionCount: null,
|
|
|
- api: APIGateway.classroom.APIAdresses.base,
|
|
|
|
|
|
|
+ api: APIGateway.project.APIAdresses.base,
|
|
|
entityIdKey: 'id',
|
|
entityIdKey: 'id',
|
|
|
entityParamKey: 'id',
|
|
entityParamKey: 'id',
|
|
|
inputs: [
|
|
inputs: [
|
|
@@ -70,11 +70,12 @@ export default {
|
|
|
placeholder: ' ',
|
|
placeholder: ' ',
|
|
|
col: 'col-md-3 col-12'
|
|
col: 'col-md-3 col-12'
|
|
|
},
|
|
},
|
|
|
|
|
+ { type: 'checkbox', name: 'is_mandatory', responseKey: 'is_mandatory', label: 'اجباری', placeholder: ' ', value: false, col: 'col-md-3 col-12' },
|
|
|
{ type: 'dateTime', name: 'beginning_doing_period', responseKey: 'beginning_doing_period', label: 'زمان شروع', placeholder: ' ', col: 'col-md-6 col-12' },
|
|
{ type: 'dateTime', name: 'beginning_doing_period', responseKey: 'beginning_doing_period', label: 'زمان شروع', placeholder: ' ', col: 'col-md-6 col-12' },
|
|
|
{ type: 'dateTime', name: 'ending_doing_period', responseKey: 'ending_doing_period', label: 'زمان پایان', placeholder: ' ', col: 'col-md-6 col-12' },
|
|
{ type: 'dateTime', name: 'ending_doing_period', responseKey: 'ending_doing_period', label: 'زمان پایان', placeholder: ' ', col: 'col-md-6 col-12' },
|
|
|
{ type: 'separator', name: 'space', size: '0', col: 'col-md-12' },
|
|
{ type: 'separator', name: 'space', size: '0', col: 'col-md-12' },
|
|
|
- { type: 'inputEditor', name: 'correct_answer', responseKey: 'description', label: 'پاسخ صحیح', placeholder: ' ', col: 'col-12' },
|
|
|
|
|
{ type: 'inputEditor', name: 'description', responseKey: 'description', label: 'توضیحات پروژه', placeholder: ' ', col: 'col-12' },
|
|
{ type: 'inputEditor', name: 'description', responseKey: 'description', label: 'توضیحات پروژه', placeholder: ' ', col: 'col-12' },
|
|
|
|
|
+ { type: 'inputEditor', name: 'correct_answer', responseKey: 'correct_answer', label: 'پاسخ صحیح', placeholder: ' ', col: 'col-12' },
|
|
|
{ type: ContentsSelectorComp, name: 'contents', responseKey: 'contents_info', col: 'col-12' },
|
|
{ type: ContentsSelectorComp, name: 'contents', responseKey: 'contents_info', col: 'col-12' },
|
|
|
{ type: 'hidden', name: 'classroom', responseKey: 'classroom', value: parseInt(classroomId) }
|
|
{ type: 'hidden', name: 'classroom', responseKey: 'classroom', value: parseInt(classroomId) }
|
|
|
]
|
|
]
|