openatc-components 0.3.53 → 0.3.55

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.
@@ -29,7 +29,6 @@
29
29
  <div v-if="isMove" class="ring-nums">{{item.split}}</div>
30
30
  <el-input-number
31
31
  v-if="!isMove"
32
- :disabled="!cycles"
33
32
  class="ring-nums"
34
33
  size="small"
35
34
  :controls="false"
@@ -422,22 +421,19 @@ export default {
422
421
  })
423
422
  },
424
423
  handleEdit (val) {
425
- this.patternStatusList.map(d => {
424
+ this.patternInfo.map(d => {
426
425
  d.map(r => {
427
426
  if (r.id === val.id) {
428
- r.value = val.split
427
+ r.split = val.split
429
428
  }
430
429
  })
431
430
  })
432
- let n = this.index
433
- const globalParamModel = this.$store.getters.globalParamModel
434
- let pattern = globalParamModel.getParamsByType('patternList')[n]
435
- globalParamModel.getParamsByType('patternList')[n].cycle = this.getMaxCycle(pattern)
431
+ this.$emit('handleSplitMove', val.cycle)
436
432
  },
437
433
  getMaxCycle (pattern) {
438
- let rings = pattern.rings
434
+ // let rings = pattern.rings
439
435
  let maxCycle = 0
440
- for (let ring of rings) {
436
+ for (let ring of pattern) {
441
437
  if (ring.length === 0) continue
442
438
  let cycle = 0
443
439
  for (let r of ring) {
@@ -108,6 +108,7 @@
108
108
  </stage-status> -->
109
109
  <pattern-list
110
110
  :key="keyChange"
111
+ :isMove="false"
111
112
  :allPatternList="allPatternList"
112
113
  :contrloType="contrloType"
113
114
  :stagesChange="