| 
					
				 | 
			
			
				@@ -1,6 +1,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <div class="videoDaysDetail"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <DialogCom title="录像详情" :visible.sync="isShow" width="1200px"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <DialogCom title="录像详情" :visible.sync="isShow" width="1100px"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-descriptions 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         title="基础信息" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         :column="2" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -45,7 +45,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 >{{ data.storage.realDays }}天</el-descriptions-item 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <el-descriptions-item label="最早录像存储日期">{{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                dayjs(data.storage.earliestTime).format("YYYY年M月D日") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                data.storage.earliestTime 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  ? dayjs(data.storage.earliestTime).format("YYYY年M月D日") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  : "" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               }}</el-descriptions-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </el-descriptions> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <el-descriptions :column="1"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -74,7 +76,8 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <div class="calendar-box"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <Calendar 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                :startDate="data.storage.earliestTime" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                :startDate="calenderStartDate" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                :endDate="new Date(dayjs().add(-1, 'day').startOf('day'))" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 :full="data.storage.fullDates" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 :paritialLoss="data.storage.partialLossDates" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 :allLoss="data.storage.allLostDates" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -82,14 +85,13 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               ></Calendar> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <div style="height:10px"></div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <div style="height: 10px"></div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <el-descriptions 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             title="录像完整性" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             :column="3" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             border 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             :label-style="labelStyle" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             :contentStyle="content_style" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-             
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             v-if="integrity == null || integrity.state == null" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <el-descriptions-item label="检测结果"> 未知 </el-descriptions-item> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -309,6 +311,22 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   props: ["videoIntegrityState", "videoDaysState", "videoDiagnosisState"], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  computed: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    calenderStartDate() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if (this.data == null || this.data.storage == null) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return new Date(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if (this.data.storage.earliestTime) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return this.data.storage.earliestTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      let d = dayjs().add(this.data.storage.planDays * -1 - 1, "day"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      return d; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   methods: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     dayjs, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     getLabel, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -379,7 +397,10 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let minute = duration % 60; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      str += `${minute}分`; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if (minute > 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        str += `${minute}分`; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       return str; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 |