|
|
@ -36,7 +36,7 @@ |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item prop="name" label="每题的评阅人数"> |
|
|
|
<el-form-item prop="name" label="每题的评阅人数"> |
|
|
|
<el-input class="hide-spin" style="width: 200px;" placeholder="请输入" type="number" |
|
|
|
<el-input class="hide-spin" style="width: 200px;" placeholder="请输入" type="number" |
|
|
|
v-model.number="form.reviewersPerQuestion" /> 人 |
|
|
|
v-model.number="form.reviewersPerQuestion" /> 人<span class="fs-12">(人工判分题和整体评分表的评阅人数)</span> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item prop="name" label="人工判分题最终得分"> |
|
|
|
<el-form-item prop="name" label="人工判分题最终得分"> |
|
|
|
<el-radio-group v-model="form.scoreAggregationRule"> |
|
|
|
<el-radio-group v-model="form.scoreAggregationRule"> |
|
|
@ -65,13 +65,14 @@ |
|
|
|
|
|
|
|
|
|
|
|
<el-form class="info" label-width="110px" disabled> |
|
|
|
<el-form class="info" label-width="110px" disabled> |
|
|
|
<h6>答卷信息</h6> |
|
|
|
<h6>答卷信息</h6> |
|
|
|
<el-form-item prop="name" label="答卷信息"> |
|
|
|
<el-form-item prop="name" label="答卷类型"> |
|
|
|
<el-radio v-for="(item, i) in types" v-model="row.method" :key="i" :label="item.id">{{ item.name |
|
|
|
<el-radio v-for="(item, i) in types" v-model="row.method" :key="i" :label="item.id">{{ item.name |
|
|
|
}}</el-radio> |
|
|
|
}}</el-radio> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item prop="name" label="题目判分类型"> |
|
|
|
<el-form-item prop="name" label="判分类型"> |
|
|
|
<el-checkbox v-model="row.hasAutoScoreType" :true-label="1">自动判分题</el-checkbox> |
|
|
|
<el-checkbox v-model="row.hasAutoScoreType" :true-label="1">自动判分题</el-checkbox> |
|
|
|
<el-checkbox v-model="row.hasManualScoreType" :true-label="1">人工判分题</el-checkbox> |
|
|
|
<el-checkbox v-model="row.hasManualScoreType" :true-label="1">人工判分题</el-checkbox> |
|
|
|
|
|
|
|
<el-checkbox v-model="row.hasManualScoreType1" :true-label="1">整体评分表评分</el-checkbox> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item prop="name" label="成绩是否公布"> |
|
|
|
<el-form-item prop="name" label="成绩是否公布"> |
|
|
|
<el-radio v-model="row.resultsDetails" :label="0">是</el-radio> |
|
|
|
<el-radio v-model="row.resultsDetails" :label="0">是</el-radio> |
|
|
@ -198,6 +199,7 @@ export default { |
|
|
|
await this.$post(this.api.evaluationSave, form) |
|
|
|
await this.$post(this.api.evaluationSave, form) |
|
|
|
this.submiting = false |
|
|
|
this.submiting = false |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (this.$route.path === '/allocationReview/list') { |
|
|
|
try { |
|
|
|
try { |
|
|
|
await this.$confirm('保存成功!', '提示', { |
|
|
|
await this.$confirm('保存成功!', '提示', { |
|
|
|
confirmButtonText: '前往任务分配', |
|
|
|
confirmButtonText: '前往任务分配', |
|
|
@ -205,15 +207,21 @@ export default { |
|
|
|
type: 'warning', |
|
|
|
type: 'warning', |
|
|
|
closeOnClickModal: false, |
|
|
|
closeOnClickModal: false, |
|
|
|
}) |
|
|
|
}) |
|
|
|
this.$router.push(`records`) |
|
|
|
this.$router.push(`records?competitionId=${row.id}&stageId=${row.stageId}`) |
|
|
|
} catch (e) { |
|
|
|
} catch (e) { |
|
|
|
this.$parent.initData() |
|
|
|
this.close() |
|
|
|
this.setupVisible = false |
|
|
|
} |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
this.close() |
|
|
|
} |
|
|
|
} |
|
|
|
} catch (e) { |
|
|
|
} catch (e) { |
|
|
|
this.submiting = false |
|
|
|
this.submiting = false |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
close () { |
|
|
|
|
|
|
|
this.$parent.initData() |
|
|
|
|
|
|
|
this.setupVisible = false |
|
|
|
|
|
|
|
}, |
|
|
|
// 弹框关闭回调 |
|
|
|
// 弹框关闭回调 |
|
|
|
closeDia () { |
|
|
|
closeDia () { |
|
|
|
this.$emit('update:visible', false) |
|
|
|
this.$emit('update:visible', false) |
|
|
|