openatc-components 0.0.17 → 0.0.20
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 +4 -2
- package/package/kisscomps/components/StageStatus/StageStatus.vue +9 -8
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +4 -2
- package/src/kisscomps/components/StageStatus/StageStatus.vue +9 -8
- package/package/kissui.js +0 -73981
|
@@ -17,8 +17,10 @@
|
|
|
17
17
|
<!-- 相位倒计时 -->
|
|
18
18
|
<div class="phaseCountdown" v-show="isShowInterval" v-if="devStatus === 3 && isLoaded && isHasPhase" :class="{'countdownBg': isLoaded}">
|
|
19
19
|
<div v-for="curPhase in phaseCountdownList" :key="curPhase.id" :style="{color: curPhase.phaseCountdownColor}">
|
|
20
|
-
<
|
|
21
|
-
|
|
20
|
+
<div v-if="curPhase.phaseCountdown !== -1">
|
|
21
|
+
<span style="float: left;font-size: 20px;color: #fff;width: 70px;">{{$t('openatccomponents.overview.phase')}}{{curPhase.id}}:</span>
|
|
22
|
+
<span style="float: left;">{{curPhase.phaseCountdown}}</span>
|
|
23
|
+
</div>
|
|
22
24
|
</div>
|
|
23
25
|
</div>
|
|
24
26
|
<!-- 手动刷新 -->
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
**/
|
|
12
12
|
<template>
|
|
13
13
|
<div class="main-statgestatus">
|
|
14
|
-
<div class="stage-line"
|
|
14
|
+
<div class="stage-line"></div>
|
|
15
15
|
<div v-for="(item, index) in numList" :key="index + '1'">
|
|
16
16
|
<div class="stage-verticalline" :style="{'margin-left':item}"></div>
|
|
17
17
|
</div>
|
|
@@ -32,8 +32,8 @@ export default {
|
|
|
32
32
|
stateList: [],
|
|
33
33
|
narr: [],
|
|
34
34
|
max: '',
|
|
35
|
-
stageStatusList: []
|
|
36
|
-
stageLineStatus: false
|
|
35
|
+
stageStatusList: []
|
|
36
|
+
// stageLineStatus: false
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
props: {
|
|
@@ -80,6 +80,7 @@ export default {
|
|
|
80
80
|
this.getStageLine()
|
|
81
81
|
}
|
|
82
82
|
if (this.controlData) {
|
|
83
|
+
// this.stageLineStatus = true
|
|
83
84
|
this.getPhaseId(this.controlData)
|
|
84
85
|
}
|
|
85
86
|
},
|
|
@@ -116,7 +117,7 @@ export default {
|
|
|
116
117
|
},
|
|
117
118
|
addList (baseArr, maxCycle) {
|
|
118
119
|
this.narr = []
|
|
119
|
-
this.stageLineStatus = true
|
|
120
|
+
// this.stageLineStatus = true
|
|
120
121
|
let setArr = []
|
|
121
122
|
let currNum = 0
|
|
122
123
|
baseArr.forEach((item, index) => {
|
|
@@ -177,10 +178,10 @@ export default {
|
|
|
177
178
|
getPhaseId (rings) { // 画阶段方法
|
|
178
179
|
rings = JSON.parse(JSON.stringify(rings))
|
|
179
180
|
if (rings.length === 0) {
|
|
180
|
-
this.stageLineStatus = false
|
|
181
|
+
// this.stageLineStatus = false
|
|
181
182
|
return
|
|
182
183
|
}
|
|
183
|
-
this.stageLineStatus = true
|
|
184
|
+
// this.stageLineStatus = true
|
|
184
185
|
if (this.controlData) {
|
|
185
186
|
if (!rings.rings) return
|
|
186
187
|
let mapAdd = rings.phase.map(item => {
|
|
@@ -237,10 +238,10 @@ export default {
|
|
|
237
238
|
this.numList = [0]
|
|
238
239
|
this.narr = []
|
|
239
240
|
if (this.patternStatusList.length === 0) {
|
|
240
|
-
this.stageLineStatus = false
|
|
241
|
+
// this.stageLineStatus = false
|
|
241
242
|
return
|
|
242
243
|
}
|
|
243
|
-
this.stageLineStatus = true
|
|
244
|
+
// this.stageLineStatus = true
|
|
244
245
|
let firstPatternStatusList = this.patternStatusList[0]
|
|
245
246
|
let stageLength = 0
|
|
246
247
|
let stageStatusLength = 0
|