#
Junjie
68 分钟以前 f3b64d003bc3458af3dd434e6187d3aba23a64aa
src/main/webapp/views/watch/stationTrace.html
@@ -429,6 +429,9 @@
                                当前站: {{ 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>
@@ -498,7 +501,7 @@
                                </div>
                                <div class="trace-summary-item">
                                    <div class="trace-summary-label">绕圈累计</div>
                                    <div class="trace-summary-value">{{ selectedTrace.loopAlertActive ? orDash(selectedTrace.loopAlertCount) : '--' }}</div>
                                    <div class="trace-summary-value">{{ selectedTrace.loopAlertCount != null ? selectedTrace.loopAlertCount : '--' }}</div>
                                </div>
                            </div>
@@ -874,6 +877,7 @@
                    loopAlertText: '绕圈提示',
                    loopAlertCount: '绕圈累计',
                    loopRepeatCount: '绕圈累计',
                    loopTriggerSource: '触发来源',
                    loopScopeType: '识别范围',
                    loopStationCount: '当前环范围站点数',
                    sourceLoopStationCount: '所在大环站点数',
@@ -891,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);
                });