Browse Source

增加字段显示

Koishi 1 year ago
parent
commit
d7a9aaf732
1 changed files with 8 additions and 0 deletions
  1. 8 0
      src/components/search/action.vue

+ 8 - 0
src/components/search/action.vue

@@ -162,6 +162,13 @@
                   </span>
                   <span class="showTitle fontSty">kw</span>
                 </div>
+                <div class="titleinfo">
+                  <span class="showTitle fontSty1">维护时长:</span>
+                  <span class="showvalue">
+                    {{ controlStatisticsInfo.maintenanceTime?.toFixed(2) || 0 }}
+                  </span>
+                  <span class="showTitle fontSty">分钟</span>
+                </div>
               </div>
             </div>
           </el-scrollbar>
@@ -414,6 +421,7 @@ export default {
             startCount: res.data.startCount,
             stopCount: res.data.stopCount,
             unMaintenanceCount: res.data.unMaintenanceCount,
+            maintenanceTime: res.data.maintenanceTime,
           };
         });
     },