openatc-components 0.1.51 → 0.1.52
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 +4 -4
- package/package/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +5 -5
- package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/sidePos.json +0 -72
- package/package/kisscomps/components/IntersectionMap/intersectionmap.vue +5 -4
- package/package/kisscomps/components/IntersectionWithInterface/IntersectionWithInterface.vue +6 -5
- package/package/kisscomps/components/PatternStatus/PatternStatus.vue +1 -1
- package/package/kisscomps/components/SchemeConfig/SchemeConfig.vue +5 -4
- package/package/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +5 -5
- package/package/kisscomps/components/XRDDirSelector/XRDDirSelector.vue +564 -829
- package/package/kisscomps/components/overView/index.vue +15 -7
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/kisscomps/components/ChannelizationWithInterface/ChannelizationWithInterface.vue +4 -4
- package/src/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +5 -5
- package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/sidePos.json +0 -72
- package/src/kisscomps/components/IntersectionMap/intersectionmap.vue +5 -4
- package/src/kisscomps/components/IntersectionWithInterface/IntersectionWithInterface.vue +6 -5
- package/src/kisscomps/components/PatternStatus/PatternStatus.vue +1 -1
- package/src/kisscomps/components/SchemeConfig/SchemeConfig.vue +5 -4
- package/src/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +5 -5
- package/src/kisscomps/components/XRDDirSelector/XRDDirSelector.vue +564 -829
- package/src/kisscomps/components/overView/index.vue +15 -7
- package/src/node_modules/.package_versions.json +0 -1
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
:isShowState="isShowState"
|
|
33
33
|
:isShowMode="isShowMode"
|
|
34
34
|
:crossStatusData="crossStatusData"
|
|
35
|
+
:devStatus="devStatus"
|
|
35
36
|
:agentId="agentId"
|
|
36
37
|
:graphicMode="graphicMode"
|
|
37
38
|
:roadDirection="roadDirection" />
|
|
@@ -71,6 +72,7 @@
|
|
|
71
72
|
:statusData="crossStatusData"
|
|
72
73
|
:agentName="agentName"
|
|
73
74
|
:responseTime="responseTime"
|
|
75
|
+
:devStatus="devStatus"
|
|
74
76
|
:agentId="agentId"
|
|
75
77
|
:ip="ip"
|
|
76
78
|
:platform="platform"
|
|
@@ -162,7 +164,7 @@ export default {
|
|
|
162
164
|
ip: '--',
|
|
163
165
|
port: '--',
|
|
164
166
|
protocol: '--',
|
|
165
|
-
|
|
167
|
+
devStatus: 1,
|
|
166
168
|
mode: '2',
|
|
167
169
|
agentId: '0',
|
|
168
170
|
agentName: '--',
|
|
@@ -312,7 +314,7 @@ export default {
|
|
|
312
314
|
registerMessage () {
|
|
313
315
|
registerMessage(this.AgentId).then(data => {
|
|
314
316
|
if (!data.data.success) {
|
|
315
|
-
|
|
317
|
+
this.devStatus = 2
|
|
316
318
|
let commomMsg = this.$t('openatccomponents.overview.signalID') + ' : ' + this.AgentId
|
|
317
319
|
let msg = getMessageByCode(data.data.code, this.$i18n.locale)
|
|
318
320
|
if (data.data.data) {
|
|
@@ -328,7 +330,7 @@ export default {
|
|
|
328
330
|
}
|
|
329
331
|
return
|
|
330
332
|
}
|
|
331
|
-
|
|
333
|
+
this.devStatus = 3
|
|
332
334
|
this.clearPatternInterval() // 清除其他定时器
|
|
333
335
|
this.clearVolumeInterval()
|
|
334
336
|
this.phaseControlTimer = setInterval(() => {
|
|
@@ -344,7 +346,7 @@ export default {
|
|
|
344
346
|
})
|
|
345
347
|
},
|
|
346
348
|
reSend () { // 设备掉线重连机制
|
|
347
|
-
|
|
349
|
+
this.devStatus = 1
|
|
348
350
|
this.clearRegisterMessageTimer()
|
|
349
351
|
this.registerMessageTimer = setTimeout(() => {
|
|
350
352
|
this.reconnectionDev()
|
|
@@ -379,7 +381,7 @@ export default {
|
|
|
379
381
|
if (!data.data.success) {
|
|
380
382
|
let commomMsg = this.$t('openatccomponents.overview.signalID') + ' : ' + this.AgentId
|
|
381
383
|
if (data.data.code === '4003') {
|
|
382
|
-
|
|
384
|
+
this.devStatus = 2
|
|
383
385
|
this.clearPatternInterval() // 清除其他定时器
|
|
384
386
|
this.clearVolumeInterval()
|
|
385
387
|
this.$message.error(getMessageByCode(data.data.code, this.$i18n.locale) + ' - ' + commomMsg)
|
|
@@ -406,7 +408,11 @@ export default {
|
|
|
406
408
|
}
|
|
407
409
|
return
|
|
408
410
|
}
|
|
409
|
-
|
|
411
|
+
if (data.data.data.data) {
|
|
412
|
+
this.crossStatusData = JSON.parse(JSON.stringify(data.data.data.data))
|
|
413
|
+
} else {
|
|
414
|
+
this.crossStatusData = {}
|
|
415
|
+
}
|
|
410
416
|
let TscData = JSON.parse(JSON.stringify(data.data.data.data))
|
|
411
417
|
// this.handleStageData(TscData) // 处理阶段(驻留)stage数据
|
|
412
418
|
this.controlData = this.handleGetData(TscData)
|
|
@@ -624,7 +630,9 @@ export default {
|
|
|
624
630
|
this.$message.error(getMessageByCode(data.data.code, this.$i18n.locale))
|
|
625
631
|
return
|
|
626
632
|
}
|
|
627
|
-
|
|
633
|
+
if (res.data.data && res.data.data.phaseList) {
|
|
634
|
+
this.phaseList = res.data.data.phaseList
|
|
635
|
+
}
|
|
628
636
|
})
|
|
629
637
|
},
|
|
630
638
|
getPlatform () {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{}
|