|
|
@ -202,7 +202,7 @@ |
|
|
|
<!--type="number" @blur="updateProjectJudgment"--> |
|
|
|
<!--type="number" @blur="updateProjectJudgment"--> |
|
|
|
<el-input :disabled="isDetail" |
|
|
|
<el-input :disabled="isDetail" |
|
|
|
v-model.trim="scope.row.score" |
|
|
|
v-model.trim="scope.row.score" |
|
|
|
@input="scoreChange(scope.row, scope.$index,$event)"></el-input> |
|
|
|
@input="scoreChange(scope.row, scope.$index)"></el-input> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="操作" |
|
|
|
<el-table-column label="操作" |
|
|
@ -633,8 +633,9 @@ export default { |
|
|
|
let y = index + 2; |
|
|
|
let y = index + 2; |
|
|
|
this.projectJudgmentData.splice(x - 1, 1, ...this.projectJudgmentData.splice(y - 1, 1, this.projectJudgmentData[x - 1])); |
|
|
|
this.projectJudgmentData.splice(x - 1, 1, ...this.projectJudgmentData.splice(y - 1, 1, this.projectJudgmentData[x - 1])); |
|
|
|
}, |
|
|
|
}, |
|
|
|
scoreChange (row, index) { // 暂时解决,输入没有反应 |
|
|
|
scoreChange (row, i) { |
|
|
|
this.projectJudgmentData.splice(index, 1, row); |
|
|
|
row.score = row.score.replace(/[^\d]/g, '') |
|
|
|
|
|
|
|
this.projectJudgmentData.splice(i, 1, row); |
|
|
|
}, |
|
|
|
}, |
|
|
|
delJudgePoint (index) { // 删除判分点 |
|
|
|
delJudgePoint (index) { // 删除判分点 |
|
|
|
this.$confirm("确定要删除吗?", "提示", { |
|
|
|
this.$confirm("确定要删除吗?", "提示", { |
|
|
|