From 7c38e9cf9fd161a0e296a047e904eeaf65d96f9f Mon Sep 17 00:00:00 2001
From: qushaowei <qushaowei@163.com>
Date: 星期二, 16 四月 2024 09:25:05 +0800
Subject: [PATCH] 校验修改

---
 src/views/dashboard/EquipmentSignage.vue |   25 +++++++++----------------
 1 files changed, 9 insertions(+), 16 deletions(-)

diff --git a/src/views/dashboard/EquipmentSignage.vue b/src/views/dashboard/EquipmentSignage.vue
index 0938c54..6c954df 100644
--- a/src/views/dashboard/EquipmentSignage.vue
+++ b/src/views/dashboard/EquipmentSignage.vue
@@ -69,6 +69,9 @@
                 <a-descriptions-item label="鎿嶄綔宸�">
                   {{equipmentInfo.operator}}
                 </a-descriptions-item>
+                <a-descriptions-item label="璁惧鐘舵��">
+                  {{equipmentInfo.equipmentStatus}}
+                </a-descriptions-item>
               </a-descriptions>
             </dv-border-box-11>
 
@@ -251,7 +254,8 @@
           standard: '鏃�',
           depart: '杞ф満涓績',
           workshopSection: '407涓�宸ユ',
-          operator: 'admin'
+          operator: 'admin',
+          equipmentStatus: 0
         },
         buttonList: [
           {
@@ -406,7 +410,7 @@
       drawGaugeChart1(opt) {
         this.gaugeChart1 = this.$echarts.init(document.getElementById('gauge_chart1'))
         const option = Object.assign({}, opt)
-        option.title.text = '鍒╃敤鐜�'
+        option.title.text = moment().subtract(1, 'days').format('M鏈圖鏃�') + '鍒╃敤鐜�'
         option.series[0].name = '鍒╃敤鐜�'
         option.series[0].data = [56]
         this.gaugeChart1.setOption(option, true)
@@ -416,7 +420,7 @@
       drawGaugeChart2(opt) {
         this.gaugeChart2 = this.$echarts.init(document.getElementById('gauge_chart2'))
         const option = Object.assign({}, opt)
-        option.title.text = '寮�鍔ㄧ巼'
+        option.title.text = moment().subtract(1, 'days').format('M鏈圖鏃�') + '寮�鍔ㄧ巼'
         option.series[0].name = '寮�鍔ㄧ巼'
         option.series[0].data = [23]
         this.gaugeChart2.setOption(option, true)
@@ -426,7 +430,7 @@
       drawGaugeChart3(opt) {
         this.gaugeChart3 = this.$echarts.init(document.getElementById('gauge_chart3'))
         const option = Object.assign({}, opt)
-        option.title.text = '寮�鏈虹巼'
+        option.title.text = moment().subtract(1, 'days').format('M鏈圖鏃�') + '寮�鏈虹巼'
         option.series[0].name = '寮�鏈虹巼'
         option.series[0].data = [44]
         this.gaugeChart3.setOption(option, true)
@@ -436,7 +440,7 @@
       drawGaugeChart4(opt) {
         this.gaugeChart4 = this.$echarts.init(document.getElementById('gauge_chart4'))
         const option = Object.assign({}, opt)
-        option.title.text = 'OEE'
+        option.title.text = moment().subtract(1, 'months').format('M鏈�') + `OEE`
         option.series[0].name = 'OEE'
         option.series[0].data = [78]
         this.gaugeChart4.setOption(option, true)
@@ -620,17 +624,6 @@
 
       .left-col {
         padding: 0 10px 0;
-
-        .back-nav {
-          width: 100px;
-          height: 30px;
-          color: #fff;
-          position: absolute;
-          top: 15px;
-          left: 15px;
-          cursor: pointer;
-          z-index: 9999
-        }
 
         .equipmentId-container {
           height: 100%;

--
Gitblit v1.9.3