From a0da962ca6b936ca05e46c25b50a416cfe959ff2 Mon Sep 17 00:00:00 2001
From: 李喆(开发组) <lzhe@yxqiche.com>
Date: 星期二, 18 十一月 2025 14:04:21 +0800
Subject: [PATCH] 1

---
 src/views/mdc/components/StationLiveSpeed.vue |   26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/src/views/mdc/components/StationLiveSpeed.vue b/src/views/mdc/components/StationLiveSpeed.vue
index 9069130..0991dd1 100644
--- a/src/views/mdc/components/StationLiveSpeed.vue
+++ b/src/views/mdc/components/StationLiveSpeed.vue
@@ -1,7 +1,7 @@
 <!--
  * @Date: 2024-04-18 21:52:18
  * @LastEditors: 鏉庡枂(寮�鍙戠粍) lzhe@yxqiche.com
- * @LastEditTime: 2025-03-14 09:31:16
+ * @LastEditTime: 2025-11-18 14:02:28
  * @FilePath: /cps-web/src/views/mdc/components/StationLiveSpeed.vue
 -->
 <template>
@@ -117,18 +117,18 @@
     },
     methods: {
         query() {
-            // if(this.dmpList.length == 0) return;
-            // var a,b,c;
-            // this.dmpList.forEach(item=> {
-            //     if(item.dpName == "SpindleLoad") {
-            //         a = item.codeName;
-            //     }else if(item.dpName == "SpindleRate") {
-            //         b = item.codeName;
-            //     }else if(item.dpName == "FeedRate") {
-            //         c = item.codeName;
-            //     }
-            // })
-            // this.showCharts(a,b,c);
+            if(this.dmpList.length == 0) return;
+            var a,b,c;
+            this.dmpList.forEach(item=> {
+                if(item.dpName == "SpindleLoad") {
+                    a = item.codeName;
+                }else if(item.dpName == "SpindleRate") {
+                    b = item.codeName;
+                }else if(item.dpName == "FeedRate") {
+                    c = item.codeName;
+                }
+            })
+            this.showCharts(a,b,c);
         },
         showCharts(a, b, c) {
             var myChartA = echarts.init(this.$refs.c);

--
Gitblit v1.9.3