openatc-components 0.0.3 → 0.0.9
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/config/index.js +2 -2
- package/package/kisscomps/components/CommonKanban/CommonKanban.vue +9 -1
- package/package/kisscomps/components/IntersectionMap/intersectionmap.vue +1 -1
- package/package/kisscomps/components/IntersectionWithInterface/IntersectionWithInterface.vue +1 -1
- package/package/kisscomps/components/SchemeConfig/SchemeConfig.vue +2 -0
- package/package/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +4 -0
- package/package/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +4 -0
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/kisscomps/components/CommonKanban/CommonKanban.vue +9 -1
- package/src/kisscomps/components/IntersectionMap/intersectionmap.vue +1 -1
- package/src/kisscomps/components/IntersectionWithInterface/IntersectionWithInterface.vue +1 -1
- package/src/kisscomps/components/SchemeConfig/SchemeConfig.vue +2 -0
- package/src/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +4 -0
- package/src/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +4 -0
- package/src/views/intersection.vue +2 -2
- package/src/views/schemeconfig.vue +1 -1
- package/static/styles/common.scss +16 -1
package/package.json
CHANGED
|
@@ -43,6 +43,9 @@
|
|
|
43
43
|
<el-tooltip class="item" effect="dark" placement="left">
|
|
44
44
|
<div slot="content">{{element.name}}</div>
|
|
45
45
|
<div class="common-phase-description">
|
|
46
|
+
<div v-for="(side, index) in sidewalkPhaseData" :key="side.key + '-' + index">
|
|
47
|
+
<PatternWalkSvg v-if="element.peddirection.includes(side.id)" :Data="side" Width="38" Height="40" />
|
|
48
|
+
</div>
|
|
46
49
|
<xdrdirselector Width="40px" Height="40px" :showlist="element.desc" :ISActiveMask="ISActiveMask" :MaskColor="MaskColor"></xdrdirselector>
|
|
47
50
|
</div>
|
|
48
51
|
</el-tooltip>
|
|
@@ -57,12 +60,14 @@
|
|
|
57
60
|
<script>
|
|
58
61
|
import xdrdirselector from '../XRDDirSelector/XRDDirSelector'
|
|
59
62
|
import draggable from 'vuedraggable'
|
|
63
|
+
import PatternWalkSvg from '../IntersectionMap/crossDirection/baseImg/PatternWalkSvg'
|
|
60
64
|
|
|
61
65
|
export default {
|
|
62
66
|
name: 'common-kanban',
|
|
63
67
|
components: {
|
|
64
68
|
draggable,
|
|
65
|
-
xdrdirselector
|
|
69
|
+
xdrdirselector,
|
|
70
|
+
PatternWalkSvg
|
|
66
71
|
},
|
|
67
72
|
props: {
|
|
68
73
|
headerText: {
|
|
@@ -86,6 +91,9 @@ export default {
|
|
|
86
91
|
Draggable: { // 是否开启拖动调整顺序
|
|
87
92
|
type: Boolean,
|
|
88
93
|
default: true
|
|
94
|
+
},
|
|
95
|
+
sidewalkPhaseData: {
|
|
96
|
+
type: Array
|
|
89
97
|
}
|
|
90
98
|
},
|
|
91
99
|
methods: {
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
v-if="specialPage === 'closephase'"
|
|
43
43
|
:controlData="controlData"
|
|
44
44
|
:closePhaseRings="phaseRings"
|
|
45
|
+
:sidewalkPhaseData="sidewalkPhaseData"
|
|
45
46
|
:realtimeStatusModalvisible="realtimeStatusModalvisible"
|
|
46
47
|
@closePhaseBack="closePhaseBack"
|
|
47
48
|
@closePhaseControl= "closePhaseControl" />
|
|
@@ -49,6 +50,7 @@
|
|
|
49
50
|
v-if="specialPage === 'lockingphase'"
|
|
50
51
|
:controlData="controlData"
|
|
51
52
|
:closePhaseRings="phaseRings"
|
|
53
|
+
:sidewalkPhaseData="sidewalkPhaseData"
|
|
52
54
|
:realtimeStatusModalvisible="realtimeStatusModalvisible"
|
|
53
55
|
@closePhaseBack="closePhaseBack"
|
|
54
56
|
@closePhaseControl= "closePhaseControl" />
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
:list="ring.phases"
|
|
42
42
|
:header-text="$t('openatccomponents.pattern.ring') + ring.num"
|
|
43
43
|
:Draggable="false"
|
|
44
|
+
:sidewalkPhaseData="sidewalkPhaseData"
|
|
44
45
|
@handleSort="handleSort">
|
|
45
46
|
<template v-slot:kanbantitle>
|
|
46
47
|
<div class="col-title" v-text="$t('openatccomponents.overview.closemode')"></div>
|
|
@@ -106,6 +107,9 @@ export default {
|
|
|
106
107
|
realtimeStatusModalvisible: {
|
|
107
108
|
type: Boolean,
|
|
108
109
|
default: true
|
|
110
|
+
},
|
|
111
|
+
sidewalkPhaseData: {
|
|
112
|
+
type: Array
|
|
109
113
|
}
|
|
110
114
|
},
|
|
111
115
|
computed: {
|
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
:list="ring.phases"
|
|
58
58
|
:header-text="$t('openatccomponents.pattern.ring') + ring.num"
|
|
59
59
|
:Draggable="false"
|
|
60
|
+
:sidewalkPhaseData="sidewalkPhaseData"
|
|
60
61
|
@handleSort="handleSort">
|
|
61
62
|
<template v-slot:kanbantitle>
|
|
62
63
|
<div class="col-title" v-text="$t('openatccomponents.overview.closemode')"></div>
|
|
@@ -122,6 +123,9 @@ export default {
|
|
|
122
123
|
realtimeStatusModalvisible: {
|
|
123
124
|
type: Boolean,
|
|
124
125
|
default: true
|
|
126
|
+
},
|
|
127
|
+
sidewalkPhaseData: {
|
|
128
|
+
type: Array
|
|
125
129
|
}
|
|
126
130
|
},
|
|
127
131
|
data () {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<intersection-with-interface
|
|
13
13
|
ref="intersectionWithInterface"
|
|
14
14
|
:AgentId="agentId"
|
|
15
|
-
Token="
|
|
15
|
+
Token="eyJraWQiOiIxNjQ4ODAyNTk2Nzc4IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTczNTIwMjU5NiwiaWF0IjoxNjQ4ODAyNTk2fQ.TMA7MaKDDwGxOrzyRIFbfrsH-_UyPGFz2Uqnnwsc8nk"
|
|
16
16
|
></intersection-with-interface>
|
|
17
17
|
</el-dialog>
|
|
18
18
|
</div>
|
|
@@ -24,7 +24,7 @@ export default {
|
|
|
24
24
|
return {
|
|
25
25
|
boxVisible: false,
|
|
26
26
|
dialogWidth: '80%',
|
|
27
|
-
agentId: '
|
|
27
|
+
agentId: '10001-928'
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
methods: {
|
|
@@ -1,3 +1,18 @@
|
|
|
1
1
|
@import './intersection.scss';
|
|
2
2
|
@import './schemeconfig.scss';
|
|
3
|
-
@import './commonkanban.scss';
|
|
3
|
+
@import './commonkanban.scss';
|
|
4
|
+
|
|
5
|
+
// 全局滚动条样式
|
|
6
|
+
::-webkit-scrollbar {
|
|
7
|
+
width: 6px;
|
|
8
|
+
height: 6px;
|
|
9
|
+
}
|
|
10
|
+
::-webkit-scrollbar-thumb {
|
|
11
|
+
// 滚动条的滑块
|
|
12
|
+
border-radius: 4px;
|
|
13
|
+
background: rgba(144, 147, 153, 0.3);
|
|
14
|
+
}
|
|
15
|
+
::-webkit-scrollbar-corner{
|
|
16
|
+
// 横向滚动条和纵向滚动条同时出现,右下角有个小白方格
|
|
17
|
+
background: transparent;
|
|
18
|
+
}
|