From 095654ae8a89476a769dcf19472ede10f7a0148d Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期五, 14 三月 2025 11:02:22 +0800
Subject: [PATCH] 1、车间看板页面缩放设备最小尺寸由70调整为50 2、调整车间看板页面右侧设备布局中的设备样式 3、将看板页面加入路由白名单,无需登录即可访问

---
 src/views/mdc/base/modules/WorkshopSignage/DeviceAlarmInfo.vue |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/src/views/mdc/base/modules/WorkshopSignage/DeviceAlarmInfo.vue b/src/views/mdc/base/modules/WorkshopSignage/DeviceAlarmInfo.vue
index a3cfc86..5a79cf0 100644
--- a/src/views/mdc/base/modules/WorkshopSignage/DeviceAlarmInfo.vue
+++ b/src/views/mdc/base/modules/WorkshopSignage/DeviceAlarmInfo.vue
@@ -8,19 +8,24 @@
   export default {
     name: 'DeviceAlarmInfo',
     components: {},
+    props: {
+      currentProductionId: {
+        type: String
+      }
+    },
     data() {
       return {
         config: {}
       }
     },
-    mounted() {
+    created() {
+      if (!this.currentProductionId) return
       this.getDeviceAlarmInfoByApi()
     },
     methods: {
       getDeviceAlarmInfoByApi() {
         const that = this
-        that.initChart()
-        signageApi.getWorkshopAlarmInfoApi()
+        signageApi.getWorkshopAlarmInfoApi(that.currentProductionId)
           .then(res => {
             if (!res.success) return
             that.initChart(res.result)

--
Gitblit v1.9.3