openatc-components 0.3.56 → 0.3.57

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.
@@ -25,6 +25,7 @@
25
25
  :cycle="cycle"
26
26
  :syncTime="syncTime"
27
27
  :style="{'margin-top': '25px'}"
28
+ @handleSplitMove="handleSplitMove"
28
29
  :patternStatusList="patternStatusList"
29
30
  :patternId="patternId"
30
31
  :cycles="cycles">
@@ -113,6 +114,11 @@ export default {
113
114
  syncTime: {
114
115
  type: Number
115
116
  }
117
+ },
118
+ methods: {
119
+ handleSplitMove (data) {
120
+ this.$emit('handleSplitMove', data)
121
+ }
116
122
  }
117
123
  }
118
124
  </script>
@@ -429,6 +429,7 @@ export default {
429
429
  })
430
430
  })
431
431
  this.handleCurrentChange(this.patternStatusList)
432
+ this.$emit('handleSplitMove', val.cycle)
432
433
  },
433
434
  getMaxCycle (pattern) {
434
435
  // let rings = pattern.rings
@@ -20,6 +20,7 @@
20
20
  :agentId="agentId"
21
21
  :controlData="controlData"
22
22
  :syncTime="syncTime"
23
+ @handleSplitMove="handleSplitMove"
23
24
  :isPhase="isPhase"
24
25
  >
25
26
  </BoardCard>
@@ -586,6 +587,11 @@ export default {
586
587
  // if (this.$route.query !== undefined && Object.keys(this.$route.query).length) {
587
588
  // this.resetCrossDiagram()
588
589
  // }
590
+ },
591
+ methods: {
592
+ handleSplitMove (data) {
593
+ this.$emit('handleSplitMove', data)
594
+ }
589
595
  }
590
596
  }
591
597
  </script>