From 1460aa1d5f2b5722d43ed31724594c006213bea7 Mon Sep 17 00:00:00 2001
From: huang <1532065656@qq.com>
Date: 星期五, 18 四月 2025 16:40:43 +0800
Subject: [PATCH] 看板2更新
---
UI-Project/src/views/ManualReporting/manualReporting.vue | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/UI-Project/src/views/ManualReporting/manualReporting.vue b/UI-Project/src/views/ManualReporting/manualReporting.vue
index 79d2735..c7c992c 100644
--- a/UI-Project/src/views/ManualReporting/manualReporting.vue
+++ b/UI-Project/src/views/ManualReporting/manualReporting.vue
@@ -25,7 +25,7 @@
const searcheh = ref();
const userInfo=JSON.parse(window.localStorage.getItem('userInfo'));
-const pageParams=userInfo.user.menus[0].pages[4].params;
+const pageParams=userInfo.user.menus[0].pages[6].params;
const pageParamsJson=JSON.parse(pageParams);
const machineId = pageParamsJson.machineId;//褰撳墠椤甸潰鐨勮澶嘔D
console.log(machineId);
@@ -41,7 +41,7 @@
// 鏇存柊 tableData 鐨勬暟鎹�
//taskinggoruby.value = data.taskinggoruby[0];
//loadData.value =getDataSort(data.taskingList[0]);
- let dataJson = data[""+machineId][0];
+ const dataJson = data[""+machineId][0];
loadData.value = dataJson.taskingList[0];
findMachine.value = dataJson.machine[0];
@@ -61,8 +61,7 @@
};
// 瀹氫箟娑堟伅澶勭悊鍑芥暟锛屾洿鏂� receivedData 鍙橀噺
const handleMessage2 = (data) => {
- let dataJson = data[""+machineId][0];
- downLineTask.value = dataJson.downLineTask[0];
+ downLineTask.value = data.downLineTask[0];
// console.log(data);
};
onUnmounted(() => {
--
Gitblit v1.8.0