From 8f4d079c073edd5d95118158fc60800473026073 Mon Sep 17 00:00:00 2001
From: zhuzhuanzhuan
Date: 星期四, 09 五月 2024 14:51:31 +0800
Subject: [PATCH] 1、首页调整技术状态图表禁用显示颜色 2、首页设备级看板操作证信息增加操作工字段 3、全局设备组选择设备增加按照设备编号查询功能

---
 src/views/dashboard/EquipmentSignage.vue |   44 ++++++++++++++++++++++++++++++--------------
 1 files changed, 30 insertions(+), 14 deletions(-)

diff --git a/src/views/dashboard/EquipmentSignage.vue b/src/views/dashboard/EquipmentSignage.vue
index 1917eca..e0aa148 100644
--- a/src/views/dashboard/EquipmentSignage.vue
+++ b/src/views/dashboard/EquipmentSignage.vue
@@ -67,9 +67,6 @@
                 <a-descriptions-item label="宸ユ">
                   {{equipmentInfo.workShopName|equipmentInfoDisplay}}
                 </a-descriptions-item>
-                <a-descriptions-item label="鎿嶄綔宸�">
-                  {{operationCertificateInfo.realname|equipmentInfoDisplay}}
-                </a-descriptions-item>
                 <a-descriptions-item label="璁惧鐘舵��">
                   {{equipmentInfo.equipmentStatus|equipmentInfoDisplay}}
                 </a-descriptions-item>
@@ -79,16 +76,26 @@
             <dv-border-box-11 title="鎿嶄綔璇佷俊鎭�" class="info-container" style="flex:2;">
               <a-descriptions :column="1">
                 <a-descriptions-item label="鎿嶄綔璇佺紪鍙�">
-                  {{operationCertificateInfo.num|equipmentInfoDisplay}}
+                  <a-tooltip>
+                    <template slot="title">
+                      {{operationCertificateInfo.num|equipmentInfoDisplay}}
+                    </template>
+                    {{operationCertificateInfo.num|equipmentInfoDisplay}}
+                  </a-tooltip>
                 </a-descriptions-item>
                 <a-descriptions-item label="褰撳墠鍛ㄦ湡鍒嗘暟">
                   {{operationCertificateInfo.currentCycleScore|equipmentInfoDisplay}}
                 </a-descriptions-item>
-                <a-descriptions-item label="鍙戣瘉鏃ユ湡">
-                  {{operationCertificateInfo.issueDate|equipmentInfoDisplay}}
+                <a-descriptions-item label="鍙戣瘉/鎴鏃ユ湡">
+                  <a-tooltip>
+                    <template slot="title" v-if="operationCertificateInfo.issueDate||operationCertificateInfo.endTime">
+                      {{operationCertificateInfo.issueDate|equipmentInfoDisplay}}/{{operationCertificateInfo.endTime|equipmentInfoDisplay}}
+                    </template>
+                    {{operationCertificateInfo.issueDate|equipmentInfoDisplay}}/{{operationCertificateInfo.endTime|equipmentInfoDisplay}}
+                  </a-tooltip>
                 </a-descriptions-item>
-                <a-descriptions-item label="鍛ㄦ湡鎴鏃ユ湡">
-                  {{operationCertificateInfo.endTime|equipmentInfoDisplay}}
+                <a-descriptions-item label="鎿嶄綔宸�">
+                  {{operationCertificateInfo.realname|equipmentInfoDisplay}}
                 </a-descriptions-item>
               </a-descriptions>
             </dv-border-box-11>
@@ -96,10 +103,20 @@
             <dv-border-box-11 title="缁存姢淇℃伅" class="info-container" style="flex:2;">
               <a-descriptions :column="1">
                 <a-descriptions-item label="涓嬫涓変繚鏃ユ湡">
-                  {{equipmentInfo.nextThirdMaintenanceTime|equipmentInfoDisplay}}
+                  <a-tooltip>
+                    <template slot="title" v-if="equipmentInfo.nextThirdMaintenanceTime">
+                      {{equipmentInfo.nextThirdMaintenanceTime}}
+                    </template>
+                    {{equipmentInfo.nextThirdMaintenanceTime|equipmentInfoDisplay}}
+                  </a-tooltip>
                 </a-descriptions-item>
                 <a-descriptions-item label="涓嬫浜屼繚鏃ユ湡">
-                  {{equipmentInfo.nextSecondMaintenanceTime|equipmentInfoDisplay}}
+                  <a-tooltip>
+                    <template slot="title" v-if="equipmentInfo.nextSecondMaintenanceTime">
+                      {{equipmentInfo.nextSecondMaintenanceTime|equipmentInfoDisplay}}
+                    </template>
+                    {{equipmentInfo.nextSecondMaintenanceTime|equipmentInfoDisplay}}
+                  </a-tooltip>
                 </a-descriptions-item>
                 <a-descriptions-item label="鎶�鏈姸鎬�">
                   {{equipmentInfo.technology_status|equipmentInfoDisplay}}
@@ -113,7 +130,8 @@
             <div style="display: flex;justify-content:space-evenly;flex: 1">
               <div style="width: 45%;" class="info-card-container">
                 <div class="info-card-title">鏈湀鎶ヤ慨娆℃暟</div>
-                <div class="info-card-value" style="color: #EAC910">{{equipmentInfo.repairCount|equipmentInfoDisplay}}</div>
+                <div class="info-card-value" style="color: #EAC910">{{equipmentInfo.repairCount|equipmentInfoDisplay}}
+                </div>
               </div>
 
               <div style="width: 45%;" class="info-card-container">
@@ -434,7 +452,7 @@
               // 涓绘爣棰樻枃鏈牱寮�
               fontSize: 18,
               fontWeight: 'normal',
-              color: '#1AD8DE',
+              color: '#1AD8DE'
             }
           },
           tooltip: {
@@ -875,8 +893,6 @@
     padding-bottom: 25px;
     white-space: nowrap;
     overflow: hidden;
-    -ms-text-overflow: ellipsis;
-    text-overflow: ellipsis;
   }
 
   /deep/ .ant-descriptions-item-label, /deep/ .ant-descriptions-item-content {

--
Gitblit v1.9.3