openatc-components 0.3.110 → 0.3.112
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 -11
- package/package/kisscomps/components/Channelization/Channelization.vue +1 -1
- package/package/kisscomps/components/ChannelizationFlowStatistic/ChannelizationFlowStatistic.vue +1 -1
- 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/DrawChannelization/drawsvg/index.vue +1 -1
- package/package/kisscomps/components/IntersectionMap/intersectionmap.vue +1 -1
- package/package/kisscomps/components/OptimizeKanban/index.js +2 -0
- package/package/kisscomps/components/OptimizeKanban/index.vue +369 -0
- package/package/kisscomps/components/OverviewComponent/index.vue +17 -11
- package/package/kisscomps/components/PatternOptimize/PatternOptimize.vue +2 -11
- package/package/kisscomps/components/PatternStatus/PatternStatus.vue +89 -84
- package/package/kisscomps/components/SchemeConfig/SchemeConfig.vue +5 -34
- package/package/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +11 -9
- package/package/kisscomps/components/SchemeConfig/manualControlModalNew/controlModelGroup.vue +4 -6
- package/package/kisscomps/components/SchemeConfig/manualControlModalNew/icon.vue +0 -32
- package/package/kisscomps/components/SchemeConfig/manualControlModalNew/index.vue +12 -19
- package/package/kisscomps/components/overView/index.vue +24 -1
- package/package/kisscomps/components/patternList/patternList.vue +4 -11
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/i18n/language/en.js +3 -6
- package/src/i18n/language/zh.js +3 -6
- package/src/kisscomps/components/BoardCard/BoardCard.vue +4 -11
- package/src/kisscomps/components/Channelization/Channelization.vue +1 -1
- package/src/kisscomps/components/ChannelizationFlowStatistic/ChannelizationFlowStatistic.vue +1 -1
- 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/DrawChannelization/drawsvg/index.vue +1 -1
- package/src/kisscomps/components/IntersectionMap/intersectionmap.vue +1 -1
- package/src/kisscomps/components/OverviewComponent/index.vue +17 -11
- package/src/kisscomps/components/PatternOptimize/PatternOptimize.vue +2 -11
- package/src/kisscomps/components/PatternStatus/PatternStatus.vue +89 -84
- package/src/kisscomps/components/SchemeConfig/SchemeConfig.vue +5 -34
- package/src/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +11 -9
- package/src/kisscomps/components/SchemeConfig/manualControlModalNew/controlModelGroup.vue +4 -6
- package/src/kisscomps/components/SchemeConfig/manualControlModalNew/icon.vue +0 -32
- package/src/kisscomps/components/SchemeConfig/manualControlModalNew/index.vue +12 -19
- package/src/kisscomps/components/overView/index.vue +24 -1
- package/src/kisscomps/components/patternList/patternList.vue +4 -11
- package/src/node_modules/.package_versions.json +1 -0
- package/src/utils/ControlFormat.js +1 -1
- package/src/views/intersection.vue +6 -7
- package/src/views/intersection2.vue +4 -4
- package/src/views/overView.vue +5 -27
- package/static/apiconfig.json +0 -10
- 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/kisscomps/components/SchemeConfig/utils/thirdPartypermission.js +0 -95
- package/src/api/permission.js +0 -33
- package/src/kisscomps/components/SchemeConfig/utils/thirdPartypermission.js +0 -95
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
// const permissionMenuMap = new Map([[
|
|
2
|
-
// 'configer:manual:dwell', ['驻留控制']
|
|
3
|
-
// ], [
|
|
4
|
-
// 'configer:manual:senior', ['特殊控制']
|
|
5
|
-
// ], [
|
|
6
|
-
// 'configer:manual:base', ['方案选择']
|
|
7
|
-
// ], [
|
|
8
|
-
// 'configer:manual:optimize', ['其他']
|
|
9
|
-
// ]])
|
|
10
|
-
const permissionControlMap = new Map([[
|
|
11
|
-
'configer:manual:dwell', [4, 22, 25]
|
|
12
|
-
], [
|
|
13
|
-
'configer:manual:senior', [1, 2, 3]
|
|
14
|
-
], [
|
|
15
|
-
'configer:manual:base', [5, 6, 9, 10, 12, 19]
|
|
16
|
-
], [
|
|
17
|
-
'configer:manual:optimize', [23, 100, 24]
|
|
18
|
-
], [
|
|
19
|
-
'configer:manual:dwell:step', [4]
|
|
20
|
-
], [
|
|
21
|
-
'configer:manual:dwell:stage', [4]
|
|
22
|
-
], [
|
|
23
|
-
'configer:manual:dwell:phaselock', [22]
|
|
24
|
-
], [
|
|
25
|
-
'configer:manual:dwell:directionlock', [25]
|
|
26
|
-
], [
|
|
27
|
-
'configer:manual:senior:yellowfalsh', [1]
|
|
28
|
-
], [
|
|
29
|
-
'configer:manual:senior:allred', [2]
|
|
30
|
-
], [
|
|
31
|
-
'configer:manual:senior:close', [3]
|
|
32
|
-
], [
|
|
33
|
-
'configer:manual:base:fix', [5]
|
|
34
|
-
], [
|
|
35
|
-
'configer:manual:base:free', [6]
|
|
36
|
-
], [
|
|
37
|
-
'configer:manual:base:adapter', [9]
|
|
38
|
-
], [
|
|
39
|
-
'configer:manual:base:coordinate', [10]
|
|
40
|
-
], [
|
|
41
|
-
'configer:manual:base:ped', [12]
|
|
42
|
-
], [
|
|
43
|
-
'configer:manual:base:pedfree', [19]
|
|
44
|
-
], [
|
|
45
|
-
'configer:manual:optimize:procedure', [23]
|
|
46
|
-
], [
|
|
47
|
-
'configer:manual:optimize:temp', [100]
|
|
48
|
-
], [
|
|
49
|
-
'configer:manual:optimize:preempt', [24]
|
|
50
|
-
]])
|
|
51
|
-
|
|
52
|
-
export function getPermissionMenu (thirdPartyControl) {
|
|
53
|
-
// 按第三方平台角色的权限处理可显示的手动控制菜单
|
|
54
|
-
// let thirdPartyControlMenu = []
|
|
55
|
-
// for (let i = 0; i < permissionList.length; i++) {
|
|
56
|
-
// let per = permissionList[i].permission_code
|
|
57
|
-
// if (permissionMenuMap.get(per)) {
|
|
58
|
-
// thirdPartyControlMenu = thirdPartyControlMenu.concat(permissionMenuMap.get(per))
|
|
59
|
-
// }
|
|
60
|
-
// }
|
|
61
|
-
// console.log(thirdPartyControlMenu)
|
|
62
|
-
// return thirdPartyControlMenu
|
|
63
|
-
let thirdPartyControlMenu = []
|
|
64
|
-
for (let i = 0; i < thirdPartyControl.length; i++) {
|
|
65
|
-
let control = thirdPartyControl[i]
|
|
66
|
-
if ([4, 22, 25].indexOf(control) !== -1) {
|
|
67
|
-
thirdPartyControlMenu = thirdPartyControlMenu.concat(['residentcontrol'])
|
|
68
|
-
}
|
|
69
|
-
if ([1, 2, 3].indexOf(control) !== -1) {
|
|
70
|
-
thirdPartyControlMenu = thirdPartyControlMenu.concat(['specialcontrol'])
|
|
71
|
-
}
|
|
72
|
-
if ([5, 6, 9, 10, 12, 19].indexOf(control) !== -1) {
|
|
73
|
-
thirdPartyControlMenu = thirdPartyControlMenu.concat(['schemeselection'])
|
|
74
|
-
}
|
|
75
|
-
if ([23, 24, 100].indexOf(control) !== -1) {
|
|
76
|
-
thirdPartyControlMenu = thirdPartyControlMenu.concat(['others'])
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
thirdPartyControlMenu = [...new Set(thirdPartyControlMenu)]
|
|
80
|
-
// console.log(thirdPartyControlMenu)
|
|
81
|
-
return thirdPartyControlMenu
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export function getPermissionControl (permissionList) {
|
|
85
|
-
// 按第三方平台角色的权限处理可显示的手动控制按钮
|
|
86
|
-
let thirdPartyControl = []
|
|
87
|
-
for (let i = 0; i < permissionList.length; i++) {
|
|
88
|
-
let per = permissionList[i].permission_code
|
|
89
|
-
if (permissionControlMap.get(per)) {
|
|
90
|
-
thirdPartyControl = thirdPartyControl.concat(permissionControlMap.get(per))
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
// console.log(thirdPartyControl)
|
|
94
|
-
return thirdPartyControl
|
|
95
|
-
}
|