openatc-components 0.5.74 → 0.5.75

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.
@@ -54,6 +54,14 @@
54
54
  prop="intersection">
55
55
  <el-input-number :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempRedclear" size="small"></el-input-number>
56
56
  </el-form-item>
57
+ <el-form-item
58
+ :label="$t('openatccomponents.overview.lockingtype')"
59
+ prop="group">
60
+ <el-select v-model="manualInfo.group" size="small" style="width: 100%;">
61
+ <el-option :label="$t('openatccomponents.overview.phasepass')" :value="0"></el-option>
62
+ <el-option :label="$t('openatccomponents.overview.stagepass')" :value="1"></el-option>
63
+ </el-select>
64
+ </el-form-item>
57
65
  </el-form>
58
66
  </el-col>
59
67
  </el-row>
@@ -140,7 +148,8 @@ export default {
140
148
  tempDuration: 600, // 控制方式手动操作的情况下的持续时间的临时值。
141
149
  tempYellow: 3,
142
150
  tempRedclear: 2,
143
- tempMingreen: 15
151
+ tempMingreen: 15,
152
+ group: 0
144
153
  },
145
154
  lockingOption: [{
146
155
  value: 0
@@ -187,6 +196,9 @@ export default {
187
196
  if (this.manualInfo.tempMingreen !== undefined) {
188
197
  submitdata.data.mingreen = Number(this.manualInfo.tempMingreen)
189
198
  }
199
+ if (this.manualInfo.group !== undefined) {
200
+ submitdata.data.group = Number(this.manualInfo.group)
201
+ }
190
202
  submitdata.data.phases = this.phases
191
203
  this.$emit('closePhaseControl', submitdata)
192
204
  },