From fa147a04a89db6b3791b5e0f570743f74ca13eb9 Mon Sep 17 00:00:00 2001 From: "han\\hanst" Date: Tue, 18 Nov 2025 10:30:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=BA=E6=A2=B0=E8=87=82=E5=88=86=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dashboard/robot-picking-container.vue | 12 ++++---- .../dashboard/robot-picking-material.vue | 12 ++++---- .../modules/dashboard/warehouse-3d-board.vue | 30 +++++++++---------- 3 files changed, 27 insertions(+), 27 deletions(-) diff --git a/src/views/modules/dashboard/robot-picking-container.vue b/src/views/modules/dashboard/robot-picking-container.vue index 6704784..af44277 100644 --- a/src/views/modules/dashboard/robot-picking-container.vue +++ b/src/views/modules/dashboard/robot-picking-container.vue @@ -19,8 +19,8 @@
-

机械臂拣选 - 周转箱

-
Robot Picking - Container
+

机械臂拣选 - 1

+
Robot Picking - 1
@@ -560,7 +560,7 @@ export default { } td { - padding: 8px 6px; + padding: 4px 6px; color: rgba(255, 255, 255, 0.9); font-size: 15px; border-bottom: 1px solid rgba(23, 179, 163, 0.15); @@ -643,18 +643,18 @@ export default { .data-table { thead th { font-size: 20px; - padding: 16px 12px; + padding: 6px 12px; } tbody td { font-size: 20px; - padding: 14px 12px; + padding: 4px 12px; } } .status-badge { font-size: 18px; - padding: 8px 18px; + padding: 4px 10px; min-width: 100px; } } diff --git a/src/views/modules/dashboard/robot-picking-material.vue b/src/views/modules/dashboard/robot-picking-material.vue index d09b1a1..7147ed9 100644 --- a/src/views/modules/dashboard/robot-picking-material.vue +++ b/src/views/modules/dashboard/robot-picking-material.vue @@ -19,8 +19,8 @@
-

机械臂拣选 - 原材

-
Robot Picking - Material
+

机械臂拣选 - 2

+
Robot Picking - 2
@@ -561,7 +561,7 @@ export default { } td { - padding: 8px 6px; + padding: 4px 6px; color: rgba(255, 255, 255, 0.9); font-size: 15px; border-bottom: 1px solid rgba(23, 179, 163, 0.15); @@ -644,18 +644,18 @@ export default { .data-table { thead th { font-size: 20px; - padding: 16px 12px; + padding: 6px 12px; } tbody td { font-size: 20px; - padding: 14px 12px; + padding: 4px 12px; } } .status-badge { font-size: 18px; - padding: 8px 18px; + padding: 4px 10px; min-width: 100px; } } diff --git a/src/views/modules/dashboard/warehouse-3d-board.vue b/src/views/modules/dashboard/warehouse-3d-board.vue index cfa6c50..2aebed0 100644 --- a/src/views/modules/dashboard/warehouse-3d-board.vue +++ b/src/views/modules/dashboard/warehouse-3d-board.vue @@ -138,10 +138,10 @@
已使用 - {{ storageData.usedSlots }} + {{ storageData.usedSlots }}
- 利用率 + 利用率(包含空托盘) {{ storageData.utilizationRate }}%
@@ -221,8 +221,8 @@
- 原材料库存量趋势 - Raw Material Inventory Trend + 原材料库存(M²) + Raw Material Inventory
@@ -233,8 +233,8 @@
- 规格料库存量趋势 - Specified Materials Inventory Trend + 规格料库存(M) + Specified Materials Inventory
@@ -245,8 +245,8 @@
- 产成品库存趋势 - Finished Goods Inventory Trend + 产成品库存(PCS) + Finished Goods Inventory
@@ -333,8 +333,8 @@ export default { // 机器人数据 robotData: [ - { id: 1, name: '机器人#1', status: 'working', statusText: '工作中', efficiency: 95, tasks: 2 }, - { id: 2, name: '机器人#2', status: 'working', statusText: '工作中', efficiency: 92, tasks: 4 } + { id: 1, name: '机械臂#1', status: 'working', statusText: '工作中', efficiency: 95, tasks: 1 }, + { id: 2, name: '机械臂#2', status: 'working', statusText: '工作中', efficiency: 92, tasks: 1 } ], // AGV数据(从TUSK系统实时获取) @@ -388,7 +388,7 @@ export default { mounted() { // 初始化时间显示 this.currentTime = '等待服务器时间同步...' - + // 启动时钟定时器(每秒更新) this.timeInterval = setInterval(() => { this.updateTime() @@ -480,7 +480,7 @@ export default { /** * 更新服务器时间偏移量 - * + * * @param {string} serverTimeString - 服务器时间字符串 */ updateServerTimeOffset(serverTimeString) { @@ -489,7 +489,7 @@ export default { const timeStr = serverTimeString.split(' ')[0] + ' ' + serverTimeString.split(' ')[1] const serverTime = new Date(timeStr).getTime() const localTime = new Date().getTime() - + if (!isNaN(serverTime)) { this.serverTimeOffset = serverTime - localTime console.log('服务器时间偏移量更新:', this.serverTimeOffset, 'ms') @@ -498,7 +498,7 @@ export default { console.warn('解析服务器时间失败:', error) } }, - + /** * 更新时间显示(使用服务器时间偏移量) */ @@ -564,7 +564,7 @@ export default { handleWebSocketMessage(message) { if (message && message.code === 0) { console.log('[智能立体仓库看板] 收到WebSocket推送数据:', message.data) - + // 更新服务器时间偏移量 if (message.serverTime) { this.updateServerTimeOffset(message.serverTime)