From 0b58700ce0eeef47687a2102eba2a08b2daa3068 Mon Sep 17 00:00:00 2001
From: husq <931347610@qq.com>
Date: Tue, 10 Oct 2023 17:03:06 +0800
Subject: [PATCH] 添加设备、计划库的默认文字

---
 src/pages/page-web/projects/task.vue |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/pages/page-web/projects/task.vue b/src/pages/page-web/projects/task.vue
index 63d4968..d5c4fad 100644
--- a/src/pages/page-web/projects/task.vue
+++ b/src/pages/page-web/projects/task.vue
@@ -90,7 +90,7 @@
                           }}
                         </div>
                       </div>
-                      <div class="mr5 flex-align-center flex-row" style="width: 85px; margin-right: 0; height: 18px;">
+                      <div class="mr5 flex-align-center flex-row" style="width: 125px; margin-right: 0; height: 18px;">
                         <div v-if="hmsInfo[dock.gateway.sn]" class="flex-align-center flex-row">
                           <div :class="hmsInfo[dock.gateway.sn][0].level === EHmsLevel.CAUTION ? 'caution-blink' :
                           hmsInfo[dock.gateway.sn][0].level === EHmsLevel.WARN ? 'warn-blink' : 'notice-blink'"
@@ -106,7 +106,7 @@
                                      :overlayStyle="{ width: '200px', height: '300px' }">
                             <div :class="hmsInfo[dock.gateway.sn][0].level === EHmsLevel.CAUTION ? 'caution' :
                             hmsInfo[dock.gateway.sn][0].level === EHmsLevel.WARN ? 'warn' : 'notice'"
-                                 style="margin-left: 3px; width: 62px; height: 16px;">
+                                 style="margin-left: 3px; width:107px; height: 16px;">
                               <span class="word-loop">{{ hmsInfo[dock.gateway.sn][0].message_zh }}</span>
                             </div>
                             <template #content>
@@ -137,7 +137,7 @@
                             </template>
                           </a-popover>
                         </div>
-                        <div v-else class="width-100" style="height: 90%; background: rgba(0, 0, 0, 0.35)"></div>
+                        <div v-else class="width-100" style="height: 90%; background: rgba(0, 0, 0, 0.35)">N/A</div>
                       </div>
                     </div>
                     <!-- // 机场是否启动 -->
@@ -154,7 +154,7 @@
                           }}
                         </div>
                       </div>
-                      <div class="mr5 flex-align-center flex-row" style="width: 85px; margin-right: 0; height: 18px;">
+                      <div class="mr5 flex-align-center flex-row" style="width: 125px; margin-right: 0; height: 18px;">
                         <div v-if="hmsInfo[dock.sn]" class="flex-align-center flex-row">
                           <div :class="hmsInfo[dock.sn][0].level === EHmsLevel.CAUTION ? 'caution-blink' :
                           hmsInfo[dock.sn][0].level === EHmsLevel.WARN ? 'warn-blink' : 'notice-blink'"
@@ -170,7 +170,7 @@
                                      :overlayStyle="{ width: '200px', height: '300px' }">
                             <div :class="hmsInfo[dock.sn][0].level === EHmsLevel.CAUTION ? 'caution' :
                             hmsInfo[dock.sn][0].level === EHmsLevel.WARN ? 'warn' : 'notice'"
-                                 style="margin-left: 3px; width: 62px; height: 16px;">
+                                 style="margin-left: 3px; width:107px; height: 16px;">
                               <span class="word-loop">{{ hmsInfo[dock.sn][0].message_zh }}</span>
                             </div>
                             <template #content>
@@ -200,7 +200,7 @@
                             </template>
                           </a-popover>
                         </div>
-                        <div v-else class="width-100" style="height: 90%; background: rgba(0, 0, 0, 0.35)"></div>
+                        <div v-else class="width-100" style="height: 90%; background: rgba(0, 0, 0, 0.35)">N/A</div>
                       </div>
                     </div>
                   </div>
@@ -263,7 +263,7 @@
                           }}
                         </div>
                       </div>
-                      <div class="mr5 flex-align-center flex-row" style="width: 85px; margin-right: 0; height: 18px;">
+                      <div class="mr5 flex-align-center flex-row" style="width: 125px; margin-right: 0; height: 18px;">
                         <div v-if="hmsInfo[dock.gateway.sn]" class="flex-align-center flex-row">
                           <div :class="hmsInfo[dock.gateway.sn][0].level === EHmsLevel.CAUTION ? 'caution-blink' :
                           hmsInfo[dock.gateway.sn][0].level === EHmsLevel.WARN ? 'warn-blink' : 'notice-blink'"
@@ -279,7 +279,7 @@
                                      :overlayStyle="{ width: '200px', height: '300px' }">
                             <div :class="hmsInfo[dock.gateway.sn][0].level === EHmsLevel.CAUTION ? 'caution' :
                             hmsInfo[dock.gateway.sn][0].level === EHmsLevel.WARN ? 'warn' : 'notice'"
-                                 style="margin-left: 3px; width: 62px; height: 16px;">
+                                 style="margin-left: 3px; width:107px; height: 16px;">
                               <span class="word-loop">{{ hmsInfo[dock.gateway.sn][0].message_zh }}</span>
                             </div>
                             <template #content>
@@ -310,7 +310,7 @@
                             </template>
                           </a-popover>
                         </div>
-                        <div v-else class="width-100" style="height: 90%; background: rgba(0, 0, 0, 0.35)"></div>
+                        <div v-else class="width-100" style="height: 90%; background: rgba(0, 0, 0, 0.35)">N/A</div>
                       </div>
                     </div>
                     <!-- // 机场是否启动 -->
@@ -327,7 +327,7 @@
                           }}
                         </div>
                       </div>
-                      <div class="mr5 flex-align-center flex-row" style="width: 85px; margin-right: 0; height: 18px;">
+                      <div class="mr5 flex-align-center flex-row" style="width: 125px; margin-right: 0; height: 18px;">
                         <div v-if="hmsInfo[dock.sn]" class="flex-align-center flex-row">
                           <div :class="hmsInfo[dock.sn][0].level === EHmsLevel.CAUTION ? 'caution-blink' :
                           hmsInfo[dock.sn][0].level === EHmsLevel.WARN ? 'warn-blink' : 'notice-blink'"
@@ -343,7 +343,7 @@
                                      :overlayStyle="{ width: '200px', height: '300px' }">
                             <div :class="hmsInfo[dock.sn][0].level === EHmsLevel.CAUTION ? 'caution' :
                             hmsInfo[dock.sn][0].level === EHmsLevel.WARN ? 'warn' : 'notice'"
-                                 style="margin-left: 3px; width: 62px; height: 16px;">
+                                 style="margin-left: 3px; width:107px; height: 16px;">
                               <span class="word-loop">{{ hmsInfo[dock.sn][0].message_en }}</span>
                             </div>
                             <template #content>
@@ -373,7 +373,7 @@
                             </template>
                           </a-popover>
                         </div>
-                        <div v-else class="width-100" style="height: 90%; background: rgba(0, 0, 0, 0.35)"></div>
+                        <div v-else class="width-100" style="height: 90%; background: rgba(0, 0, 0, 0.35)">N/A</div>
                       </div>
                     </div>
                   </div>

--
Gitblit v1.9.3