From e33068bf181a56eb3bba2e39cb0573cafb06584a Mon Sep 17 00:00:00 2001
From: wangfei <3597712270@qq.com>
Date: 星期二, 25 三月 2025 15:02:39 +0800
Subject: [PATCH] 中空一线、二线websockect接收更改,空闲状态名称更改,新增中空三线页面,中空理片笼新增三线空闲状态

---
 UI-Project/src/views/hollow/hollowequipment.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/UI-Project/src/views/hollow/hollowequipment.vue b/UI-Project/src/views/hollow/hollowequipment.vue
index a872d2c..ef63a94 100644
--- a/UI-Project/src/views/hollow/hollowequipment.vue
+++ b/UI-Project/src/views/hollow/hollowequipment.vue
@@ -1080,7 +1080,7 @@
   }
 ]
 let socket = null;
-const socketUrl = `ws://${WebSocketHost}:${host}/api/hollowGlass/api/talk/HollowGlass`;
+const socketUrl = `ws://${WebSocketHost}:${host}/api/hollowGlass/api/talk/HollowGlassone`;
 const currentPage = ref(parseInt(window.localStorage.getItem('currentPage')) || 1);
 watch(() => currentPage.value, (newVal) => {
   window.localStorage.setItem('currentPage', newVal);
@@ -1095,12 +1095,12 @@
 };
 const handleMessage = (data) => {
   try {
-    tableDataa.value = data[930][0];
+    tableDataa.value = data.queueInfo[0];
     const allPageData = data;
     const currentPageKeyValue = currentPageKey.value;
     const currentPageData = allPageData[currentPageKeyValue];
-    if (data.freeOneRequestEntity != null) {
-    freeone.value = data.freeOneRequestEntity == 1 ? 'green' : '#911005';
+    if (data.freeRequest != null) {
+      freeone.value = data.freeRequest[0] == true ? 'green' : '#911005';
   }
     // if (currentPageData && Array.isArray(currentPageData) && currentPageData.length > 0) {
     //   tableDataa.value = currentPageData[0];

--
Gitblit v1.8.0