Browse Source

虚拟摄像头为空显示";"

qinchao 4 years ago
parent
commit
4e0bf8aa51
2 changed files with 0 additions and 11 deletions
  1. 0 8
      src/modules/oe/views/awaitingAudit.vue
  2. 0 3
      src/modules/oe/views/captureDetail.vue

+ 0 - 8
src/modules/oe/views/awaitingAudit.vue

@@ -274,7 +274,6 @@
               sortable
               sortable
               label="虚拟设备"
               label="虚拟设备"
               prop="virtualCameraNames"
               prop="virtualCameraNames"
-              :formatter="formatVirtualCameraName"
               width="120"
               width="120"
             ></el-table-column>
             ></el-table-column>
             <el-table-column
             <el-table-column
@@ -638,13 +637,6 @@ export default {
           });
           });
         });
         });
     },
     },
-    formatVirtualCameraName(row) {
-      if (row.virtualCameraNames === "") {
-        return ";";
-      } else {
-        return row.virtualCameraNames;
-      }
-    },
     selectable(row) {
     selectable(row) {
       return row.isWarn;
       return row.isWarn;
     },
     },

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

@@ -364,9 +364,6 @@ export default {
               isPendingAudit == "false" &&
               isPendingAudit == "false" &&
               response.data.isWarn &&
               response.data.isWarn &&
               !response.data.isAudit;
               !response.data.isAudit;
-            if (response.data.virtualCameraNames === "") {
-              response.data.virtualCameraNames = ";";
-            }
             this.examAuditData = new Array(response.data);
             this.examAuditData = new Array(response.data);
             var studentId = response.data.studentId;
             var studentId = response.data.studentId;
             this.syncCapturePhotoPath = response.data.syncCaptureFileUrl;
             this.syncCapturePhotoPath = response.data.syncCaptureFileUrl;