Your Name 1 рік тому
батько
коміт
aa36e1c6e0
1 змінених файлів з 3 додано та 3 видалено
  1. 3 3
      src/views/tasks/Index.vue

+ 3 - 3
src/views/tasks/Index.vue

@@ -106,7 +106,7 @@
       </div>
     </el-dialog>
     <!-- 预览识别结果 -->
-    <el-dialog title="预览识别结果" :visible.sync="showAnsVisible" width="500px" append-to-body>
+    <el-dialog title="预览识别结果" :visible.sync="showAnsVisible" width="80%" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="80px">
         <el-image :src="curStudentRecImg">
           <div slot="error" class="image-slot">
@@ -268,7 +268,7 @@
         },
         imgForm:{
           page:1,
-          page_size:10
+          page_size:20
         },
         form1: {},
         form2: {},
@@ -607,7 +607,7 @@
         console.log(e)
       },
       showStudentImgs(row) {
-        this.curStudentRecImg = row.imgs;
+        this.curStudentRecImg = JSON.parse(row.imgs)[0];
         this.showAnsVisible = true;
       },
       showCurRecImg(row) {