瀏覽代碼

剩余考试次数和同步抓拍照片bug修复

lideyin 5 年之前
父節點
當前提交
171bc13994
共有 1 個文件被更改,包括 9 次插入0 次删除
  1. 9 0
      src/modules/oe/views/captureDetail.vue

+ 9 - 0
src/modules/oe/views/captureDetail.vue

@@ -7,6 +7,7 @@
       <el-row>
         <el-col :span="6">
           <img :src="studentBasePhotoPath" alt width="180" />
+          <img :src="syncCapturePhotoPath" alt width="180" class="syncPhto" />
         </el-col>
         <el-col :span="18">
           <el-row>
@@ -209,6 +210,7 @@ export default {
       examRecordData: [],
       capturesList: [],
       studentBasePhotoPath: "",
+      syncCapturePhotoPath: "",
       showAudit: false,
       dialogFormVisible: false,
       auditForm: {
@@ -239,6 +241,7 @@ export default {
               !isPendingAudit && response.data.isWarn && !response.data.isAudit;
             this.examAuditData.push(response.data);
             var studentId = response.data.studentId;
+            this.syncCapturePhotoPath = response.data.syncCaptureFileUrl;
             this.getStudentInfo(studentId);
           }
         });
@@ -398,5 +401,11 @@ export default {
   text-align: center;
   color: red;
 }
+.syncPhto {
+  margin-top: 30px;
+  display: block;
+  width: 180px;
+  height: 159px;
+}
 </style>
 <style scoped src="../style/common.css"></style>