|
@@ -199,19 +199,19 @@ export default {
|
|
|
model.exeGrade = '' // 学册
|
|
|
if (!this.ignoreQType) model.exeQTypeChapter = '' // 题型
|
|
|
this.requireFields = ['exeBranch', 'exeSubject', 'exeOrder', 'exeGrade']
|
|
|
- if (this.isPaperWork && !this.ignoreQType) this.requireFields.push('exeQTypeChapter')
|
|
|
+ // if (this.isPaperWork && !this.ignoreQType) this.requireFields.push('exeQTypeChapter')
|
|
|
break
|
|
|
case consts.enum.questionBranches.knowledge.value:
|
|
|
model.exeSubject = '' // 科目
|
|
|
if (!this.ignoreQType) model.exeQTypeKnowledge = '' // 题型
|
|
|
this.requireFields = ['exeBranch', 'exeSubject']
|
|
|
- if (this.isPaperWork && !this.ignoreQType) this.requireFields.push('exeQTypeKnowledge')
|
|
|
+ // if (this.isPaperWork && !this.ignoreQType) this.requireFields.push('exeQTypeKnowledge')
|
|
|
break
|
|
|
case consts.enum.questionBranches.collect.value:
|
|
|
model.favCollectType = consts.enum.collectionType.question.type
|
|
|
model.favSubject = ''
|
|
|
model.favQueType = ''
|
|
|
- this.requireFields = ['exeBranch', 'favSubject', 'favQueType']
|
|
|
+ this.requireFields = ['exeBranch', 'favSubject']
|
|
|
this.invisibleFields = ['favCollectType']
|
|
|
break
|
|
|
default:
|