From f3b64d003bc3458af3dd434e6187d3aba23a64aa Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期四, 26 三月 2026 14:35:44 +0800
Subject: [PATCH] #
---
src/main/webapp/views/watch/stationTrace.html | 22 +++++++++++++++++++++-
1 files changed, 21 insertions(+), 1 deletions(-)
diff --git a/src/main/webapp/views/watch/stationTrace.html b/src/main/webapp/views/watch/stationTrace.html
index 5db8a43..02f8cca 100644
--- a/src/main/webapp/views/watch/stationTrace.html
+++ b/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);
});
--
Gitblit v1.9.1