openatc-components 0.1.33 → 0.1.35
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/CommonKanban/CommonKanban.vue +5 -4
- package/package/kisscomps/components/DrawChannelization/drawsvg/overlapAssociatedComponent.vue +20 -9
- package/package/kisscomps/components/DrawChannelization/drawsvg/phaseAssociatedComponent.vue +20 -9
- package/package/kisscomps/components/KanBan/kanban.vue +1 -1
- package/package/kisscomps/components/OverLap/OverLap.vue +15 -8
- package/package/kisscomps/components/PatternStatus/PatternStatus.vue +258 -87
- package/package/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +23 -1
- package/package/kisscomps/components/Stages/index.vue +9 -5
- package/package/kisscomps/components/XRDDirSelector/XRDDirSelector.vue +672 -293
- package/package/kisscomps/components/patternList/patternList.vue +4 -0
- 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/CommonKanban/CommonKanban.vue +5 -4
- package/src/kisscomps/components/DrawChannelization/drawsvg/overlapAssociatedComponent.vue +20 -9
- package/src/kisscomps/components/DrawChannelization/drawsvg/phaseAssociatedComponent.vue +20 -9
- package/src/kisscomps/components/KanBan/kanban.vue +1 -1
- package/src/kisscomps/components/OverLap/OverLap.vue +15 -8
- package/src/kisscomps/components/PatternStatus/PatternStatus.vue +258 -87
- package/src/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +23 -1
- package/src/kisscomps/components/Stages/index.vue +9 -5
- package/src/kisscomps/components/XRDDirSelector/XRDDirSelector.vue +672 -293
- package/src/kisscomps/components/patternList/patternList.vue +4 -0
- package/src/node_modules/.package_versions.json +1 -0
- package/src/utils/RingDataModel.js +18 -2
- package/src/views/schemeconfig.vue +3 -3
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
:cycles="cycles"
|
|
9
9
|
:cycle="cycle"
|
|
10
10
|
:patternList="patternList"
|
|
11
|
+
:condition="condition"
|
|
11
12
|
:localPatternList="localPatternList"
|
|
12
13
|
:phaseList="phaseList"
|
|
13
14
|
:showBarrier="showBarrier"
|
|
@@ -496,6 +497,9 @@ export default {
|
|
|
496
497
|
contrloType: {
|
|
497
498
|
type: String
|
|
498
499
|
},
|
|
500
|
+
condition: {
|
|
501
|
+
type: Boolean
|
|
502
|
+
},
|
|
499
503
|
localPatternList: {
|
|
500
504
|
type: Array
|
|
501
505
|
},
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -53,7 +53,7 @@ export default class RingDataModel {
|
|
|
53
53
|
addPhaseInfo (phase) {
|
|
54
54
|
let addphse = {}
|
|
55
55
|
addphse.name = i18n.t('openatccomponents.overview.phase') + phase.id
|
|
56
|
-
addphse.desc = this.getPhaseDescription(phase
|
|
56
|
+
addphse.desc = this.getPhaseDescription(phase)
|
|
57
57
|
// 相位锁定选项默认都按照解锁状态显示
|
|
58
58
|
addphse.locktype = 0
|
|
59
59
|
addphse.close = 0
|
|
@@ -67,9 +67,25 @@ export default class RingDataModel {
|
|
|
67
67
|
|
|
68
68
|
getPhaseDescription (phaseList) {
|
|
69
69
|
let list = []
|
|
70
|
-
|
|
70
|
+
let peddirections = []
|
|
71
|
+
let sidewalkPhaseData = this.getPedPhasePos()
|
|
72
|
+
for (let walk of sidewalkPhaseData) {
|
|
73
|
+
for (let ped of phaseList.peddirection) {
|
|
74
|
+
// if (stg === walk.phaseid) {
|
|
75
|
+
let obj = {}
|
|
76
|
+
obj.name = walk.name
|
|
77
|
+
obj.id = walk.id
|
|
78
|
+
if (ped === walk.id) {
|
|
79
|
+
peddirections.push(obj)
|
|
80
|
+
peddirections = Array.from(new Set(peddirections))
|
|
81
|
+
}
|
|
82
|
+
// }
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
for (let id of phaseList.direction) {
|
|
71
86
|
let obj = {}
|
|
72
87
|
obj.id = id
|
|
88
|
+
obj.peddirection = peddirections
|
|
73
89
|
obj.color = '#454545'
|
|
74
90
|
list.push(obj)
|
|
75
91
|
}
|
|
@@ -55,9 +55,9 @@ export default {
|
|
|
55
55
|
showWalk: [ 1, 2 ],
|
|
56
56
|
sidewalkPhaseData: [{key: 'pedphase1653873194007699', phaseid: 1, id: 1, name: '东人行横道', isshow: false}],
|
|
57
57
|
lockPhaseBtnName: this.$t('openatccomponents.overview.comfirm'),
|
|
58
|
-
agentId: '
|
|
59
|
-
Token: '
|
|
60
|
-
Token103: '
|
|
58
|
+
agentId: '12004-950',
|
|
59
|
+
Token: 'eyJraWQiOiIxNjcwMzc0ODA4MTcyIiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTc1Njc3NDgwOCwiaWF0IjoxNjcwMzc0ODA4fQ.xsRoye_tk_Xf60w5Mpigm8vrPgQJCLN-W_IW4U7dafA',
|
|
60
|
+
Token103: 'eyJraWQiOiIxNjcwMzc0ODA4MTcyIiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTc1Njc3NDgwOCwiaWF0IjoxNjcwMzc0ODA4fQ.xsRoye_tk_Xf60w5Mpigm8vrPgQJCLN-W_IW4U7dafA',
|
|
61
61
|
boxVisible: false,
|
|
62
62
|
dialogWidth: '80%',
|
|
63
63
|
crossStatusData: {} // 路口状态数据
|