Browse Source

录像诊断调试

jiawuxian 1 năm trước cách đây
mục cha
commit
8ca4ce770d

+ 1 - 1
src/views/iot/videoDiagnosis/ProgressBar.vue

@@ -237,7 +237,7 @@ export default {
           var middle_date = _this.graduation_title(date);
           _this.ctx.fillStyle = "#318ed4";
           _this.ctx.font = "14px Arial";
-          _this.ctx.fillText(middle_date, graduation_left - 17, 35);
+          _this.ctx.fillText(middle_date,i==0? graduation_left: graduation_left- 17, 35);
           _this.drawLine(
             graduation_left,
             50,

+ 6 - 6
src/views/iot/videoDiagnosis/detail.vue

@@ -76,14 +76,14 @@
                   >
                 </li>
                 <li>
-                  <el-tag size="small" type="warning" v-if="data.quality.blurry"
+                  <el-tag size="small" type="danger" v-if="data.quality.blurry"
                     >模糊</el-tag
                   >
                 </li>
                 <li>
                   <el-tag
                     size="small"
-                    type="warning"
+                    type="danger"
                     v-if="data.quality.colorCast"
                     >偏色</el-tag
                   >
@@ -91,20 +91,20 @@
                 <li>
                   <el-tag
                     size="small"
-                    type="warning"
+                    type="danger"
                     v-if="data.quality.snowflake"
                     >雪花</el-tag
                   >
                 </li>
                 <li>
-                  <el-tag size="small" type="warning" v-if="data.quality.stripe"
+                  <el-tag size="small" type="danger" v-if="data.quality.stripe"
                     >条纹</el-tag
                   >
                 </li>
                 <li>
                   <el-tag
                     size="small"
-                    type="warning"
+                    type="danger"
                     v-if="data.quality.contrast"
                     >对比度</el-tag
                   >
@@ -112,7 +112,7 @@
                 <li>
                   <el-tag
                     size="small"
-                    type="warning"
+                    type="danger"
                     v-if="data.quality.brightness"
                     >亮度</el-tag
                   >

+ 3 - 4
src/views/iot/videoRecorder/detail.dialog.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="edu-training-edit">
-    <DialogCom title="查看监控主机详情" :visible.sync="isShow" width="80%">
+    <DialogCom title="查看监控主机详情" :visible.sync="isShow" width="60%">
       <div class="page-body">
         <div class="titleDiv">
           <div class="line"></div>
@@ -51,11 +51,10 @@
 
             <el-progress
               class="progress"
-              stroke-width="10"
+              stroke-width="15"
               :status="progressStatus(disk)"
               :text-inside="true"
               text-color="white"
-              :stroke-width="20"
               :percentage="diskProgress(disk)"
             ></el-progress>
           </div>
@@ -284,7 +283,7 @@ export default {
   flex-flow: wrap;
   align-items: center;
   .Fatherprogress {
-    width: 400px;
+    width: 33.3333%;
     margin-bottom: 20px;
     margin-top: 20px;
     .progressName {