From d55fef9c7205b412cadc99c2bb2dea9329b7a2c9 Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期三, 31 七月 2024 09:39:19 +0800
Subject: [PATCH] 1、公司级与分厂级看板调整OEE图表样式 2、各看板中的饼图图表增加随分辨率变化而改变自身半径功能,从而更清晰的展示内容标题指示箭头 3、OEE综合效率分析页面新增车间字段

---
 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