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.
Files changed (27) hide show
  1. package/package/kisscomps/components/BoardCard/BoardCard.vue +4 -0
  2. package/package/kisscomps/components/CommonKanban/CommonKanban.vue +5 -4
  3. package/package/kisscomps/components/DrawChannelization/drawsvg/overlapAssociatedComponent.vue +20 -9
  4. package/package/kisscomps/components/DrawChannelization/drawsvg/phaseAssociatedComponent.vue +20 -9
  5. package/package/kisscomps/components/KanBan/kanban.vue +1 -1
  6. package/package/kisscomps/components/OverLap/OverLap.vue +15 -8
  7. package/package/kisscomps/components/PatternStatus/PatternStatus.vue +258 -87
  8. package/package/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +23 -1
  9. package/package/kisscomps/components/Stages/index.vue +9 -5
  10. package/package/kisscomps/components/XRDDirSelector/XRDDirSelector.vue +672 -293
  11. package/package/kisscomps/components/patternList/patternList.vue +4 -0
  12. package/package/kissui.min.js +1 -1
  13. package/package.json +1 -1
  14. package/src/kisscomps/components/BoardCard/BoardCard.vue +4 -0
  15. package/src/kisscomps/components/CommonKanban/CommonKanban.vue +5 -4
  16. package/src/kisscomps/components/DrawChannelization/drawsvg/overlapAssociatedComponent.vue +20 -9
  17. package/src/kisscomps/components/DrawChannelization/drawsvg/phaseAssociatedComponent.vue +20 -9
  18. package/src/kisscomps/components/KanBan/kanban.vue +1 -1
  19. package/src/kisscomps/components/OverLap/OverLap.vue +15 -8
  20. package/src/kisscomps/components/PatternStatus/PatternStatus.vue +258 -87
  21. package/src/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +23 -1
  22. package/src/kisscomps/components/Stages/index.vue +9 -5
  23. package/src/kisscomps/components/XRDDirSelector/XRDDirSelector.vue +672 -293
  24. package/src/kisscomps/components/patternList/patternList.vue +4 -0
  25. package/src/node_modules/.package_versions.json +1 -0
  26. package/src/utils/RingDataModel.js +18 -2
  27. 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
  },
@@ -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.direction)
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
- for (let id of phaseList) {
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: '13001-460',
59
- Token: 'eyJraWQiOiIxNjYwMjgzMzQwMzM4IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTc0NjY4MzM0MCwiaWF0IjoxNjYwMjgzMzQwfQ.xmgkrjwcdwT_miC3krjqL27Tv4txJ9FQuDEKlfWdtzU',
60
- Token103: 'eyJraWQiOiIxNjQ5MzM4NzA5MTA0IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTczNTczODcwOSwiaWF0IjoxNjQ5MzM4NzA5fQ.JDSkpT1SbB61dEKvorhVdZJHKJzoQZEY5DPKHs1Imo0',
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: {} // 路口状态数据