@@ -275,7 +275,7 @@
return
}
let params = {
- id:1,
+ id:this.$route.query.id,
stdQnoPoints:this.stdQnoPoints,
khPoints:this.snoImg,
ansPoints:this.ansCardImgList[0]
@@ -283,6 +283,7 @@
this.$api.updatePaperInfo(params).then(res=>{
this.msgSuccess("成功!");
this.getData();
+ this.open = false;
})
},
initCropper() {
@@ -110,6 +110,7 @@
</el-table>
</el-col>
<el-col :span="11">
+ <el-button size="small" type="warning">试卷扫描</el-button>
<div style="height:70vh;overflow-y:scroll;">
<el-upload
class="upload-demo"