openatc-components 0.2.39 → 0.2.40
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/Stages/index.vue +31 -3
- package/package/kisscomps/components/XRDDirSelector/XRDDirSelector.vue +3 -1
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/kisscomps/components/Stages/index.vue +31 -3
- package/src/kisscomps/components/XRDDirSelector/XRDDirSelector.vue +3 -1
- package/src/views/intersection.vue +1 -1
- package/src/views/overView.vue +1 -1
package/package.json
CHANGED
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
:showWalk="item[0].peddirection"
|
|
29
29
|
:Width="'40'"
|
|
30
30
|
:Height="'40'" /> -->
|
|
31
|
-
<xdr-dir-selector Width="
|
|
32
|
-
<div style="
|
|
31
|
+
<xdr-dir-selector :Width="dirWidth" :Height="dirHeight" :Widths="dirWidths" :Heights="dirHeights" :Data="showStyle" :Datas="showStyles" :showlist="dirListSetTheme(item)"></xdr-dir-selector>
|
|
32
|
+
<div style="display:flex;flex-direction:row;justify-content:center;align-items:end;" :style="{height: StageHeight}">
|
|
33
33
|
<div class="current-stage-num" style="width:20%;" :style="{color: themeColor}">{{index + 1}}</div>
|
|
34
34
|
<div style="width:70%;">
|
|
35
35
|
<i class="iconfont icon-feijidongche" :style="{color: themeColor}" style="font-size:11PX;color:#606266;margin-left:10PX" v-if="item[item.length-1].controltype === 6"></i>
|
|
@@ -105,7 +105,23 @@ export default {
|
|
|
105
105
|
StageHeight: {
|
|
106
106
|
type: String,
|
|
107
107
|
default: '80px'
|
|
108
|
-
}
|
|
108
|
+
},
|
|
109
|
+
dirWidth: {
|
|
110
|
+
type: String,
|
|
111
|
+
default: '75PX'
|
|
112
|
+
},
|
|
113
|
+
dirHeight: {
|
|
114
|
+
type: String,
|
|
115
|
+
default: '75PX'
|
|
116
|
+
},
|
|
117
|
+
dirWidths: {
|
|
118
|
+
type: String,
|
|
119
|
+
default: '65PX'
|
|
120
|
+
},
|
|
121
|
+
dirHeights: {
|
|
122
|
+
type: String,
|
|
123
|
+
default: '65PX'
|
|
124
|
+
},
|
|
109
125
|
},
|
|
110
126
|
data () {
|
|
111
127
|
return {
|
|
@@ -153,6 +169,18 @@ export default {
|
|
|
153
169
|
}
|
|
154
170
|
},
|
|
155
171
|
watch: {
|
|
172
|
+
// phaseList: {
|
|
173
|
+
// handler: function (val, oldVal) {
|
|
174
|
+
// console.log(val, 'phaseList')
|
|
175
|
+
// // debugger
|
|
176
|
+
// }
|
|
177
|
+
// },
|
|
178
|
+
// crossStatusData: {
|
|
179
|
+
// handler: function (val, oldVal) {
|
|
180
|
+
// console.log(val, 'crossStatusData')
|
|
181
|
+
// // debugger
|
|
182
|
+
// }
|
|
183
|
+
// },
|
|
156
184
|
preselectStages: {
|
|
157
185
|
handler: function (val, oldVal) {
|
|
158
186
|
if(this.preselectStages === -1 && this.preselectModel !== -1) {
|
|
@@ -1034,7 +1034,9 @@ export default {
|
|
|
1034
1034
|
for (let j = 0; j < this.peoplestatus.length; j++) {
|
|
1035
1035
|
if (showlist[0].peddirection[i].name === this.peoplestatus[j].name) {
|
|
1036
1036
|
this.peoplestatus[j].isshow = true
|
|
1037
|
-
|
|
1037
|
+
if (showlist[0].peddirection[i].color) {
|
|
1038
|
+
this.peoplestatus[j].color = showlist[0].peddirection[i].color
|
|
1039
|
+
}
|
|
1038
1040
|
}
|
|
1039
1041
|
}
|
|
1040
1042
|
}
|
|
@@ -144,7 +144,7 @@ export default {
|
|
|
144
144
|
// agentId: '12007_390',
|
|
145
145
|
// agentId: '12014',
|
|
146
146
|
reqUrl: 'http://192.168.13.103:10003/openatc',
|
|
147
|
-
Token: '
|
|
147
|
+
Token: 'eyJraWQiOiIxNzE0MDk1MjUwNTU5IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTcxNDEzODQ1MCwiaWF0IjoxNzE0MDk1MjUwfQ.17SP6vzbImSV2jy_LC10xQaH7z4aXWvg3yc2bUFLYvE',
|
|
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
|
@@ -20,7 +20,7 @@ export default {
|
|
|
20
20
|
modeName: '交警遥控',
|
|
21
21
|
controlName: '步进',
|
|
22
22
|
agentId: 'jmlxhl',
|
|
23
|
-
Token: '
|
|
23
|
+
Token: 'eyJraWQiOiIxNzA4OTA5NDk2ODcxIiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTcwODk1MjY5NiwiaWF0IjoxNzA4OTA5NDk2fQ.FI0gzBQFLyQsj95LG56lVZxb6WYlr2-datNsyv6fF-I',
|
|
24
24
|
reqUrl: 'http://192.168.13.103:10003/openatc'
|
|
25
25
|
}
|
|
26
26
|
},
|