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.
- package/package/kisscomps/components/PatternStatus/PatternStatus.vue +5 -9
- package/package/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +1 -0
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/kisscomps/components/PatternStatus/PatternStatus.vue +5 -9
- package/src/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +1 -0
|
@@ -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.
|
|
424
|
+
this.patternInfo.map(d => {
|
|
426
425
|
d.map(r => {
|
|
427
426
|
if (r.id === val.id) {
|
|
428
|
-
r.
|
|
427
|
+
r.split = val.split
|
|
429
428
|
}
|
|
430
429
|
})
|
|
431
430
|
})
|
|
432
|
-
|
|
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
|
|
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) {
|