openatc-components 0.3.81 → 0.3.82
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/ChannelizationWithInterface/ChannelizationWithInterface.vue +1 -1
- package/package/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +4 -5
- package/package/kisscomps/components/IntersectionMap/intersectionmap.vue +2 -2
- package/package/kisscomps/components/IntersectionWithInterface/IntersectionWithInterface.vue +3 -2
- package/package/kisscomps/components/OverviewComponent/index.vue +0 -1
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/kisscomps/components/ChannelizationWithInterface/ChannelizationWithInterface.vue +1 -1
- package/src/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +4 -5
- package/src/kisscomps/components/IntersectionMap/intersectionmap.vue +2 -2
- package/src/kisscomps/components/IntersectionWithInterface/IntersectionWithInterface.vue +3 -2
- package/src/kisscomps/components/OverviewComponent/index.vue +0 -1
- package/src/views/intersection.vue +3 -3
- package/src/views/overView.vue +1 -1
package/package.json
CHANGED
package/src/kisscomps/components/ChannelizationWithInterface/ChannelizationWithInterface.vue
CHANGED
|
@@ -237,7 +237,7 @@ export default {
|
|
|
237
237
|
})
|
|
238
238
|
},
|
|
239
239
|
firstInit () {
|
|
240
|
-
if (this.$route.query !== undefined && Object.keys(this.$route.query).length) {
|
|
240
|
+
if (this.$route.query !== undefined && Object.keys(this.$route.query).length && this.$route.query.agentid !== undefined) {
|
|
241
241
|
this.agentId = this.$route.query.agentid
|
|
242
242
|
setIframdevid(this.agentId)
|
|
243
243
|
this.registerMessage() // 注册消息
|
|
@@ -315,10 +315,11 @@ export default {
|
|
|
315
315
|
// },
|
|
316
316
|
agentId: {
|
|
317
317
|
handler: function (val1, val2) {
|
|
318
|
-
if (val1 !== val2
|
|
318
|
+
if (val1 !== val2) {
|
|
319
319
|
this.init()
|
|
320
320
|
}
|
|
321
|
-
}
|
|
321
|
+
},
|
|
322
|
+
immediate: true
|
|
322
323
|
}
|
|
323
324
|
},
|
|
324
325
|
data () {
|
|
@@ -1313,9 +1314,7 @@ export default {
|
|
|
1313
1314
|
}
|
|
1314
1315
|
},
|
|
1315
1316
|
mounted () {
|
|
1316
|
-
|
|
1317
|
-
this.init()
|
|
1318
|
-
}
|
|
1317
|
+
// this.init()
|
|
1319
1318
|
}
|
|
1320
1319
|
}
|
|
1321
1320
|
</script>
|
|
@@ -134,7 +134,7 @@ export default {
|
|
|
134
134
|
watch: {
|
|
135
135
|
$route: {
|
|
136
136
|
handler: function (val, oldVal) {
|
|
137
|
-
if (val.query !== undefined) {
|
|
137
|
+
if (val.query !== undefined && val.query.agentid !== undefined) {
|
|
138
138
|
this.resetCrossDiagram()
|
|
139
139
|
}
|
|
140
140
|
},
|
|
@@ -164,7 +164,7 @@ export default {
|
|
|
164
164
|
}
|
|
165
165
|
},
|
|
166
166
|
created () {
|
|
167
|
-
if (this.$route.query !== undefined && Object.keys(this.$route.query).length) {
|
|
167
|
+
if (this.$route.query !== undefined && Object.keys(this.$route.query).length && this.$route.query.agentid !== undefined) {
|
|
168
168
|
this.resetCrossDiagram()
|
|
169
169
|
}
|
|
170
170
|
},
|
|
@@ -96,7 +96,8 @@ export default {
|
|
|
96
96
|
this.agentId = val
|
|
97
97
|
},
|
|
98
98
|
// 深度观察监听
|
|
99
|
-
deep: true
|
|
99
|
+
deep: true,
|
|
100
|
+
immediate: true
|
|
100
101
|
},
|
|
101
102
|
Token: {
|
|
102
103
|
handler: function (val) {
|
|
@@ -258,7 +259,7 @@ export default {
|
|
|
258
259
|
})
|
|
259
260
|
},
|
|
260
261
|
firstInit () {
|
|
261
|
-
if (this.$route.query !== undefined && Object.keys(this.$route.query).length) {
|
|
262
|
+
if (this.$route.query !== undefined && Object.keys(this.$route.query).length && this.$route.query.agentid !== undefined) {
|
|
262
263
|
this.agentId = this.$route.query.agentid
|
|
263
264
|
setIframdevid(this.agentId)
|
|
264
265
|
this.registerMessage() // 注册消息
|
|
@@ -227,7 +227,6 @@ export default {
|
|
|
227
227
|
this.globalParamModel = this.$store.getters.globalParamModel
|
|
228
228
|
this.PhaseDataModel = new PhaseDataModel()
|
|
229
229
|
this.CrossDiagramMgr = new CrossDiagramMgr()
|
|
230
|
-
// if (this.$route.query !== undefined && Object.keys(this.$route.query).length) {
|
|
231
230
|
this.agentId = this.AgentId
|
|
232
231
|
setIframdevid(this.agentId)
|
|
233
232
|
this.registerMessage() // 注册消息
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<intersection-with-interface AgentId="
|
|
3
|
+
<intersection-with-interface :AgentId="agentId" />
|
|
4
4
|
<h2 class="text">实时通道路口图</h2>
|
|
5
5
|
<!-- <channel-realtime-intersection
|
|
6
6
|
:agentId="this.agentId"
|
|
@@ -162,12 +162,12 @@ export default {
|
|
|
162
162
|
return {
|
|
163
163
|
roadDirection: 'right',
|
|
164
164
|
// reqUrl: 'http://192.168.13.103:10003/openatc',
|
|
165
|
-
agentId: '
|
|
165
|
+
agentId: '32050101041121000001',
|
|
166
166
|
// agentId: '13013',
|
|
167
167
|
// agentId: '12007_390',
|
|
168
168
|
// agentId: '12014',
|
|
169
169
|
reqUrl: 'http://192.168.13.103:10003/openatc',
|
|
170
|
-
Token: '
|
|
170
|
+
Token: 'eyJraWQiOiIxNzMwODU1NTQ1NzA3IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTczMDg1OTE0NSwiaWF0IjoxNzMwODUxOTQ1fQ.CBl61S3eRifl4qEtTmgVjOZGo2hqNSGQKPxG1bN-utU',
|
|
171
171
|
// agentId: '30003-352',
|
|
172
172
|
// reqUrl: 'https://kints-dev.devdolphin.com/openatc',
|
|
173
173
|
// Token: 'eyJraWQiOiIxNjUwNTA5MDI2ODk2IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJ4aWFvbWluZyIsImV4cCI6MTczNjkwOTAyNiwiaWF0IjoxNjUwNTA5MDI2fQ.-s4T-uMRmB2zf9yer87USKQXLY1a12Zq5lCOnqjNmfA',
|
package/src/views/overView.vue
CHANGED
|
@@ -25,7 +25,7 @@ export default {
|
|
|
25
25
|
agentid1: 'gjnlahql',
|
|
26
26
|
agentid2: '13013',
|
|
27
27
|
sum: 0,
|
|
28
|
-
Token: '
|
|
28
|
+
Token: 'eyJraWQiOiIxNzI5ODIxNjcyNTQ3IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTcyOTgyNTI3MiwiaWF0IjoxNzI5ODE4MDcyfQ._C-0Cf3CQYx3tpGPAF-973Km8ekzJhAm4XwpNKFgSfk',
|
|
29
29
|
reqUrl: 'http://192.168.13.103:10003/openatc'
|
|
30
30
|
}
|
|
31
31
|
},
|