openatc-components 0.3.98 → 0.3.100
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/config/index.js +1 -0
- package/package/kisscomps/components/BoardCard/BoardCard.vue +0 -11
- package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +145 -46
- package/package/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +4 -4
- package/package/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +7 -3
- package/package/kisscomps/components/IntersectionMap/intersectionmap.vue +5 -0
- package/package/kisscomps/components/IntersectionWithInterface/IntersectionWithInterface.vue +17 -12
- package/package/kisscomps/components/OverviewComponent/index.vue +28 -46
- package/package/kisscomps/components/PatternOptimize/PatternOptimize.vue +2 -11
- package/package/kisscomps/components/PatternStatus/PatternStatus.vue +33 -92
- package/package/kisscomps/components/SchemeConfig/SchemeConfig.vue +31 -13
- package/package/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +11 -9
- package/package/kisscomps/components/SchemeConfig/manualControlModalNew/controlModelGroup.vue +6 -2
- package/package/kisscomps/components/SchemeConfig/manualControlModalNew/index.vue +19 -6
- package/package/kisscomps/components/SchemeConfig/utils/thirdPartypermission.js +52 -0
- package/package/kisscomps/components/overView/index.vue +0 -23
- package/package/kisscomps/components/patternConfig/index.vue +1 -1
- package/package/kisscomps/components/patternConfig/pattern/patternTable.vue +33 -13
- package/package/kisscomps/components/patternConfig/planContent.vue +3 -3
- package/package/kisscomps/components/patternList/patternList.vue +0 -11
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/api/permission.js +33 -0
- package/src/i18n/language/en.js +3 -4
- package/src/i18n/language/zh.js +3 -4
- package/src/kisscomps/components/BoardCard/BoardCard.vue +0 -11
- package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +145 -46
- package/src/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +4 -4
- package/src/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +7 -3
- package/src/kisscomps/components/IntersectionMap/intersectionmap.vue +5 -0
- package/src/kisscomps/components/IntersectionWithInterface/IntersectionWithInterface.vue +17 -12
- package/src/kisscomps/components/OverviewComponent/index.vue +28 -46
- package/src/kisscomps/components/PatternOptimize/PatternOptimize.vue +2 -11
- package/src/kisscomps/components/PatternStatus/PatternStatus.vue +33 -92
- package/src/kisscomps/components/SchemeConfig/SchemeConfig.vue +31 -13
- package/src/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +11 -9
- package/src/kisscomps/components/SchemeConfig/manualControlModalNew/controlModelGroup.vue +6 -2
- package/src/kisscomps/components/SchemeConfig/manualControlModalNew/index.vue +19 -6
- package/src/kisscomps/components/SchemeConfig/utils/thirdPartypermission.js +52 -0
- package/src/kisscomps/components/overView/index.vue +0 -23
- package/src/kisscomps/components/patternConfig/index.vue +1 -1
- package/src/kisscomps/components/patternConfig/pattern/patternTable.vue +33 -13
- package/src/kisscomps/components/patternConfig/planContent.vue +3 -3
- package/src/kisscomps/components/patternList/patternList.vue +0 -11
- package/src/views/intersection.vue +6 -7
- package/src/views/intersection2.vue +2 -2
- package/src/views/overView.vue +4 -17
- package/src/views/patternConfig.vue +38 -8
- package/src/views/schemeconfig.vue +4 -6
- package/static/apiconfig.json +10 -0
- package/static/styles/common.scss +3 -3
- package/static/styles/dark/theme/element-dark.scss +1 -1
- package/static/styles/intersection.scss +15 -5
- package/static/styles/light/theme/element-light.scss +1 -1
- package/static/styles/schemeconfig.scss +3 -6
package/package.json
CHANGED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020 kedacom
|
|
3
|
+
* OpenATC is licensed under Mulan PSL v2.
|
|
4
|
+
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
|
5
|
+
* You may obtain a copy of Mulan PSL v2 at:
|
|
6
|
+
* http://license.coscl.org.cn/MulanPSL2
|
|
7
|
+
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
|
|
8
|
+
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
|
|
9
|
+
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
|
|
10
|
+
* See the Mulan PSL v2 for more details.
|
|
11
|
+
**/
|
|
12
|
+
import Authapi from './authapi'
|
|
13
|
+
|
|
14
|
+
export const GetPermissionById = (id) => {
|
|
15
|
+
let api = new Authapi('getPermission')
|
|
16
|
+
|
|
17
|
+
let paramList = [id, 'permissions']
|
|
18
|
+
|
|
19
|
+
return api.Send({}, {}, paramList)
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export const GetRoleByName = (roleName) => {
|
|
23
|
+
let api = new Authapi('getRoleByName')
|
|
24
|
+
|
|
25
|
+
let argList = [roleName, 'permissions']
|
|
26
|
+
|
|
27
|
+
return api.Send({}, {}, argList)
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export default {
|
|
31
|
+
GetPermissionById,
|
|
32
|
+
GetRoleByName
|
|
33
|
+
}
|
package/src/i18n/language/en.js
CHANGED
|
@@ -111,11 +111,9 @@ const en = {
|
|
|
111
111
|
'signalID': 'Intersection ID',
|
|
112
112
|
'flow': 'Average lane flow (h)low',
|
|
113
113
|
'saturationflow': 'Planned lane saturation Flow(h)',
|
|
114
|
-
|
|
115
|
-
'typeflow-split-opt': 'Minimum delay',
|
|
116
|
-
'typecycle-opt': 'Optimal balance',
|
|
114
|
+
'typeflow-split-opt': 'Flow Split Op',
|
|
117
115
|
'maxFlow': 'The average lane flow is too large. Is it further optimized?',
|
|
118
|
-
|
|
116
|
+
'typecycle-opt': 'Cycle Opt',
|
|
119
117
|
'signalIP': 'Signal IP',
|
|
120
118
|
'stagecountdown': 'Stage Countdown',
|
|
121
119
|
'stageduration': 'Stage Duration',
|
|
@@ -1113,6 +1111,7 @@ const en = {
|
|
|
1113
1111
|
'3024': 'The current user has not been created!',
|
|
1114
1112
|
'3025': 'Token is not enabled!',
|
|
1115
1113
|
'3026': 'The role has associated users!',
|
|
1114
|
+
'3027': 'The character does not exist!',
|
|
1116
1115
|
// 消息通讯错误
|
|
1117
1116
|
'4001': 'Error Request',
|
|
1118
1117
|
'4002': 'Error Response',
|
package/src/i18n/language/zh.js
CHANGED
|
@@ -107,11 +107,9 @@ const zh = {
|
|
|
107
107
|
'crossinfo': '路口信息',
|
|
108
108
|
'flow': '车道平均流量(h)',
|
|
109
109
|
'saturationflow': '车道规划饱和流量(h)',
|
|
110
|
-
|
|
110
|
+
'typeflow-split-opt': '饱和绿信比优化',
|
|
111
111
|
'maxFlow': '车道平均流量过大,是否继续优化?',
|
|
112
|
-
|
|
113
|
-
'typeflow-split-opt': '最小延误',
|
|
114
|
-
'typecycle-opt': '均衡度最优',
|
|
112
|
+
'typecycle-opt': '周期优化',
|
|
115
113
|
'crossname': '路口名称',
|
|
116
114
|
'divicestate': '设备状态',
|
|
117
115
|
'protocoltype': '协议类型',
|
|
@@ -1113,6 +1111,7 @@ const zh = {
|
|
|
1113
1111
|
'3024': '当前用户没有被创建!',
|
|
1114
1112
|
'3025': 'token未启用!',
|
|
1115
1113
|
'3026': '角色存在关联的用户!',
|
|
1114
|
+
'3027': '角色不存在!',
|
|
1116
1115
|
// 消息通讯错误
|
|
1117
1116
|
'4001': '错误请求',
|
|
1118
1117
|
'4002': '错误应答',
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
:showBarrier="showBarrier"
|
|
12
12
|
:controlPhase="controlPhase"
|
|
13
13
|
:isShowTip="isShowTip"
|
|
14
|
-
:isMove="isMove"
|
|
15
14
|
:localPatternList="localPatternList"
|
|
16
15
|
:showCondition="showCondition"
|
|
17
16
|
:contrloType="contrloType"
|
|
@@ -25,7 +24,6 @@
|
|
|
25
24
|
:cycle="cycle"
|
|
26
25
|
:syncTime="syncTime"
|
|
27
26
|
:style="{'margin-top': '25px'}"
|
|
28
|
-
@handleSplitMove="handleSplitMove"
|
|
29
27
|
:patternStatusList="patternStatusList"
|
|
30
28
|
:patternId="patternId"
|
|
31
29
|
:cycles="cycles">
|
|
@@ -74,10 +72,6 @@ export default {
|
|
|
74
72
|
stagesChange: {
|
|
75
73
|
type: Array
|
|
76
74
|
},
|
|
77
|
-
isMove: {
|
|
78
|
-
type: Boolean,
|
|
79
|
-
default: true
|
|
80
|
-
},
|
|
81
75
|
isShowTip: {
|
|
82
76
|
type: Boolean,
|
|
83
77
|
default: true
|
|
@@ -114,11 +108,6 @@ export default {
|
|
|
114
108
|
syncTime: {
|
|
115
109
|
type: Number
|
|
116
110
|
}
|
|
117
|
-
},
|
|
118
|
-
methods: {
|
|
119
|
-
handleSplitMove (data) {
|
|
120
|
-
this.$emit('handleSplitMove', data)
|
|
121
|
-
}
|
|
122
111
|
}
|
|
123
112
|
}
|
|
124
113
|
</script>
|