瀏覽代碼

审核bug fix

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

+ 6 - 4
src/modules/oe/views/captureDetail.vue

@@ -3,7 +3,7 @@
     <el-header id="capture-detail-header">
       <LinkTitlesCustom :currentPaths="currentPaths" />
     </el-header>
-    <el-main style="overflow: unset;margin-left: 20px;" class="el-main-padding">
+    <el-main style="overflow: unset; margin-left: 20px" class="el-main-padding">
       <el-row>
         <el-col :span="5">
           <img :src="studentBasePhotoPath" alt width="180" />
@@ -14,7 +14,7 @@
             <el-col :span="8" class="capture-title">
               <span>监考数据ID:{{ examRecordDataId }}</span>
             </el-col>
-            <el-col :span="16" style="text-align: right;">
+            <el-col :span="16" style="text-align: right">
               <el-button
                 size="small"
                 v-if="showAudit"
@@ -244,7 +244,7 @@
               ></el-option>
             </el-select>
           </el-form-item>
-          <el-form-item label="详情描述" style="margin-top:15px;">
+          <el-form-item label="详情描述" style="margin-top: 15px">
             <el-input
               v-model="auditForm.disciplineDetail"
               type="textarea"
@@ -314,7 +314,9 @@ export default {
         .then(response => {
           if (response.data) {
             this.showAudit =
-              !isPendingAudit && response.data.isWarn && !response.data.isAudit;
+              isPendingAudit == "false" &&
+              response.data.isWarn &&
+              !response.data.isAudit;
             this.examAuditData.push(response.data);
             var studentId = response.data.studentId;
             this.syncCapturePhotoPath = response.data.syncCaptureFileUrl;