From 22fdeabab45b88459857dd4b5750c541bedc56e2 Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期四, 07 十一月 2024 12:03:30 +0800
Subject: [PATCH] 调整总控车间看板左侧第一个图表的数据格式

---
 src/views/mdc/base/MasterControlWorkshopSignage.vue |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/src/views/mdc/base/MasterControlWorkshopSignage.vue b/src/views/mdc/base/MasterControlWorkshopSignage.vue
index 3f87dc4..cf4ac3b 100644
--- a/src/views/mdc/base/MasterControlWorkshopSignage.vue
+++ b/src/views/mdc/base/MasterControlWorkshopSignage.vue
@@ -23,7 +23,7 @@
         <div class="page-title">
 
           <div style="position: relative">
-            <img src="../../../assets/image/logo.jpg">
+            <img src="@/assets/logo-yt.png">
             <span style="cursor: pointer"
                   @dblclick="modalVisible=true">{{isFakeData?fakeData.title:'涓�鎷栧ぇ鎷栬閰嶅巶'}}</span>
           </div>
@@ -268,15 +268,15 @@
               this.leftColChart1Data = [
                 {
                   'name': '浜у搧鍚堟牸鐜�',
-                  'count': res.result.passRate ? res.result.passRate : 0
+                  'count': res.result.passRate ? res.result.passRate / 100 : 0
                 },
                 {
                   'name': '璁惧鍒╃敤鐜�',
-                  'count': res.result.utilizationRate ? res.result.utilizationRate : 0
+                  'count': res.result.utilizationRate ? res.result.utilizationRate / 100 : 0
                 },
                 {
                   'name': '璁″垝瀹屾垚鐜�',
-                  'count': res.result.planCompleteRate ? res.result.planCompleteRate : 0
+                  'count': res.result.planCompleteRate ? res.result.planCompleteRate / 100 : 0
                 }
               ]
               this.drawLeftColChart1()
@@ -2384,8 +2384,9 @@
           text-align: center;
 
           img {
+            height: 100%;
+            width: 10%;
             position: absolute;
-            width: 12%;
             left: 12%;
           }
         }
@@ -2449,7 +2450,7 @@
         .page-description {
           text-align: center;
           color: #fff;
-          font-size: 14px;
+          font-size: 0.7vw;
         }
       }
 

--
Gitblit v1.9.3