openatc-components 0.2.68 → 0.2.69
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.json
CHANGED
|
@@ -22,6 +22,17 @@
|
|
|
22
22
|
Number((((item.split + (item.sum ? item.sum : 0)) /
|
|
23
23
|
(item.cycle > cycles ? item.cycle : cycles)) * 100 + '%').replace('%', ''))) * 100 + '%', height: '34px',background: '#7ccc66'}">
|
|
24
24
|
</div>
|
|
25
|
+
<el-tooltip placement="top-start" effect="light">
|
|
26
|
+
<div v-if="item.id" slot="content">P{{ item.id }}</div>
|
|
27
|
+
<div v-if="item.id" style="cursor: pointer">
|
|
28
|
+
<div
|
|
29
|
+
class="box"
|
|
30
|
+
style="position: absolute; width:20px; left: 35px; top: 5px"
|
|
31
|
+
>
|
|
32
|
+
<div class="ring-nums">P{{ item.id }}</div>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
</el-tooltip>
|
|
25
36
|
</div>
|
|
26
37
|
</div>
|
|
27
38
|
</div>
|
|
@@ -370,6 +381,9 @@ export default {
|
|
|
370
381
|
if (this.contrloType === 'stage') {
|
|
371
382
|
this.getStage()
|
|
372
383
|
}
|
|
384
|
+
if (this.patternType === 'rcp') {
|
|
385
|
+
this.handleRcp(this.patternStatusList)
|
|
386
|
+
}
|
|
373
387
|
},
|
|
374
388
|
methods: {
|
|
375
389
|
getPed (data) {
|
|
@@ -420,6 +434,7 @@ export default {
|
|
|
420
434
|
let split = ring.splitchain
|
|
421
435
|
obj.split = split
|
|
422
436
|
obj.cycle = cycle
|
|
437
|
+
obj.id = ring.phases
|
|
423
438
|
// if (ring.sum) {
|
|
424
439
|
// obj.sum = ring.sum
|
|
425
440
|
// obj.redWidth = ((currPhase.redclear + ring.sum) / (this.fixCycle ? this.fixCycle : this.max ? this.max : this.newCycle) * 100) + '%'
|