openatc-components 0.3.106 → 0.3.107

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 (61) hide show
  1. package/config/index.js +0 -1
  2. package/package/kisscomps/components/BoardCard/BoardCard.vue +11 -0
  3. package/package/kisscomps/components/Channelization/Channelization.vue +1 -1
  4. package/package/kisscomps/components/ChannelizationFlowStatistic/ChannelizationFlowStatistic.vue +1 -1
  5. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +46 -145
  6. package/package/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +4 -4
  7. package/package/kisscomps/components/DrawChannelization/drawsvg/index.vue +1 -1
  8. package/package/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +3 -7
  9. package/package/kisscomps/components/IntersectionMap/intersectionmap.vue +0 -5
  10. package/package/kisscomps/components/IntersectionWithInterface/IntersectionWithInterface.vue +12 -17
  11. package/package/kisscomps/components/OverviewComponent/index.vue +34 -31
  12. package/package/kisscomps/components/PatternOptimize/PatternOptimize.vue +11 -2
  13. package/package/kisscomps/components/PatternStatus/PatternStatus.vue +92 -33
  14. package/package/kisscomps/components/SchemeConfig/SchemeConfig.vue +13 -30
  15. package/package/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +9 -11
  16. package/package/kisscomps/components/SchemeConfig/manualControlModalNew/controlModelGroup.vue +3 -6
  17. package/package/kisscomps/components/SchemeConfig/manualControlModalNew/index.vue +11 -18
  18. package/package/kisscomps/components/overView/index.vue +23 -0
  19. package/package/kisscomps/components/patternConfig/index.vue +1 -1
  20. package/package/kisscomps/components/patternConfig/pattern/patternTable.vue +13 -33
  21. package/package/kisscomps/components/patternConfig/planContent.vue +3 -3
  22. package/package/kisscomps/components/patternList/patternList.vue +11 -0
  23. package/package/kissui.min.js +1 -1
  24. package/package.json +1 -1
  25. package/src/i18n/language/en.js +4 -3
  26. package/src/i18n/language/zh.js +4 -3
  27. package/src/kisscomps/components/BoardCard/BoardCard.vue +11 -0
  28. package/src/kisscomps/components/Channelization/Channelization.vue +1 -1
  29. package/src/kisscomps/components/ChannelizationFlowStatistic/ChannelizationFlowStatistic.vue +1 -1
  30. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +46 -145
  31. package/src/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +4 -4
  32. package/src/kisscomps/components/DrawChannelization/drawsvg/index.vue +1 -1
  33. package/src/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +3 -7
  34. package/src/kisscomps/components/IntersectionMap/intersectionmap.vue +0 -5
  35. package/src/kisscomps/components/IntersectionWithInterface/IntersectionWithInterface.vue +12 -17
  36. package/src/kisscomps/components/OverviewComponent/index.vue +34 -31
  37. package/src/kisscomps/components/PatternOptimize/PatternOptimize.vue +11 -2
  38. package/src/kisscomps/components/PatternStatus/PatternStatus.vue +92 -33
  39. package/src/kisscomps/components/SchemeConfig/SchemeConfig.vue +13 -30
  40. package/src/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +9 -11
  41. package/src/kisscomps/components/SchemeConfig/manualControlModalNew/controlModelGroup.vue +3 -6
  42. package/src/kisscomps/components/SchemeConfig/manualControlModalNew/index.vue +11 -18
  43. package/src/kisscomps/components/overView/index.vue +23 -0
  44. package/src/kisscomps/components/patternConfig/index.vue +1 -1
  45. package/src/kisscomps/components/patternConfig/pattern/patternTable.vue +13 -33
  46. package/src/kisscomps/components/patternConfig/planContent.vue +3 -3
  47. package/src/kisscomps/components/patternList/patternList.vue +11 -0
  48. package/src/views/intersection.vue +7 -6
  49. package/src/views/intersection2.vue +2 -2
  50. package/src/views/overView.vue +23 -5
  51. package/src/views/patternConfig.vue +8 -38
  52. package/src/views/schemeconfig.vue +6 -4
  53. package/static/apiconfig.json +0 -10
  54. package/static/styles/common.scss +3 -3
  55. package/static/styles/dark/theme/element-dark.scss +1 -1
  56. package/static/styles/intersection.scss +5 -15
  57. package/static/styles/light/theme/element-light.scss +1 -1
  58. package/static/styles/schemeconfig.scss +6 -3
  59. package/package/kisscomps/components/SchemeConfig/utils/thirdPartypermission.js +0 -95
  60. package/src/api/permission.js +0 -33
  61. package/src/kisscomps/components/SchemeConfig/utils/thirdPartypermission.js +0 -95
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openatc-components",
3
- "version": "0.3.106",
3
+ "version": "0.3.107",
4
4
  "description": "A Vue.js project",
5
5
  "author": "openatc developer",
6
6
  "private": false,
@@ -111,9 +111,11 @@ const en = {
111
111
  'signalID': 'Intersection ID',
112
112
  'flow': 'Average lane flow (h)low',
113
113
  'saturationflow': 'Planned lane saturation Flow(h)',
114
- 'typeflow-split-opt': 'Flow Split Op',
114
+ // 'typeflow-split-opt': 'Flow Split Op',
115
+ 'typeflow-split-opt': 'Minimum delay',
116
+ 'typecycle-opt': 'Optimal balance',
115
117
  'maxFlow': 'The average lane flow is too large. Is it further optimized?',
116
- 'typecycle-opt': 'Cycle Opt',
118
+ // 'typecycle-opt': 'Cycle Opt',
117
119
  'signalIP': 'Signal IP',
118
120
  'stagecountdown': 'Stage Countdown',
119
121
  'stageduration': 'Stage Duration',
@@ -1111,7 +1113,6 @@ const en = {
1111
1113
  '3024': 'The current user has not been created!',
1112
1114
  '3025': 'Token is not enabled!',
1113
1115
  '3026': 'The role has associated users!',
1114
- '3027': 'The character does not exist!',
1115
1116
  // 消息通讯错误
1116
1117
  '4001': 'Error Request',
1117
1118
  '4002': 'Error Response',
@@ -107,9 +107,11 @@ const zh = {
107
107
  'crossinfo': '路口信息',
108
108
  'flow': '车道平均流量(h)',
109
109
  'saturationflow': '车道规划饱和流量(h)',
110
- 'typeflow-split-opt': '饱和绿信比优化',
110
+ // 'typeflow-split-opt': '饱和绿信比优化',
111
111
  'maxFlow': '车道平均流量过大,是否继续优化?',
112
- 'typecycle-opt': '周期优化',
112
+ // 'typecycle-opt': '周期优化',
113
+ 'typeflow-split-opt': '最小延误',
114
+ 'typecycle-opt': '均衡度最优',
113
115
  'crossname': '路口名称',
114
116
  'divicestate': '设备状态',
115
117
  'protocoltype': '协议类型',
@@ -1111,7 +1113,6 @@ const zh = {
1111
1113
  '3024': '当前用户没有被创建!',
1112
1114
  '3025': 'token未启用!',
1113
1115
  '3026': '角色存在关联的用户!',
1114
- '3027': '角色不存在!',
1115
1116
  // 消息通讯错误
1116
1117
  '4001': '错误请求',
1117
1118
  '4002': '错误应答',
@@ -11,6 +11,7 @@
11
11
  :showBarrier="showBarrier"
12
12
  :controlPhase="controlPhase"
13
13
  :isShowTip="isShowTip"
14
+ :isMove="isMove"
14
15
  :localPatternList="localPatternList"
15
16
  :showCondition="showCondition"
16
17
  :contrloType="contrloType"
@@ -24,6 +25,7 @@
24
25
  :cycle="cycle"
25
26
  :syncTime="syncTime"
26
27
  :style="{'margin-top': '25px'}"
28
+ @handleSplitMove="handleSplitMove"
27
29
  :patternStatusList="patternStatusList"
28
30
  :patternId="patternId"
29
31
  :cycles="cycles">
@@ -72,6 +74,10 @@ export default {
72
74
  stagesChange: {
73
75
  type: Array
74
76
  },
77
+ isMove: {
78
+ type: Boolean,
79
+ default: true
80
+ },
75
81
  isShowTip: {
76
82
  type: Boolean,
77
83
  default: true
@@ -108,6 +114,11 @@ export default {
108
114
  syncTime: {
109
115
  type: Number
110
116
  }
117
+ },
118
+ methods: {
119
+ handleSplitMove (data) {
120
+ this.$emit('handleSplitMove', data)
121
+ }
111
122
  }
112
123
  }
113
124
  </script>
@@ -363,7 +363,7 @@ export default {
363
363
  // }
364
364
  return
365
365
  }
366
- if (JSON.stringify(data.data.data) === '{}') return
366
+ if (data.data.data === undefined || JSON.stringify(data.data.data) === '{}') return
367
367
  // if (this.isfromatc === true) {
368
368
  // this.$store.dispatch('SetShowHomePage', 'Channelization')
369
369
  // }
@@ -257,7 +257,7 @@ export default {
257
257
  // }
258
258
  return
259
259
  }
260
- if (JSON.stringify(data.data.data) === '{}') return
260
+ if (data.data.data === undefined || JSON.stringify(data.data.data) === '{}') return
261
261
  // if (this.isfromatc === true) {
262
262
  // this.$store.dispatch('SetShowHomePage', 'Channelization')
263
263
  // }