|
|
@ -115,7 +115,7 @@ |
|
|
|
<el-table-column prop="score" label="分数" align="center"> |
|
|
|
<el-table-column prop="score" label="分数" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<!--type="number"--> |
|
|
|
<!--type="number"--> |
|
|
|
<el-input :disabled="isDetail" v-model.trim="scope.row.score" @input="scoreChange(scope.row, scope.$index,$event)"></el-input> |
|
|
|
<el-input :disabled="isDetail" v-model.trim="scope.row.score" @blur="updateProjectJudgment" @input="scoreChange(scope.row, scope.$index,$event)"></el-input> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-table> |
|
|
@ -242,9 +242,10 @@ export default { |
|
|
|
return 0; |
|
|
|
return 0; |
|
|
|
} |
|
|
|
} |
|
|
|
if (score > 100) { |
|
|
|
if (score > 100) { |
|
|
|
util.warningMsg(res.message); |
|
|
|
// util.warningMsg(res.message); |
|
|
|
util.errorMsg("分配的数值已超过100"); |
|
|
|
util.errorMsg("分配的数值已超过100"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
console.log('chuli') |
|
|
|
return score; |
|
|
|
return score; |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
@ -701,7 +702,7 @@ export default { |
|
|
|
let obj = { |
|
|
|
let obj = { |
|
|
|
judgmentId:e.judgmentId, |
|
|
|
judgmentId:e.judgmentId, |
|
|
|
projectId:this.projectId||'', |
|
|
|
projectId:this.projectId||'', |
|
|
|
score:0, |
|
|
|
score:e.score, |
|
|
|
sort:i+1, |
|
|
|
sort:i+1, |
|
|
|
id:e.id |
|
|
|
id:e.id |
|
|
|
} |
|
|
|
} |
|
|
|