浏览代码

视频监控卡片展示调整

zhangjie 4 年之前
父节点
当前提交
a46df0a7eb

+ 2 - 1
src/features/invigilation/ExamInvigilation/ExamInvigilation.vue

@@ -380,6 +380,7 @@ export default {
         item.liveUrl = item.monitorLiveUrl
           ? `${domain}/live/${item.monitorLiveUrl.toLowerCase()}.flv`
           : "";
+        item.progress = item.progress ? item.progress * 100 : 0;
         return item;
       });
     },
@@ -582,7 +583,7 @@ export default {
     border-radius: 0;
     .invigilation-student {
       background: #2d325a;
-      border-radius: 10px;
+      border: 1px solid #2d325a;
     }
     .student-info {
       .student-time {

+ 2 - 2
src/features/invigilation/ExamReport/ReportStatistics.vue

@@ -28,8 +28,8 @@
     <div class="part-page">
       <div class="page-info stat-page-info">
         共计<span>应考{{ examTotal }}</span
-        >科次,<span>实考{{ actualExamTotal }}</span>科次,<span
-          >缺考{{ deficiencyExamTotal }}</span
+        >科次,<span>实考{{ actualExamTotal }}</span
+        >科次,<span>缺考{{ deficiencyExamTotal }}</span
         >科次
       </div>
       <el-pagination

+ 4 - 1
src/features/invigilation/OnlinePatrol/OnlinePatrol.vue

@@ -316,7 +316,10 @@ export default {
       };
 
       const res = await patrolList(datas);
-      this.dataList = res.data.data.records;
+      this.dataList = res.data.data.records.map((item) => {
+        item.progress = item.progress ? item.progress * 100 : 0;
+        return item;
+      });
       this.total = res.data.data.total;
     },
     toPage(page) {

+ 3 - 1
src/features/invigilation/common/InvigilationStudent.vue

@@ -63,6 +63,8 @@ export default {
   padding: 10px;
   position: relative;
   margin-bottom: 20px;
+  border: 1px solid #f0f4f9;
+  border-radius: 10px;
 
   &-breach {
     &::before {
@@ -145,7 +147,7 @@ export default {
     position: absolute;
     height: 24px;
     top: 0;
-    right: 0;
+    right: 10px;
     padding: 4px 12px;
     border-radius: 12px;
     background: #abb8c9;