From b8b8fd58c948692a7b6fb5f3dad715a2a9a3a083 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期一, 27 四月 2026 16:13:39 +0800
Subject: [PATCH] #输送线出库命令下发优化V3.0.1.2

---
 src/main/webapp/views/watch/stationTrace.html |   39 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 39 insertions(+), 0 deletions(-)

diff --git a/src/main/webapp/views/watch/stationTrace.html b/src/main/webapp/views/watch/stationTrace.html
index ca08a37..02f8cca 100644
--- a/src/main/webapp/views/watch/stationTrace.html
+++ b/src/main/webapp/views/watch/stationTrace.html
@@ -429,6 +429,12 @@
                                 褰撳墠绔�: {{ orDash(item.currentStationId) }}<br>
                                 鐩爣绔�: {{ orDash(item.finalTargetStationId) }}<br>
                                 鍒嗘: {{ orDash(item.issuedSegmentCount) }} / {{ orDash(item.totalSegmentCount) }}<br>
+                                <template v-if="item.loopAlertCount">
+                                    缁曞湀绱: {{ item.loopAlertCount }}<br>
+                                </template>
+                                <template v-if="item.loopAlertActive && item.loopAlertText">
+                                    鎻愮ず: {{ item.loopAlertText }}<br>
+                                </template>
                                 鏇存柊鏃堕棿: {{ formatTime(item.updatedAt) }}
                             </div>
                         </button>
@@ -488,6 +494,14 @@
                                 <div class="trace-summary-item">
                                     <div class="trace-summary-label">绾跨▼瀹炵幇</div>
                                     <div class="trace-summary-value">{{ orDash(selectedTrace.threadImpl) }}</div>
+                                </div>
+                                <div class="trace-summary-item">
+                                    <div class="trace-summary-label">缁曞湀鎻愮ず</div>
+                                    <div class="trace-summary-value">{{ selectedTrace.loopAlertActive ? orDash(selectedTrace.loopAlertText) : '--' }}</div>
+                                </div>
+                                <div class="trace-summary-item">
+                                    <div class="trace-summary-label">缁曞湀绱</div>
+                                    <div class="trace-summary-value">{{ selectedTrace.loopAlertCount != null ? selectedTrace.loopAlertCount : '--' }}</div>
                                 </div>
                             </div>
 
@@ -858,6 +872,15 @@
                     pendingStationIds: '寰呰蛋璺緞',
                     currentStationId: '褰撳墠绔欑偣',
                     blockedStationId: '鍫靛绔欑偣',
+                    loopAlertActive: '缁曞湀棰勮',
+                    loopAlertType: '缁曞湀绫诲瀷',
+                    loopAlertText: '缁曞湀鎻愮ず',
+                    loopAlertCount: '缁曞湀绱',
+                    loopRepeatCount: '缁曞湀绱',
+                    loopTriggerSource: '瑙﹀彂鏉ユ簮',
+                    loopScopeType: '璇嗗埆鑼冨洿',
+                    loopStationCount: '褰撳墠鐜寖鍥寸珯鐐规暟',
+                    sourceLoopStationCount: '鎵�鍦ㄥぇ鐜珯鐐规暟',
                     timeoutMs: '瓒呮椂鏃堕棿',
                     commandStationId: '鍛戒护璧风偣',
                     commandTargetStationId: '鍛戒护鐩爣',
@@ -872,6 +895,22 @@
                     if (value == null || value === '') {
                         return;
                     }
+                    if (key === 'loopAlertType') {
+                        if (value === 'OUT_ORDER_CIRCLE') {
+                            value = '鎺掑簭鐜嚎';
+                        } else if (value === 'LARGE_LOOP') {
+                            value = '澶х幆绾�';
+                        } else if (value === 'SMALL_LOOP') {
+                            value = '灏忕幆绾�';
+                        }
+                    }
+                    if (key === 'loopTriggerSource') {
+                        if (value === 'OUT_ORDER_CIRCLE') {
+                            value = '鎺掑簭缁曞湀';
+                        } else if (value === 'RUN_BLOCK_REROUTE') {
+                            value = '鍫靛閲嶈鍒�';
+                        }
+                    }
                     var text = Array.isArray(value) ? value.join(' -> ') : String(value);
                     result.push((labelMap[key] || key) + ': ' + text);
                 });

--
Gitblit v1.9.1