openatc-components 0.2.71 → 0.2.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +5 -1
- package/package/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +8 -0
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/i18n/language/en.js +2 -0
- package/src/i18n/language/zh.js +2 -0
- package/src/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +5 -1
- package/src/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +8 -0
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<div class="right-dir-road" v-if="roadDir === 'right'">
|
|
33
33
|
<div class="centerText" v-if="crossType !== 'Customroads' && isHasPhase">
|
|
34
34
|
<!-- 相位倒计时 -->
|
|
35
|
-
<div class="phaseCountdown" v-show="isShowInterval" v-if="isLoaded && isHasPhase" :class="{'countdownBg': isLoaded}">
|
|
35
|
+
<div class="phaseCountdown" v-show="isShowInterval" v-if="isLoaded && isHasPhase && isHasCountdown" :class="{'countdownBg': isLoaded}">
|
|
36
36
|
<div v-for="curPhase in phaseCountdownList" :key="curPhase.id" :style="{color: curPhase.phaseCountdownColor}">
|
|
37
37
|
<div v-if="curPhase.phaseCountdown !== undefined && curPhase.phaseCountdown !== -1" style="overflow: hidden;margin-bottom: 4px;">
|
|
38
38
|
<span style="float: left;width: 33px;height: 33px;position: relative;border: 1px solid rgba(255, 255, 255, 0.1);margin-right: 7px;">
|
|
@@ -639,6 +639,7 @@ export default {
|
|
|
639
639
|
getCurPhaseCountdown () {
|
|
640
640
|
// 获取当前相位倒计时颜色
|
|
641
641
|
this.phaseCountdownList = []
|
|
642
|
+
this.isHasCountdown = false
|
|
642
643
|
this.curPhase.forEach(curP => {
|
|
643
644
|
this.phaseStatusList.forEach(phaseInfo => {
|
|
644
645
|
if (phaseInfo.id === curP) {
|
|
@@ -660,6 +661,9 @@ export default {
|
|
|
660
661
|
}
|
|
661
662
|
|
|
662
663
|
this.phaseCountdownList.push(countdownObj)
|
|
664
|
+
if (phaseInfo.countdown !== undefined && phaseInfo.countdown !== -1) {
|
|
665
|
+
this.isHasCountdown = true
|
|
666
|
+
}
|
|
663
667
|
}
|
|
664
668
|
})
|
|
665
669
|
})
|
|
@@ -49,6 +49,14 @@
|
|
|
49
49
|
<div style="float: left;" class="cross-name">{{$t('openatccomponents.overview.platform')}}:</div>
|
|
50
50
|
<div style="margin-left: 85px;" class="cross-value">{{platform}}</div>
|
|
51
51
|
</div>
|
|
52
|
+
<div class="cross-content" v-if="controlData.current_stagecd !== undefined">
|
|
53
|
+
<div style="float: left;" class="cross-name">{{$t('openatccomponents.overview.stagecountdown')}}:</div>
|
|
54
|
+
<div style="margin-left: 85px;" class="cross-value">{{controlData.current_stagecd}}</div>
|
|
55
|
+
</div>
|
|
56
|
+
<div class="cross-content" v-if="controlData.stages_len">
|
|
57
|
+
<div style="float: left;" class="cross-name">{{$t('openatccomponents.overview.stageduration')}}:</div>
|
|
58
|
+
<div style="margin-left: 85px;" class="cross-value">{{controlData.stages_len + ''}}</div>
|
|
59
|
+
</div>
|
|
52
60
|
<div class="cross-content">
|
|
53
61
|
<div style="float: left;" class="cross-name">{{$t('openatccomponents.overview.faultinfo')}}:</div>
|
|
54
62
|
<div style="margin-left: 85px;" v-if="curFaultList.length">
|