bug
This commit is contained in:
		| @@ -100,9 +100,6 @@ | ||||
|               :pager-count="7" | ||||
|               @size-change="getList" | ||||
|               @current-change="getList"> | ||||
|               <!-- <div class="paginationPre" v-if="isMultiple"> | ||||
|                 <el-checkbox :disabled="!list.length" :indeterminate="isIndeterminate" @change="onAllChange" v-model="isCheckAll">全选</el-checkbox> | ||||
|               </div> --> | ||||
|             </el-pagination> | ||||
|           </ai-dialog> | ||||
|         </template> | ||||
| @@ -341,6 +338,16 @@ | ||||
|           if (valid) { | ||||
|             let subjectNumber = 0 | ||||
|             let eachScore = 0 | ||||
|  | ||||
|             for (let i = 0; i < this.form.assessments.length; i++) { | ||||
|               if (!this.form.assessments[i].upCondition) { | ||||
|                 return this.$message.error(`${this.dict.getLabel('qjEAType', this.form.assessments[i].assessmentType)}不能为空`) | ||||
|               } | ||||
|               if (!this.form.assessments[i].upScore && this.form.assessments[i].upScore !== '0') { | ||||
|                 return this.$message.error(`${this.dict.getLabel('qjEAType', this.form.assessments[i].assessmentType)}分值不能为空`) | ||||
|               } | ||||
|             } | ||||
|  | ||||
|             this.form.subjectConfigs.forEach(v => { | ||||
|               eachScore = Number(v.eachScore) + eachScore | ||||
|               subjectNumber = Number(v.subjectNumber) + subjectNumber | ||||
|   | ||||
		Reference in New Issue
	
	Block a user