openatc-components 0.0.19 → 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 -9
- 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 -9
package/package.json
CHANGED
|
@@ -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,7 +80,7 @@ export default {
|
|
|
80
80
|
this.getStageLine()
|
|
81
81
|
}
|
|
82
82
|
if (this.controlData) {
|
|
83
|
-
this.stageLineStatus = true
|
|
83
|
+
// this.stageLineStatus = true
|
|
84
84
|
this.getPhaseId(this.controlData)
|
|
85
85
|
}
|
|
86
86
|
},
|
|
@@ -117,7 +117,7 @@ export default {
|
|
|
117
117
|
},
|
|
118
118
|
addList (baseArr, maxCycle) {
|
|
119
119
|
this.narr = []
|
|
120
|
-
this.stageLineStatus = true
|
|
120
|
+
// this.stageLineStatus = true
|
|
121
121
|
let setArr = []
|
|
122
122
|
let currNum = 0
|
|
123
123
|
baseArr.forEach((item, index) => {
|
|
@@ -178,10 +178,10 @@ export default {
|
|
|
178
178
|
getPhaseId (rings) { // 画阶段方法
|
|
179
179
|
rings = JSON.parse(JSON.stringify(rings))
|
|
180
180
|
if (rings.length === 0) {
|
|
181
|
-
this.stageLineStatus = false
|
|
181
|
+
// this.stageLineStatus = false
|
|
182
182
|
return
|
|
183
183
|
}
|
|
184
|
-
this.stageLineStatus = true
|
|
184
|
+
// this.stageLineStatus = true
|
|
185
185
|
if (this.controlData) {
|
|
186
186
|
if (!rings.rings) return
|
|
187
187
|
let mapAdd = rings.phase.map(item => {
|
|
@@ -238,10 +238,10 @@ export default {
|
|
|
238
238
|
this.numList = [0]
|
|
239
239
|
this.narr = []
|
|
240
240
|
if (this.patternStatusList.length === 0) {
|
|
241
|
-
this.stageLineStatus = false
|
|
241
|
+
// this.stageLineStatus = false
|
|
242
242
|
return
|
|
243
243
|
}
|
|
244
|
-
this.stageLineStatus = true
|
|
244
|
+
// this.stageLineStatus = true
|
|
245
245
|
let firstPatternStatusList = this.patternStatusList[0]
|
|
246
246
|
let stageLength = 0
|
|
247
247
|
let stageStatusLength = 0
|