openatc-components 0.2.88 → 0.2.90

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.
@@ -467,6 +467,7 @@ export default {
467
467
  green: 25,
468
468
  yellow: 3,
469
469
  red: 2,
470
+ stageNo: 0,
470
471
  phases: [],
471
472
  stageSplit: 30
472
473
  })
@@ -556,6 +557,7 @@ export default {
556
557
  res.yellow = rings.yellow ? rings.yellow : rings.yellow === 0 ? 0 : 3
557
558
  res.red = rings.red ? rings.red : rings.red === 0 ? 0 : 2
558
559
  res.phases = rings.phases ? rings.phases : stageArr
560
+ res.stageNo = rings.stageNo ? rings.stageNo : 0
559
561
  // res.stageSplit = rings.split ? rings.split : 30
560
562
  if (rings.split) {
561
563
  res.stageSplit = rings.split
@@ -96,6 +96,21 @@
96
96
  </el-input-number>
97
97
  </el-col>
98
98
  </el-row>
99
+ <el-row :gutter="0" v-if="isRing">
100
+ <el-col :span="6">
101
+ {{this.$t('openatccomponents.pattern.stageno')}}
102
+ </el-col>
103
+ <el-col :span="18">
104
+ <el-input-number
105
+ class="stage-value"
106
+ size="small"
107
+ :controls="false"
108
+ :min="0"
109
+ v-model.number="stage.stageNo"
110
+ @change="stageSplitChange">
111
+ </el-input-number>
112
+ </el-col>
113
+ </el-row>
99
114
  <el-row :gutter="0" v-if="isRing">
100
115
  <el-col :span="6">
101
116
  {{this.$t('openatccomponents.pattern.yellow')}}