From e081f232138b318338ffca07e7c9fcd941ac20b4 Mon Sep 17 00:00:00 2001
From: zhuzhuanzhuan
Date: 星期五, 12 四月 2024 09:54:17 +0800
Subject: [PATCH] 1、设备综合效率分析以及设备加工工件报表页面表格高度设置为页面进入时即可拖动水平滚动条的高度 2、首页 (1)OEE标题增加月份展示,利用率等效率标题增加日期展示 (2)公司及车间级看板单击OEE车间图表跳转至设备综合效率分析页面并根据唯一编号筛选页面对应数据 (3)工段级看板单击设备效率统计仪表盘图标跳转至统计分析页面并根据唯一编号筛选页面对应数据 (4)调整折线图数据展示维度,通过当前工段下各个设备前7天的利用率、开动率和开机率轮播展示

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

diff --git a/src/views/dashboard/EquipmentSignage.vue b/src/views/dashboard/EquipmentSignage.vue
index 04ac89e..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)

--
Gitblit v1.9.3