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/hollowequipmenttwo.vue | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/UI-Project/src/views/hollow/hollowequipmenttwo.vue b/UI-Project/src/views/hollow/hollowequipmenttwo.vue
index dbd27ad..505be33 100644
--- a/UI-Project/src/views/hollow/hollowequipmenttwo.vue
+++ b/UI-Project/src/views/hollow/hollowequipmenttwo.vue
@@ -553,7 +553,7 @@
}
]
let socket = null;
-const socketUrl = `ws://${WebSocketHost}:${host}/api/hollowGlass/api/talk/HollowGlass`;
+const socketUrl = `ws://${WebSocketHost}:${host}/api/hollowGlass/api/talk/HollowGlassTwo`;
const currentPage = ref(parseInt(window.localStorage.getItem('currentPage')) || 1);
watch(() => currentPage.value, (newVal) => {
window.localStorage.setItem('currentPage', newVal);
@@ -570,12 +570,12 @@
};
const handleMessage = (data) => {
try {
- tableDataa.value = data[931][0];
+ tableDataa.value = data.queueInfo[0];
const allPageData = data;
const currentPageKeyValue = currentPageKey.value;
const currentPageData = allPageData[currentPageKeyValue];
- if (data.freeTwoRequestEntity != null) {
- freetwo.value = data.freeTwoRequestEntity[0] == true ? 'green' : '#911005';
+ if (data.freeRequest != null) {
+ freetwo.value = data.freeRequest[0] == true ? 'green' : '#911005';
}
// if (currentPageData && Array.isArray(currentPageData) && currentPageData.length > 0) {
// tableDataa.value = currentPageData[0];
--
Gitblit v1.8.0