Your Name 1 年之前
父节点
当前提交
02d23390ed
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. 2 1
      src/views/papers/cutPaper.vue
  2. 1 0
      src/views/tasks/Index.vue

+ 2 - 1
src/views/papers/cutPaper.vue

@@ -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() {

+ 1 - 0
src/views/tasks/Index.vue

@@ -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"