openatc-components 0.0.63 → 0.0.64

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.
@@ -59,7 +59,7 @@
59
59
  </div>
60
60
  <div class="stage-label">{{$t('openatccomponents.overview.stage')}}:</div>
61
61
  <div style="width: 100%; height: auto;overflow: hidden;">
62
- <Stages :crossStatusData="realtimeStage"
62
+ <Stages :crossStatusData="manuals?manualsStage:realtimeStage"
63
63
  :phaseList="phaseList"
64
64
  :isShowCurrentStage="false"
65
65
  @onSelectStages="selectStages"></Stages>
@@ -162,7 +162,9 @@ export default {
162
162
  return {
163
163
  basicFuncControlId: [0, 1, 4, 5], // 基础功能包含的控制方式: 自主控制(手动下)、黄闪、步进、定周期
164
164
  visible: this.Visible,
165
+ manuals: false,
165
166
  realtimeStage: {},
167
+ manualsStage: {},
166
168
  manualInfo: {
167
169
  tempPatternid: '', // 控制方式手动操作的情况下的控制编号的临时值。
168
170
  tempDelay: 0, // 控制方式手动操作的情况下的延迟时间的临时值。
@@ -172,11 +174,12 @@ export default {
172
174
  },
173
175
  methods: {
174
176
  changeStage (value) {
177
+ this.manuals = true
175
178
  let stages = []
176
179
  stages = this.patternAll.filter(item => {
177
180
  return item.id === value
178
181
  })[0].stages
179
- this.realtimeStage.stages = stages
182
+ this.manualsStage.stages = stages
180
183
  },
181
184
  handleClose () {
182
185
  this.$emit('closeManualModal')