#
Junjie
2026-03-24 909164aa1859fdf25330eb130bc90b8bd22e540b
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);
                });