openatc-components 0.2.52 → 0.2.53
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/IntersectionMap/crossDirection/crossDiagram.vue +15 -1
- package/package/kisscomps/components/SchemeConfig/SchemeConfig.vue +1 -1
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +15 -1
- package/src/kisscomps/components/SchemeConfig/SchemeConfig.vue +1 -1
- package/src/main.js +1 -1
- package/src/views/intersection.vue +3 -3
- package/src/views/overView.vue +2 -2
package/package.json
CHANGED
|
@@ -966,19 +966,33 @@ export default {
|
|
|
966
966
|
},
|
|
967
967
|
handleRepeatRealdir (channelList) {
|
|
968
968
|
// 按realdir去掉重复方向的数据
|
|
969
|
+
let dirChannelList = channelList.filter(ele => ele.type === 0 || ele.type === 1 || ele.type === 3)
|
|
970
|
+
let pedDirChannelList = channelList.filter(ele => ele.type === 2)
|
|
969
971
|
let map = new Map()
|
|
970
|
-
|
|
972
|
+
let map2 = new Map()
|
|
973
|
+
dirChannelList.forEach(ele => {
|
|
971
974
|
ele.realdir.forEach(dir => {
|
|
972
975
|
if (map.get(dir) === undefined) {
|
|
973
976
|
map.set(dir, ele)
|
|
974
977
|
}
|
|
975
978
|
})
|
|
976
979
|
})
|
|
980
|
+
pedDirChannelList.forEach(ele => {
|
|
981
|
+
ele.realdir.forEach(dir => {
|
|
982
|
+
if (map2.get(dir) === undefined) {
|
|
983
|
+
map2.set(dir, ele)
|
|
984
|
+
}
|
|
985
|
+
})
|
|
986
|
+
})
|
|
977
987
|
let arr = Array.from(map)
|
|
988
|
+
let pedarr = Array.from(map2)
|
|
978
989
|
let newarr = []
|
|
979
990
|
arr.forEach(ele => {
|
|
980
991
|
newarr.push(ele[1])
|
|
981
992
|
})
|
|
993
|
+
pedarr.forEach(ele => {
|
|
994
|
+
newarr.push(ele[1])
|
|
995
|
+
})
|
|
982
996
|
// console.log(newarr)
|
|
983
997
|
return newarr
|
|
984
998
|
},
|
package/src/main.js
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<!-- <intersection-base-map
|
|
13
13
|
ref="intersectionMap"
|
|
14
14
|
:crossStatusData="crossStatusData"
|
|
15
|
-
agentId="
|
|
15
|
+
:agentId="this.agentId"
|
|
16
16
|
isVipRoute
|
|
17
17
|
:choosedDirection="[1,2,3]"
|
|
18
18
|
:choosedPedDirection="[3,4]"
|
|
@@ -139,12 +139,12 @@ export default {
|
|
|
139
139
|
return {
|
|
140
140
|
roadDirection: 'right',
|
|
141
141
|
// reqUrl: 'http://192.168.13.103:10003/openatc',
|
|
142
|
-
agentId: '
|
|
142
|
+
agentId: '18009',
|
|
143
143
|
// agentId: '13013',
|
|
144
144
|
// agentId: '12007_390',
|
|
145
145
|
// agentId: '12014',
|
|
146
146
|
reqUrl: 'http://192.168.13.103:10003/openatc',
|
|
147
|
-
Token: '
|
|
147
|
+
Token: 'eyJraWQiOiIxNzE2NTE5MTM5MjE4IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTcxNjU2MjMzOSwiaWF0IjoxNzE2NTE5MTM5fQ.tWVuMWAkdnISXH6YejL_VP4HPWmjVrL7XHkHSFTxF24',
|
|
148
148
|
// agentId: '30003-352',
|
|
149
149
|
// reqUrl: 'https://kints-dev.devdolphin.com/openatc',
|
|
150
150
|
// Token: 'eyJraWQiOiIxNjUwNTA5MDI2ODk2IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJ4aWFvbWluZyIsImV4cCI6MTczNjkwOTAyNiwiaWF0IjoxNjUwNTA5MDI2fQ.-s4T-uMRmB2zf9yer87USKQXLY1a12Zq5lCOnqjNmfA',
|
package/src/views/overView.vue
CHANGED
|
@@ -19,8 +19,8 @@ export default {
|
|
|
19
19
|
isShowMode: true,
|
|
20
20
|
modeName: '交警遥控',
|
|
21
21
|
controlName: '步进',
|
|
22
|
-
agentId: '
|
|
23
|
-
Token: '
|
|
22
|
+
agentId: 'jmlxhl',
|
|
23
|
+
Token: 'eyJraWQiOiIxNzA4OTA5NDk2ODcxIiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTcwODk1MjY5NiwiaWF0IjoxNzA4OTA5NDk2fQ.FI0gzBQFLyQsj95LG56lVZxb6WYlr2-datNsyv6fF-I',
|
|
24
24
|
reqUrl: 'http://192.168.13.103:10003/openatc'
|
|
25
25
|
}
|
|
26
26
|
},
|