From 65a5e8c7ec6d6eab78b76c5831eaf40c30e23c61 Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期五, 13 九月 2024 14:56:50 +0800
Subject: [PATCH] 1、设备管理页面设备种类字段改成重要程度字段;新增设备异常状态字段,若表格记录的设备状态不为正常时,则标红此表格记录 2、设备利用率、设备开动率、班次利用率以及设备综合效率分析新增按照重要程度字段查询表格数据;左侧树数据新增参数key,用来过滤异常状态设备 3、设备利用率页面新增设备型号字段

---
 src/views/mdc/base/modules/StatisticsChart/StatisticsLegend.vue |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/views/mdc/base/modules/StatisticsChart/StatisticsLegend.vue b/src/views/mdc/base/modules/StatisticsChart/StatisticsLegend.vue
index 90fddfd..7cb1658 100644
--- a/src/views/mdc/base/modules/StatisticsChart/StatisticsLegend.vue
+++ b/src/views/mdc/base/modules/StatisticsChart/StatisticsLegend.vue
@@ -609,10 +609,14 @@
             const { isEquipment, productionId, tierName } = this.$route.params
             // 鍒ゆ柇鏄惁鏄粠鐪嬫澘璺宠浆杩囨潵锛宲roductionId 瀛樺湪鍒欎负浠庣湅鏉胯烦杞�
             if (productionId) {
-              _this.$set(this.queryParam, 'tierName', tierName)
               // 鍒ゆ柇鏄惁鐐瑰嚮鐨勬槸璁惧灞傜骇
-              if (!isEquipment) _this.$set(this.queryParams, 'parentId', productionId)
-              else _this.$set(this.queryParams, 'equipmentId', productionId)
+              if (!isEquipment) {
+                _this.$set(this.queryParams, 'parentId', productionId)
+                _this.$set(this.queryParam, 'tierName', tierName)
+              } else {
+                _this.$set(this.queryParams, 'equipmentId', productionId)
+                _this.$set(this.queryParam, 'tierName', productionId + '/' + tierName)
+              }
             } else {
               if (res.result[0]) {
                 _this.$set(this.queryParam, 'tierName', res.result[0].title)

--
Gitblit v1.9.3