openatc-components 0.1.183 → 0.1.184
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.
|
@@ -803,6 +803,16 @@ export default {
|
|
|
803
803
|
let ringTeam = this.step1(this.phaseList, resArr)
|
|
804
804
|
let ringTeams = ringTeam.filter(item => item.length !== 0)
|
|
805
805
|
this.fillGap(ringTeams, val)
|
|
806
|
+
// 总览添加屏障
|
|
807
|
+
let newPattern = []
|
|
808
|
+
val.map(i => {
|
|
809
|
+
newPattern.push(...i)
|
|
810
|
+
})
|
|
811
|
+
let barrier = this.step2(ringTeams, newPattern)
|
|
812
|
+
let barrierLeft = barrier.map(item => item - 0.3)
|
|
813
|
+
this.barrierList = barrierLeft.map(j => {
|
|
814
|
+
return (j / (this.max ? this.max : this.contrloCycle) * 100) + '%'
|
|
815
|
+
})
|
|
806
816
|
}
|
|
807
817
|
// let cycle = this.controlData.cycle
|
|
808
818
|
for (let rings of val) {
|
|
@@ -1423,8 +1433,8 @@ export default {
|
|
|
1423
1433
|
vertical-align: middle;
|
|
1424
1434
|
width: 60px;
|
|
1425
1435
|
height: 19px;
|
|
1426
|
-
color
|
|
1427
|
-
background-color: black;
|
|
1436
|
+
color:black;
|
|
1437
|
+
// background-color: black;
|
|
1428
1438
|
}
|
|
1429
1439
|
}
|
|
1430
1440
|
.ring-first {
|