openatc-components 0.0.23 → 0.0.24
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/BoardCard/BoardCard.vue +4 -0
- package/package/kisscomps/components/PatternStatus/PatternStatus.vue +6 -2
- package/package/kisscomps/components/StageStatus/StageStatus.vue +3 -1
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/kisscomps/components/BoardCard/BoardCard.vue +4 -0
- package/src/kisscomps/components/PatternStatus/PatternStatus.vue +6 -2
- package/src/kisscomps/components/StageStatus/StageStatus.vue +3 -1
package/package.json
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
:localPatternList="localPatternList"
|
|
12
12
|
:contrloType="contrloType"
|
|
13
13
|
:stagesChange="stagesChange"
|
|
14
|
+
:patternList="patternList"
|
|
14
15
|
:agentId="agentId"
|
|
15
16
|
:controlData="controlData"
|
|
16
17
|
:phaseList="phaseList"
|
|
@@ -45,6 +46,9 @@ export default {
|
|
|
45
46
|
localPatternList: {
|
|
46
47
|
type: Array
|
|
47
48
|
},
|
|
49
|
+
patternList: {
|
|
50
|
+
type: Array
|
|
51
|
+
},
|
|
48
52
|
stagesChange: {
|
|
49
53
|
type: Array
|
|
50
54
|
},
|
|
@@ -121,6 +121,9 @@ export default {
|
|
|
121
121
|
phaseList: {
|
|
122
122
|
type: Array
|
|
123
123
|
},
|
|
124
|
+
patternList: {
|
|
125
|
+
type: Array
|
|
126
|
+
},
|
|
124
127
|
localPatternList: {
|
|
125
128
|
type: Array
|
|
126
129
|
},
|
|
@@ -293,8 +296,10 @@ export default {
|
|
|
293
296
|
return stagesTemp
|
|
294
297
|
},
|
|
295
298
|
getIndexStage () {
|
|
299
|
+
if (this.localPatternList.length === 0) return
|
|
296
300
|
for (let i = 0; i < this.localPatternList.length; i++) {
|
|
297
301
|
if (this.controlData.patternid === this.localPatternList[i].id) {
|
|
302
|
+
if (!this.localPatternList[i].stagesList) return
|
|
298
303
|
let stageCycleList = this.localPatternList[i].stagesList.map(item => {
|
|
299
304
|
return item.stageSplit ? item.stageSplit : 0
|
|
300
305
|
})
|
|
@@ -511,8 +516,7 @@ export default {
|
|
|
511
516
|
}
|
|
512
517
|
},
|
|
513
518
|
setBarrier (ringTeam, val) { // 添加特征参数barrier
|
|
514
|
-
|
|
515
|
-
this.patternStatusList.map(item => {
|
|
519
|
+
this.patternList.map(item => {
|
|
516
520
|
if (item.id === this.patternIds) {
|
|
517
521
|
const patternObjs = {}
|
|
518
522
|
val.forEach(l => {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
**/
|
|
12
12
|
<template>
|
|
13
13
|
<div class="main-statgestatus">
|
|
14
|
-
<div class="stage-line"></div>
|
|
14
|
+
<div class="stage-line" v-show="numList.length>0"></div>
|
|
15
15
|
<div v-for="(item, index) in numList" :key="index + '1'">
|
|
16
16
|
<div class="stage-verticalline" :style="{'margin-left':item}"></div>
|
|
17
17
|
</div>
|
|
@@ -95,8 +95,10 @@ export default {
|
|
|
95
95
|
},
|
|
96
96
|
methods: {
|
|
97
97
|
getStageLine () {
|
|
98
|
+
if (this.localPatternList.length === 0) return
|
|
98
99
|
for (let i = 0; i < this.localPatternList.length; i++) {
|
|
99
100
|
if (this.controlData.patternid === this.localPatternList[i].id) {
|
|
101
|
+
if (!this.localPatternList[i].stagesList) return
|
|
100
102
|
let stageCycleList = this.localPatternList[i].stagesList.map(item => {
|
|
101
103
|
return item.stageSplit ? item.stageSplit : 0
|
|
102
104
|
})
|