openatc-components 0.4.51 → 0.4.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/DrawChannelization/drawsvg/index.draw.vue +1 -3
- package/package/kisscomps/components/PhaseLegend/PhaseLegend.vue +1 -1
- package/package/kisscomps/components/SchemeConfig/SchemeConfig.vue +13 -0
- package/package/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +1 -1
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +1 -3
- package/src/kisscomps/components/PhaseLegend/PhaseLegend.vue +1 -1
- package/src/kisscomps/components/SchemeConfig/SchemeConfig.vue +13 -0
- package/src/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +1 -1
- package/src/views/intersection.vue +1 -1
- package/src/views/overView.vue +4 -4
- package/static/styles/schemeconfig.scss +5 -0
package/package.json
CHANGED
|
@@ -784,8 +784,7 @@ export default {
|
|
|
784
784
|
this.curChooseIcon = {}
|
|
785
785
|
axios.get('./img/CrossRoadsSvg.svg').then((val) => {
|
|
786
786
|
if (!val.data || val.data === '') return
|
|
787
|
-
this.
|
|
788
|
-
crossMap: {
|
|
787
|
+
this.CrossMapData = {
|
|
789
788
|
index: -2,
|
|
790
789
|
icontype: 'crossmap',
|
|
791
790
|
x: 435,
|
|
@@ -796,7 +795,6 @@ export default {
|
|
|
796
795
|
imgfilesrc: '',
|
|
797
796
|
svgstr: val.data,
|
|
798
797
|
type: 'vectorgraph'
|
|
799
|
-
}
|
|
800
798
|
}
|
|
801
799
|
})
|
|
802
800
|
},
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<div class="control-model" v-for="(item, index) in PhaseList" :key="index">
|
|
17
17
|
<div style="position:relative;" :style="{...singleStyle, 'backgroundColor': item[0].bgcolor}" class="single-model" @click="selectLegend(index + 1)" :class="currentStage == index + 1 ? 'single-model-select' : ''">
|
|
18
18
|
<xdr-dir-selector :Width="dirWidth" :Height="dirHeight" :Widths="dirWidths" :Heights="dirHeights" :Data="showStyle" :Datas="showStyles" :showlist="dirListSetTheme(item)"></xdr-dir-selector>
|
|
19
|
-
<div style="display:flex;flex-direction:row;justify-content:center;align-items:end;"
|
|
19
|
+
<div style="display:flex;flex-direction:row;justify-content:center;align-items:end;">
|
|
20
20
|
<div class="current-stage-num" style="width:25%;" :style="{color: themeColor, fontSize: numSize}">{{item[0].phaseid}}</div>
|
|
21
21
|
<div style="width:70%;">
|
|
22
22
|
<i class="iconfont icon-feijidongche" :style="{color: themeColor, fontSize: iconSize}" style="font-size:11PX;color:#606266;margin-left:10PX" v-if="item[item.length-1].controltype === 6"></i>
|
|
@@ -485,6 +485,15 @@ export default {
|
|
|
485
485
|
}
|
|
486
486
|
},
|
|
487
487
|
watch: {
|
|
488
|
+
platform: {
|
|
489
|
+
handler: function (val1, val2) {
|
|
490
|
+
if (val1 !== val2 && val2 !== undefined) {
|
|
491
|
+
this.changeStatus()
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
// 深度观察监听
|
|
495
|
+
deep: true
|
|
496
|
+
},
|
|
488
497
|
agentId: {
|
|
489
498
|
handler: function (val1, val2) {
|
|
490
499
|
if (val1 !== val2) {
|
|
@@ -631,6 +640,10 @@ export default {
|
|
|
631
640
|
this.isOperation = true
|
|
632
641
|
if (this.platform !== undefined && this.platform !== 'OpenATC') {
|
|
633
642
|
this.queryThirdParty()
|
|
643
|
+
} else {
|
|
644
|
+
this.funcSort = 'allFunc'
|
|
645
|
+
this.thirdPartyControlMenu = []
|
|
646
|
+
this.thirdPartyControl = []
|
|
634
647
|
}
|
|
635
648
|
this.$refs.ManualControlModalNew.init()
|
|
636
649
|
},
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* See the Mulan PSL v2 for more details.
|
|
11
11
|
**/
|
|
12
12
|
<template>
|
|
13
|
-
<div
|
|
13
|
+
<div class="realtime-panel">
|
|
14
14
|
<div class="cross-mess">{{$t('openatccomponents.overview.crossinfo')}}</div>
|
|
15
15
|
<div class="cross-module">
|
|
16
16
|
<div class="cross-content">
|
|
@@ -167,7 +167,7 @@ export default {
|
|
|
167
167
|
// agentId: '12007_390',
|
|
168
168
|
// agentId: '12014',
|
|
169
169
|
reqUrl: 'http://192.168.13.103:10003/openatc',
|
|
170
|
-
Token: '
|
|
170
|
+
Token: 'eyJraWQiOiIxNzQyNTIzODQyOTM4IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTc0MjUyNzQ0MiwiaWF0IjoxNzQyNTIwMjQyfQ.7wK9Ub2lazZR_gFhhuvdtEMNLt5QUgDNEGBnA4tczl8',
|
|
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
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
:Token="Token"></overview> -->
|
|
11
11
|
<el-button @click="handleChangeOverview">切换overview组件</el-button>
|
|
12
12
|
<overview-component
|
|
13
|
-
:AgentId="
|
|
13
|
+
:AgentId="agentId"
|
|
14
14
|
:isShowInterval="isShowInterval"
|
|
15
15
|
:isShowMessage ="isShowMessage"/>
|
|
16
16
|
</div>
|
|
@@ -24,9 +24,9 @@ export default {
|
|
|
24
24
|
isShowMode: true,
|
|
25
25
|
modeName: '交警遥控',
|
|
26
26
|
controlName: '步进',
|
|
27
|
-
agentId: '
|
|
28
|
-
agentid1: '
|
|
29
|
-
agentid2: '
|
|
27
|
+
agentId: '12008_835_ticp',
|
|
28
|
+
agentid1: 'gjnljml',
|
|
29
|
+
agentid2: '12008_835_ticp',
|
|
30
30
|
isShowMessage: false,
|
|
31
31
|
isShowInterval: true,
|
|
32
32
|
sum: 0,
|
|
@@ -17,6 +17,10 @@
|
|
|
17
17
|
overflow: auto;
|
|
18
18
|
height: 100%;
|
|
19
19
|
}
|
|
20
|
+
.realtime-panel {
|
|
21
|
+
overflow: hidden;
|
|
22
|
+
background-color: $--color-white;
|
|
23
|
+
}
|
|
20
24
|
.cross-mess {
|
|
21
25
|
margin-left: 15PX;
|
|
22
26
|
margin-top: 15PX;
|
|
@@ -294,6 +298,7 @@
|
|
|
294
298
|
.manual-control-modal-new {
|
|
295
299
|
padding: 20PX 20PX 0 20PX;
|
|
296
300
|
height: 100%;
|
|
301
|
+
background-color: $--color-white;
|
|
297
302
|
.el-tabs {
|
|
298
303
|
height: 100%;
|
|
299
304
|
}
|