openatc-components 0.4.63 → 0.4.64
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/IntersectionMapDirSelect/customCrossDiagram.vue +0 -9
- package/package/kisscomps/components/IntersectionMapDirSelect/customintersectionmap.vue +1 -1
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/kisscomps/components/IntersectionMapDirSelect/customCrossDiagram.vue +0 -9
- package/src/kisscomps/components/IntersectionMapDirSelect/customintersectionmap.vue +1 -1
- package/src/views/intersection.vue +14 -4
package/package.json
CHANGED
|
@@ -240,15 +240,6 @@ export default {
|
|
|
240
240
|
return
|
|
241
241
|
}
|
|
242
242
|
this.getTempCrossInfo(res)
|
|
243
|
-
// 显示阶段的判断条件
|
|
244
|
-
this.allPatternList = res.data.data.param.patternList
|
|
245
|
-
if (this.allPatternList[0].rings === undefined || this.allPatternList[0].rings.length === 0) {
|
|
246
|
-
this.contrloType = 'stage'
|
|
247
|
-
} else if (this.allPatternList[0].contrloType === 'stage') {
|
|
248
|
-
this.contrloType = 'stage'
|
|
249
|
-
} else {
|
|
250
|
-
this.contrloType = 'ring'
|
|
251
|
-
}
|
|
252
243
|
})
|
|
253
244
|
},
|
|
254
245
|
getTempCrossInfo (res) {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
'transMiddleCrossImg3': bodyDomWidth <= 300 && bodyDomWidth > 260,
|
|
26
26
|
'transMiniCrossImg': bodyDomWidth <= 260,
|
|
27
27
|
'changePaddingBottom': graphicMode }">
|
|
28
|
-
<CustomCrossDiagram ref
|
|
28
|
+
<CustomCrossDiagram ref= "crossDiagram3" v-if="reset"
|
|
29
29
|
:agentId="agentId"
|
|
30
30
|
:choosedDirection="choosedDirection"
|
|
31
31
|
:choosedPedDirection="choosedPedDirection"
|
|
@@ -11,12 +11,14 @@
|
|
|
11
11
|
<h2>基础路口图方向显示、选择组件</h2>
|
|
12
12
|
<!-- channelType是按通道显示方向;不传按相位显示方向 -->
|
|
13
13
|
<!-- clickMode是否开启方向选择功能 -->
|
|
14
|
+
<el-button @click="clear"></el-button>
|
|
14
15
|
<custom-intersection-base-map
|
|
16
|
+
ref="intersectionMap3"
|
|
15
17
|
clickMode
|
|
16
18
|
channelType
|
|
17
19
|
:agentId="this.agentId"
|
|
18
|
-
:choosedDirection="
|
|
19
|
-
:choosedPedDirection="
|
|
20
|
+
:choosedDirection="choosedDirection"
|
|
21
|
+
:choosedPedDirection="choosedPedDirection"/>
|
|
20
22
|
|
|
21
23
|
<!-- 按通道获取相位的方向选择列表,特殊路口显示列表,普通路口显示模版路口图 -->
|
|
22
24
|
<h2 class="text">非第三方配置路口图(按通道显示相位方向)</h2>
|
|
@@ -41,6 +43,7 @@
|
|
|
41
43
|
<!-- 显示按通道获取相位的模版路口图 -->
|
|
42
44
|
<h2 class="text">显示配置的相位路口图</h2>
|
|
43
45
|
<!-- <intersection-base-map
|
|
46
|
+
ref="selectMap"
|
|
44
47
|
ref="intersectionMap"
|
|
45
48
|
:crossStatusData="crossStatusData"
|
|
46
49
|
agentId="1059"
|
|
@@ -179,7 +182,7 @@ export default {
|
|
|
179
182
|
// agentId: '12007_390',
|
|
180
183
|
// agentId: '12014',
|
|
181
184
|
reqUrl: 'http://192.168.13.103:10003/openatc',
|
|
182
|
-
Token: '
|
|
185
|
+
Token: 'eyJraWQiOiIxNzQ4MjM2MTEwNjg1IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTc0ODIzOTcxMCwiaWF0IjoxNzQ4MjMyNTEwfQ.wUT3laplbdjDofqbItQHJXAvAD0MQz6oU-1StSvj3bc',
|
|
183
186
|
// agentId: '30003-352',
|
|
184
187
|
// reqUrl: 'https://kints-dev.devdolphin.com/openatc',
|
|
185
188
|
// Token: 'eyJraWQiOiIxNjUwNTA5MDI2ODk2IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJ4aWFvbWluZyIsImV4cCI6MTczNjkwOTAyNiwiaWF0IjoxNjUwNTA5MDI2fQ.-s4T-uMRmB2zf9yer87USKQXLY1a12Zq5lCOnqjNmfA',
|
|
@@ -337,7 +340,9 @@ export default {
|
|
|
337
340
|
]
|
|
338
341
|
},
|
|
339
342
|
tscControlData: {},
|
|
340
|
-
phaseList: []
|
|
343
|
+
phaseList: [],
|
|
344
|
+
choosedDirection: [1, 5],
|
|
345
|
+
choosedPedDirection: [3]
|
|
341
346
|
}
|
|
342
347
|
},
|
|
343
348
|
components: {
|
|
@@ -465,6 +470,11 @@ export default {
|
|
|
465
470
|
},
|
|
466
471
|
refresh () {
|
|
467
472
|
this.$refs.selectMap.refresh()
|
|
473
|
+
},
|
|
474
|
+
clear () {
|
|
475
|
+
this.choosedDirection = []
|
|
476
|
+
this.choosedPedDirection = []
|
|
477
|
+
this.$refs.intersectionMap3.resetCrossDiagram()
|
|
468
478
|
}
|
|
469
479
|
},
|
|
470
480
|
created () {
|