openatc-components 0.1.84 → 0.1.86
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/Channelization/Channelization.vue +19 -10
- package/package/kisscomps/components/ChannelizationFlowStatistic/ChannelizationFlowStatistic.vue +19 -10
- package/package/kisscomps/components/PatternStatus/PatternStatus.vue +19 -6
- package/package/kisscomps/components/SchemeConfig/priorityControl/index.vue +3 -7
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/kisscomps/components/Channelization/Channelization.vue +19 -10
- package/src/kisscomps/components/ChannelizationFlowStatistic/ChannelizationFlowStatistic.vue +19 -10
- package/src/kisscomps/components/PatternStatus/PatternStatus.vue +19 -6
- package/src/kisscomps/components/SchemeConfig/priorityControl/index.vue +3 -7
- package/src/utils/errorcode.js +4 -0
- package/static/styles/channelizatioon.scss +1 -0
- package/static/styles/overview.scss +0 -255
|
@@ -495,27 +495,36 @@ export default {
|
|
|
495
495
|
</script>
|
|
496
496
|
|
|
497
497
|
<style lang="css" rel="stylesheet/scss">
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
498
|
+
.show-channelization {
|
|
499
|
+
position: relative;
|
|
500
|
+
overflow: hidden;
|
|
501
|
+
}
|
|
502
|
+
.widescreenCrossImg {
|
|
503
|
+
zoom: 1.3;
|
|
504
|
+
}
|
|
501
505
|
.superlargeCrossImg {
|
|
502
|
-
|
|
506
|
+
zoom: 1.3;
|
|
503
507
|
}
|
|
504
508
|
.largeCrossImg {
|
|
505
|
-
|
|
506
|
-
|
|
509
|
+
zoom: 1.2;
|
|
507
510
|
}
|
|
508
511
|
.middleCrossImg {
|
|
509
|
-
|
|
512
|
+
zoom: 1.1;
|
|
513
|
+
}
|
|
514
|
+
.middleCrossImg2 {
|
|
515
|
+
zoom: 1;
|
|
510
516
|
}
|
|
511
517
|
.smallCrossImg {
|
|
512
|
-
|
|
518
|
+
zoom: 0.9;
|
|
519
|
+
}
|
|
520
|
+
.smallCrossImg2 {
|
|
521
|
+
zoom: 0.8;
|
|
513
522
|
}
|
|
514
523
|
.miniCrossImg {
|
|
515
|
-
|
|
524
|
+
zoom: 0.7;
|
|
516
525
|
}
|
|
517
526
|
.superminiCrossImg {
|
|
518
|
-
zoom: 0.
|
|
527
|
+
zoom: 0.6;
|
|
519
528
|
}
|
|
520
529
|
.minimumCrossImg {
|
|
521
530
|
zoom: 0.35;
|
package/package/kisscomps/components/ChannelizationFlowStatistic/ChannelizationFlowStatistic.vue
CHANGED
|
@@ -300,27 +300,36 @@ export default {
|
|
|
300
300
|
</script>
|
|
301
301
|
|
|
302
302
|
<style lang="css" rel="stylesheet/scss">
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
303
|
+
.show-channelization {
|
|
304
|
+
position: relative;
|
|
305
|
+
overflow: hidden;
|
|
306
|
+
}
|
|
307
|
+
.widescreenCrossImg {
|
|
308
|
+
zoom: 1.3;
|
|
309
|
+
}
|
|
306
310
|
.superlargeCrossImg {
|
|
307
|
-
|
|
311
|
+
zoom: 1.3;
|
|
308
312
|
}
|
|
309
313
|
.largeCrossImg {
|
|
310
|
-
|
|
311
|
-
|
|
314
|
+
zoom: 1.2;
|
|
312
315
|
}
|
|
313
316
|
.middleCrossImg {
|
|
314
|
-
|
|
317
|
+
zoom: 1.1;
|
|
318
|
+
}
|
|
319
|
+
.middleCrossImg2 {
|
|
320
|
+
zoom: 1;
|
|
315
321
|
}
|
|
316
322
|
.smallCrossImg {
|
|
317
|
-
|
|
323
|
+
zoom: 0.9;
|
|
324
|
+
}
|
|
325
|
+
.smallCrossImg2 {
|
|
326
|
+
zoom: 0.8;
|
|
318
327
|
}
|
|
319
328
|
.miniCrossImg {
|
|
320
|
-
|
|
329
|
+
zoom: 0.7;
|
|
321
330
|
}
|
|
322
331
|
.superminiCrossImg {
|
|
323
|
-
zoom: 0.
|
|
332
|
+
zoom: 0.6;
|
|
324
333
|
}
|
|
325
334
|
.minimumCrossImg {
|
|
326
335
|
zoom: 0.35;
|
|
@@ -826,6 +826,17 @@ export default {
|
|
|
826
826
|
return k.id
|
|
827
827
|
})
|
|
828
828
|
})
|
|
829
|
+
let valSplit = val.map(item => {
|
|
830
|
+
return item.map(val => {
|
|
831
|
+
return val.value + (val.sum ? val.sum : 0)
|
|
832
|
+
})
|
|
833
|
+
})
|
|
834
|
+
let splitCycle = valSplit.length > 0 ? valSplit.map(item => {
|
|
835
|
+
return item.length > 0 ? item.reduce((a, b) => {
|
|
836
|
+
return a + b
|
|
837
|
+
}) : 0
|
|
838
|
+
}) : 0
|
|
839
|
+
let cycle = Math.max(...splitCycle)// 每个环的周期最大值
|
|
829
840
|
let newRings = ringsequence.filter(item => item)
|
|
830
841
|
let minLength = Math.min(...ringlength)
|
|
831
842
|
let resultArrs = [] // 环1分组
|
|
@@ -923,7 +934,9 @@ export default {
|
|
|
923
934
|
if (this.patternList) {
|
|
924
935
|
this.setBarrier(ringTeams, val)
|
|
925
936
|
}
|
|
926
|
-
|
|
937
|
+
if (newRings.length > 1) {
|
|
938
|
+
this.fillGap(ringTeams, val)
|
|
939
|
+
}
|
|
927
940
|
let barrier = this.step2(ringTeams, newPattern)
|
|
928
941
|
this.barrierList = barrier.map(j => {
|
|
929
942
|
return (j / (this.max ? this.max : this.newCycle) * 100) + '%'
|
|
@@ -993,14 +1006,14 @@ export default {
|
|
|
993
1006
|
}
|
|
994
1007
|
obj.split = split
|
|
995
1008
|
if (ring.sum) {
|
|
996
|
-
obj.redWidth = ((currPhase.redclear + ring.sum) / (this.max ? this.max :
|
|
1009
|
+
obj.redWidth = ((currPhase.redclear + ring.sum) / (this.max ? this.max : cycle) * 100).toFixed(3) + '%'
|
|
997
1010
|
} else {
|
|
998
|
-
obj.redWidth = (currPhase.redclear / (this.max ? this.max :
|
|
1011
|
+
obj.redWidth = (currPhase.redclear / (this.max ? this.max : cycle) * 100).toFixed(3) + '%'
|
|
999
1012
|
}
|
|
1000
1013
|
obj.mode = ring.mode
|
|
1001
|
-
obj.greenWidth = ((split - currPhase.redclear - currPhase.yellow - currPhase.flashgreen) / (this.max ? this.max :
|
|
1002
|
-
obj.flashgreen = (currPhase.flashgreen / (this.max ? this.max :
|
|
1003
|
-
obj.yellowWidth = (currPhase.yellow / (this.max ? this.max :
|
|
1014
|
+
obj.greenWidth = ((split - currPhase.redclear - currPhase.yellow - currPhase.flashgreen) / (this.max ? this.max : cycle) * 100).toFixed(3) + '%'
|
|
1015
|
+
obj.flashgreen = (currPhase.flashgreen / (this.max ? this.max : cycle) * 100).toFixed(3) + '%'
|
|
1016
|
+
obj.yellowWidth = (currPhase.yellow / (this.max ? this.max : cycle) * 100).toFixed(3) + '%'
|
|
1004
1017
|
// 忽略相位不显示
|
|
1005
1018
|
// let mode = ring.mode
|
|
1006
1019
|
// if (mode !== 7) { // 忽略相位不显示
|
|
@@ -182,14 +182,10 @@ export default {
|
|
|
182
182
|
control: 24,
|
|
183
183
|
delay: this.manualInfo.delay,
|
|
184
184
|
duration: this.manualInfo.duration,
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
level: this.manualInfo.level
|
|
189
|
-
}
|
|
190
|
-
|
|
185
|
+
type: this.manualInfo.type,
|
|
186
|
+
phase: this.manualInfo.phase,
|
|
187
|
+
level: this.manualInfo.level
|
|
191
188
|
}
|
|
192
|
-
console.log(submitdata, 'submitdata')
|
|
193
189
|
this.$emit('closePhaseControl', submitdata)
|
|
194
190
|
}
|
|
195
191
|
}
|