openatc-components 0.4.57 → 0.4.59

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.
Files changed (24) hide show
  1. package/package/kisscomps/components/BoardCard/BoardCard.vue +0 -4
  2. package/package/kisscomps/components/IntersectionDirectionSelection/IntersectionDirectionSelection.vue +4 -0
  3. package/package/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +34 -1
  4. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/effectPos.json +115 -0
  5. package/package/kisscomps/components/IntersectionMap/crossDirection/utils.js +7 -0
  6. package/package/kisscomps/components/PatternStatus/PatternStatus.vue +1 -81
  7. package/package/kisscomps/components/patternList/patternList.vue +0 -4
  8. package/package/kissui.min.js +1 -1
  9. package/package/static/img/CrossRoadsSvg.66a6236.svg +529 -0
  10. package/package.json +1 -1
  11. package/src/api/cross.js +8 -1
  12. package/src/kisscomps/components/BoardCard/BoardCard.vue +0 -4
  13. package/src/kisscomps/components/IntersectionDirectionSelection/IntersectionDirectionSelection.vue +4 -0
  14. package/src/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +34 -1
  15. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/effectPos.json +115 -0
  16. package/src/kisscomps/components/IntersectionMap/crossDirection/utils.js +7 -0
  17. package/src/kisscomps/components/PatternStatus/PatternStatus.vue +1 -81
  18. package/src/kisscomps/components/patternList/patternList.vue +0 -4
  19. package/src/views/intersection.vue +10 -5
  20. package/static/apiconfig.json +5 -0
  21. package/static/img/CrossRoadsSvg.svg +529 -0
  22. package/package/kisscomps/components/OptimizeKanban/index.js +0 -2
  23. package/package/kisscomps/components/OptimizeKanban/index.vue +0 -369
  24. package/src/node_modules/.package_versions.json +0 -1
@@ -0,0 +1,529 @@
1
+ <!-- <?xml version="1.0" encoding="utf-8"?> -->
2
+ <!-- Generator: Adobe Illustrator 23.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 870 650" style="enable-background:new 0 0 870 650;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#3D3939;}
7
+ .st1{opacity:0.9;}
8
+ .st2{fill:#F2F2F2;}
9
+ .st3{fill:#1EAA39;}
10
+ .st4{fill:#E5E5D8;}
11
+ .st5{fill:#CCB63A;}
12
+ .st6{fill:#DDDDDD;}
13
+ </style>
14
+ <path class="st0" d="M869.9,217.4H563.5c-11.4,0-21-9.6-21-21V-0.3l0,0h-18H344.9h-18l0,0v196.7c-0.1,11.5-9.5,20.9-21.1,21H-0.4
15
+ l0,0v18V413v18l0,0h306.2c11.5,0,20.9,9.4,21,21v197.7l0,0h18h179.6h18l0,0V452c0-11.6,9.4-21,21-21h306.5l0,0v-18V235.4V217.4
16
+ L869.9,217.4z"/>
17
+ <g id="人行道">
18
+ <g class="st1">
19
+ <g>
20
+ <rect x="346.5" y="199.1" class="st2" width="4" height="16.3"/>
21
+ </g>
22
+ <g>
23
+ <rect x="338.7" y="199.1" class="st2" width="4" height="16.3"/>
24
+ </g>
25
+ <g>
26
+ <rect x="331.2" y="199.1" class="st2" width="4" height="16.3"/>
27
+ </g>
28
+ <g>
29
+ <rect x="354.3" y="199.1" class="st2" width="4" height="16.3"/>
30
+ </g>
31
+ <g>
32
+ <rect x="362.1" y="199.1" class="st2" width="4" height="16.3"/>
33
+ </g>
34
+ <g>
35
+ <rect x="369.9" y="199.1" class="st2" width="4" height="16.3"/>
36
+ </g>
37
+ <g>
38
+ <rect x="377.7" y="199.1" class="st2" width="4" height="16.3"/>
39
+ </g>
40
+ <g>
41
+ <rect x="385.5" y="199.1" class="st2" width="4" height="16.3"/>
42
+ </g>
43
+ <g>
44
+ <rect x="393.3" y="199.1" class="st2" width="4" height="16.3"/>
45
+ </g>
46
+ <g>
47
+ <rect x="401.1" y="199.1" class="st2" width="4" height="16.3"/>
48
+ </g>
49
+ <g>
50
+ <rect x="408.9" y="199.1" class="st2" width="4" height="16.3"/>
51
+ </g>
52
+ <g>
53
+ <rect x="416.7" y="199.1" class="st2" width="4" height="16.3"/>
54
+ </g>
55
+ <g>
56
+ <rect x="424.6" y="199.1" class="st2" width="4" height="16.3"/>
57
+ </g>
58
+ <g>
59
+ <rect x="432.4" y="199.1" class="st2" width="4" height="16.3"/>
60
+ </g>
61
+ <g>
62
+ <rect x="440.2" y="199.1" class="st2" width="4" height="16.3"/>
63
+ </g>
64
+ <g>
65
+ <rect x="448" y="199.1" class="st2" width="4" height="16.3"/>
66
+ </g>
67
+ <g>
68
+ <rect x="455.8" y="199.1" class="st2" width="4" height="16.3"/>
69
+ </g>
70
+ <g>
71
+ <rect x="463.6" y="199.1" class="st2" width="4" height="16.3"/>
72
+ </g>
73
+ <g>
74
+ <rect x="471.4" y="199.1" class="st2" width="4" height="16.3"/>
75
+ </g>
76
+ <g>
77
+ <rect x="479.2" y="199.1" class="st2" width="4" height="16.3"/>
78
+ </g>
79
+ <g>
80
+ <rect x="487" y="199.1" class="st2" width="4" height="16.3"/>
81
+ </g>
82
+ <g>
83
+ <rect x="494.8" y="199.1" class="st2" width="4" height="16.3"/>
84
+ </g>
85
+ <g>
86
+ <rect x="502.6" y="199.1" class="st2" width="4" height="16.3"/>
87
+ </g>
88
+ <g>
89
+ <rect x="510.4" y="199.1" class="st2" width="4" height="16.3"/>
90
+ </g>
91
+ <g>
92
+ <rect x="518.2" y="199.1" class="st2" width="4" height="16.3"/>
93
+ <rect x="526.2" y="199.1" class="st2" width="4" height="16.3"/>
94
+ <rect x="534.1" y="199.1" class="st2" width="4" height="16.3"/>
95
+ </g>
96
+ </g>
97
+ <g class="st1">
98
+ <rect x="544.6" y="236.8" class="st2" width="16.5" height="4"/>
99
+ <rect x="544.6" y="229" class="st2" width="16.5" height="4"/>
100
+ <rect x="544.6" y="221.2" class="st2" width="16.5" height="4"/>
101
+ <rect x="544.6" y="244.6" class="st2" width="16.5" height="4"/>
102
+ <rect x="544.6" y="252.3" class="st2" width="16.5" height="4"/>
103
+ <rect x="544.6" y="260" class="st2" width="16.5" height="4"/>
104
+ <rect x="544.6" y="267.7" class="st2" width="16.5" height="4"/>
105
+ <rect x="544.6" y="275.5" class="st2" width="16.5" height="4"/>
106
+ <rect x="544.6" y="283.2" class="st2" width="16.5" height="4"/>
107
+ <rect x="544.6" y="290.9" class="st2" width="16.5" height="4"/>
108
+ <rect x="544.6" y="298.6" class="st2" width="16.5" height="4"/>
109
+ <rect x="544.6" y="306.3" class="st2" width="16.5" height="4"/>
110
+ <rect x="544.6" y="314.1" class="st2" width="16.5" height="4"/>
111
+ <rect x="544.6" y="321.8" class="st2" width="16.5" height="4"/>
112
+ <rect x="544.6" y="329.5" class="st2" width="16.5" height="4"/>
113
+ <rect x="544.6" y="337.2" class="st2" width="16.5" height="4"/>
114
+ <rect x="544.6" y="345" class="st2" width="16.5" height="4"/>
115
+ <rect x="544.6" y="352.7" class="st2" width="16.5" height="4"/>
116
+ <rect x="544.6" y="360.4" class="st2" width="16.5" height="4"/>
117
+ <rect x="544.6" y="368.1" class="st2" width="16.5" height="4"/>
118
+ <rect x="544.6" y="375.8" class="st2" width="16.5" height="4"/>
119
+ <rect x="544.6" y="383.6" class="st2" width="16.5" height="4"/>
120
+ <rect x="544.6" y="391.3" class="st2" width="16.5" height="4"/>
121
+ <rect x="544.6" y="399" class="st2" width="16.5" height="4"/>
122
+ <rect x="544.6" y="406.7" class="st2" width="16.5" height="4"/>
123
+ <rect x="544.6" y="415" class="st2" width="16.5" height="4"/>
124
+ <rect x="544.6" y="423" class="st2" width="16.5" height="4"/>
125
+ </g>
126
+ <g class="st1">
127
+ <rect x="309" y="236.8" class="st2" width="16.5" height="4"/>
128
+ <rect x="309" y="228.5" class="st2" width="16.5" height="4"/>
129
+ <rect x="309" y="220.6" class="st2" width="16.5" height="4"/>
130
+ <rect x="309" y="244.6" class="st2" width="16.5" height="4"/>
131
+ <rect x="309" y="252.3" class="st2" width="16.5" height="4"/>
132
+ <rect x="309" y="260" class="st2" width="16.5" height="4"/>
133
+ <rect x="309" y="267.7" class="st2" width="16.5" height="4"/>
134
+ <rect x="309" y="275.5" class="st2" width="16.5" height="4"/>
135
+ <rect x="309" y="283.2" class="st2" width="16.5" height="4"/>
136
+ <rect x="309" y="290.9" class="st2" width="16.5" height="4"/>
137
+ <rect x="309" y="298.6" class="st2" width="16.5" height="4"/>
138
+ <rect x="309" y="306.3" class="st2" width="16.5" height="4"/>
139
+ <rect x="309" y="314.1" class="st2" width="16.5" height="4"/>
140
+ <rect x="309" y="321.8" class="st2" width="16.5" height="4"/>
141
+ <rect x="309" y="329.5" class="st2" width="16.5" height="4"/>
142
+ <rect x="309" y="337.2" class="st2" width="16.5" height="4"/>
143
+ <rect x="309" y="345" class="st2" width="16.5" height="4"/>
144
+ <rect x="309" y="352.7" class="st2" width="16.5" height="4"/>
145
+ <rect x="309" y="360.4" class="st2" width="16.5" height="4"/>
146
+ <rect x="309" y="368.1" class="st2" width="16.5" height="4"/>
147
+ <rect x="309" y="375.8" class="st2" width="16.5" height="4"/>
148
+ <rect x="309" y="383.6" class="st2" width="16.5" height="4"/>
149
+ <rect x="309" y="391.3" class="st2" width="16.5" height="4"/>
150
+ <rect x="309" y="399" class="st2" width="16.5" height="4"/>
151
+ <rect x="309" y="406.7" class="st2" width="16.5" height="4"/>
152
+ <rect x="309" y="414.4" class="st2" width="16.5" height="4"/>
153
+ <rect x="309" y="422.7" class="st2" width="16.5" height="4"/>
154
+ </g>
155
+ <g class="st1">
156
+ <g>
157
+ <rect x="519.1" y="433" class="st2" width="4" height="16.3"/>
158
+ </g>
159
+ <g>
160
+ <rect x="527.1" y="433" class="st2" width="4" height="16.3"/>
161
+ </g>
162
+ <g>
163
+ <rect x="534.6" y="433" class="st2" width="4" height="16.3"/>
164
+ </g>
165
+ <g>
166
+ <rect x="511.3" y="433" class="st2" width="4" height="16.3"/>
167
+ </g>
168
+ <g>
169
+ <rect x="503.5" y="433" class="st2" width="4" height="16.3"/>
170
+ </g>
171
+ <g>
172
+ <rect x="495.7" y="433" class="st2" width="4" height="16.3"/>
173
+ </g>
174
+ <g>
175
+ <rect x="487.9" y="433" class="st2" width="4" height="16.3"/>
176
+ </g>
177
+ <g>
178
+ <rect x="480.1" y="433" class="st2" width="4" height="16.3"/>
179
+ </g>
180
+ <g>
181
+ <rect x="472.3" y="433" class="st2" width="4" height="16.3"/>
182
+ </g>
183
+ <g>
184
+ <rect x="464.5" y="433" class="st2" width="4" height="16.3"/>
185
+ </g>
186
+ <g>
187
+ <rect x="456.7" y="433" class="st2" width="4" height="16.3"/>
188
+ </g>
189
+ <g>
190
+ <rect x="448.9" y="433" class="st2" width="4" height="16.3"/>
191
+ </g>
192
+ <g>
193
+ <rect x="441" y="433" class="st2" width="4" height="16.3"/>
194
+ </g>
195
+ <g>
196
+ <rect x="433.2" y="433" class="st2" width="4" height="16.3"/>
197
+ </g>
198
+ <g>
199
+ <rect x="425.4" y="433" class="st2" width="4" height="16.3"/>
200
+ </g>
201
+ <g>
202
+ <rect x="417.6" y="433" class="st2" width="4" height="16.3"/>
203
+ </g>
204
+ <g>
205
+ <rect x="409.8" y="433" class="st2" width="4" height="16.3"/>
206
+ </g>
207
+ <g>
208
+ <rect x="402" y="433" class="st2" width="4" height="16.3"/>
209
+ </g>
210
+ <g>
211
+ <rect x="394.2" y="433" class="st2" width="4" height="16.3"/>
212
+ </g>
213
+ <g>
214
+ <rect x="386.4" y="433" class="st2" width="4" height="16.3"/>
215
+ </g>
216
+ <g>
217
+ <rect x="378.6" y="433" class="st2" width="4" height="16.3"/>
218
+ </g>
219
+ <g>
220
+ <rect x="370.8" y="433" class="st2" width="4" height="16.3"/>
221
+ </g>
222
+ <g>
223
+ <rect x="363" y="433" class="st2" width="4" height="16.3"/>
224
+ </g>
225
+ <g>
226
+ <rect x="355.2" y="433" class="st2" width="4" height="16.3"/>
227
+ </g>
228
+ <g>
229
+ <rect x="347.4" y="433" class="st2" width="4" height="16.3"/>
230
+ </g>
231
+ <g>
232
+ <rect x="339.9" y="433" class="st2" width="4" height="16.3"/>
233
+ </g>
234
+ <g>
235
+ <rect x="332.5" y="433" class="st2" width="4" height="16.3"/>
236
+ </g>
237
+ </g>
238
+ </g>
239
+ <path class="st3" d="M0.9,226.4L0.9,226.4C1,226.4,1.1,226.4,0.9,226.4z"/>
240
+ <path class="st3" d="M0.9,226.4L0.9,226.4C0.8,226.4,0.7,226.4,0.9,226.4z"/>
241
+ <path class="st4" d="M869.9,197.4H574c-6.3,0-11.5-5.1-11.5-11.5V-0.3h-1l0,0v186.2c0,6.9,5.6,12.5,12.5,12.5h295.9V197.4z"/>
242
+ <path class="st5" d="M869.9,214.4H561.6c-9.2,0-16.6-7.5-16.6-16.6V-0.3h-3v198.1c0,10.8,8.8,19.6,19.6,19.6h308.3L869.9,214.4
243
+ L869.9,214.4z"/>
244
+ <path class="st4" d="M869.9,450H574c-6.9,0-12.5,5.6-12.5,12.5v187.2l0,0h1V462.5c0-6.3,5.1-11.5,11.5-11.5h295.9V450z"/>
245
+ <path class="st5" d="M869.9,434H561.6c-9.2,0-16.6,7.5-16.6,16.6v199.1h-3V450.6c0-10.8,8.8-19.6,19.6-19.6h308.3L869.9,434
246
+ L869.9,434z"/>
247
+ <path class="st4" d="M-0.4,451h296c6.3,0,11.5,5.1,11.5,11.5v187.2h1l0,0V462.5c0-6.9-5.6-12.5-12.5-12.5h-296
248
+ C-0.4,450-0.4,451-0.4,451z"/>
249
+ <path class="st5" d="M-0.4,434H308c9.2,0,16.6,7.5,16.6,16.6v199.1h3V450.6c0-10.8-8.8-19.6-19.6-19.6H-0.4V434z"/>
250
+ <g>
251
+ <path class="st4" d="M-0.4,198.4h296c6.9,0,12.5-5.6,12.5-12.5V-0.3l0,0h-1v186.2c0,6.3-5.1,11.5-11.5,11.5h-296
252
+ C-0.4,197.4-0.4,198.4-0.4,198.4z"/>
253
+ </g>
254
+ <path class="st5" d="M-0.4,214.4H308c9.2,0,16.6-7.5,16.6-16.6V-0.3h3v198.1c0,10.8-8.8,19.6-19.6,19.6H-0.4V214.4z"/>
255
+ <g>
256
+ <rect x="569.5" y="410.3" class="st6" width="300.3" height="2"/>
257
+ <g id="XMLID_9_">
258
+ <g>
259
+ <rect x="784.1" y="291.8" class="st6" width="12" height="2"/>
260
+ </g>
261
+ </g>
262
+ <rect x="784.1" y="263.4" class="st6" width="12" height="2"/>
263
+ <g id="XMLID_4_">
264
+ <g>
265
+ <rect x="820.1" y="291.8" class="st6" width="12" height="2"/>
266
+ </g>
267
+ </g>
268
+ <rect x="820.1" y="263.4" class="st6" width="12" height="2"/>
269
+ <g id="XMLID_10_">
270
+ <g>
271
+ <rect x="856.1" y="291.8" class="st6" width="12" height="2"/>
272
+ </g>
273
+ </g>
274
+ <rect x="856.1" y="263.4" class="st6" width="12" height="2"/>
275
+ <g>
276
+ <g id="XMLID_28_">
277
+ <g>
278
+ <rect x="569.5" y="380.1" class="st6" width="12" height="2"/>
279
+ </g>
280
+ </g>
281
+ <rect x="569.5" y="349.9" class="st6" width="12" height="2"/>
282
+ <g id="XMLID_27_">
283
+ <g>
284
+ <rect x="605.5" y="380.1" class="st6" width="12" height="2"/>
285
+ </g>
286
+ </g>
287
+ <rect x="605.5" y="349.9" class="st6" width="12" height="2"/>
288
+ <g id="XMLID_26_">
289
+ <g>
290
+ <rect x="641.5" y="380.1" class="st6" width="12" height="2"/>
291
+ </g>
292
+ </g>
293
+ <rect x="641.5" y="349.9" class="st6" width="12" height="2"/>
294
+ <g id="XMLID_25_">
295
+ <g>
296
+ <rect x="677.5" y="380.1" class="st6" width="12" height="2"/>
297
+ </g>
298
+ </g>
299
+ <rect x="677.5" y="349.9" class="st6" width="12" height="2"/>
300
+ <g id="XMLID_24_">
301
+ <g>
302
+ <rect x="713.5" y="380.1" class="st6" width="12" height="2"/>
303
+ </g>
304
+ </g>
305
+ <rect x="713.5" y="349.9" class="st6" width="12" height="2"/>
306
+ <g id="XMLID_23_">
307
+ <g>
308
+ <rect x="749.5" y="380.1" class="st6" width="12" height="2"/>
309
+ </g>
310
+ </g>
311
+ <rect x="749.5" y="349.9" class="st6" width="12" height="2"/>
312
+ <g id="XMLID_22_">
313
+ <g>
314
+ <rect x="785.5" y="380.1" class="st6" width="12" height="2"/>
315
+ </g>
316
+ </g>
317
+ <rect x="785.5" y="349.9" class="st6" width="12" height="2"/>
318
+ <g id="XMLID_21_">
319
+ <g>
320
+ <rect x="821.5" y="380.1" class="st6" width="12" height="2"/>
321
+ </g>
322
+ </g>
323
+ <rect x="821.5" y="349.9" class="st6" width="12" height="2"/>
324
+ <g id="XMLID_3_">
325
+ <g>
326
+ <rect x="857.5" y="380.1" class="st6" width="12" height="2"/>
327
+ </g>
328
+ </g>
329
+ <rect x="857.5" y="349.9" class="st6" width="12" height="2"/>
330
+ </g>
331
+ <g>
332
+ <g>
333
+ <rect x="570.5" y="320.2" class="st5" width="299.4" height="2"/>
334
+ </g>
335
+ <rect x="570.9" y="291.8" class="st6" width="189.2" height="2"/>
336
+ <rect x="570.9" y="263.4" class="st6" width="189.2" height="2"/>
337
+ <rect x="570.2" y="235" class="st6" width="299.8" height="2"/>
338
+ <polygon class="st6" points="571.5,247.7 571.5,250.1 571.5,283.7 571.5,286.2 571.5,322.2 569.5,322.2 569.5,217.4 571.5,217.4
339
+ "/>
340
+ </g>
341
+ </g>
342
+ <g>
343
+ <rect x="0.1" y="236" class="st6" width="300.3" height="2"/>
344
+ <g id="XMLID_50_">
345
+ <g>
346
+ <rect x="73.9" y="354.5" class="st6" width="12" height="2"/>
347
+ </g>
348
+ </g>
349
+ <rect x="73.9" y="383" class="st6" width="12" height="2"/>
350
+ <g id="XMLID_49_">
351
+ <g>
352
+ <rect x="37.9" y="354.5" class="st6" width="12" height="2"/>
353
+ </g>
354
+ </g>
355
+ <rect x="37.9" y="383" class="st6" width="12" height="2"/>
356
+ <g id="XMLID_48_">
357
+ <g>
358
+ <rect x="1.9" y="354.5" class="st6" width="12" height="2"/>
359
+ </g>
360
+ </g>
361
+ <rect x="1.9" y="383" class="st6" width="12" height="2"/>
362
+ <g>
363
+ <g id="XMLID_47_">
364
+ <g>
365
+ <rect x="288.5" y="266.2" class="st6" width="12" height="2"/>
366
+ </g>
367
+ </g>
368
+ <rect x="288.5" y="296.5" class="st6" width="12" height="2"/>
369
+ <g id="XMLID_46_">
370
+ <g>
371
+ <rect x="252.5" y="266.2" class="st6" width="12" height="2"/>
372
+ </g>
373
+ </g>
374
+ <rect x="252.5" y="296.5" class="st6" width="12" height="2"/>
375
+ <g id="XMLID_45_">
376
+ <g>
377
+ <rect x="216.5" y="266.2" class="st6" width="12" height="2"/>
378
+ </g>
379
+ </g>
380
+ <rect x="216.5" y="296.5" class="st6" width="12" height="2"/>
381
+ <g id="XMLID_44_">
382
+ <g>
383
+ <rect x="180.5" y="266.2" class="st6" width="12" height="2"/>
384
+ </g>
385
+ </g>
386
+ <rect x="180.5" y="296.5" class="st6" width="12" height="2"/>
387
+ <g id="XMLID_43_">
388
+ <g>
389
+ <rect x="144.5" y="266.2" class="st6" width="12" height="2"/>
390
+ </g>
391
+ </g>
392
+ <rect x="144.5" y="296.5" class="st6" width="12" height="2"/>
393
+ <g id="XMLID_42_">
394
+ <g>
395
+ <rect x="108.5" y="266.2" class="st6" width="12" height="2"/>
396
+ </g>
397
+ </g>
398
+ <rect x="108.5" y="296.5" class="st6" width="12" height="2"/>
399
+ <g id="XMLID_41_">
400
+ <g>
401
+ <rect x="72.5" y="266.2" class="st6" width="12" height="2"/>
402
+ </g>
403
+ </g>
404
+ <rect x="72.5" y="296.5" class="st6" width="12" height="2"/>
405
+ <g id="XMLID_40_">
406
+ <g>
407
+ <rect x="36.5" y="266.2" class="st6" width="12" height="2"/>
408
+ </g>
409
+ </g>
410
+ <rect x="36.5" y="296.5" class="st6" width="12" height="2"/>
411
+ <g id="XMLID_39_">
412
+ <g>
413
+ <rect x="0.5" y="266.2" class="st6" width="12" height="2"/>
414
+ </g>
415
+ </g>
416
+ <rect x="0.5" y="296.5" class="st6" width="12" height="2"/>
417
+ </g>
418
+ <g>
419
+ <g>
420
+ <rect y="326.1" class="st5" width="299.4" height="2"/>
421
+ </g>
422
+ <rect x="109.9" y="354.5" class="st6" width="189.2" height="2"/>
423
+ <rect x="109.9" y="383" class="st6" width="189.2" height="2"/>
424
+ <rect y="411.4" class="st6" width="299.8" height="2"/>
425
+ <polygon class="st6" points="298.5,400.6 298.5,398.3 298.5,364.6 298.5,362.1 298.5,326.1 300.5,326.1 300.5,431 298.5,431 "/>
426
+ </g>
427
+ </g>
428
+ <g>
429
+ <rect x="520.5" class="st6" width="2" height="191.4"/>
430
+ <g>
431
+ <g id="XMLID_18_">
432
+ <g>
433
+ <rect x="490.3" y="179.4" class="st6" width="2" height="12"/>
434
+ </g>
435
+ </g>
436
+ <rect x="460" y="179.4" class="st6" width="2" height="12"/>
437
+ <g id="XMLID_17_">
438
+ <g>
439
+ <rect x="490.3" y="143.4" class="st6" width="2" height="12"/>
440
+ </g>
441
+ </g>
442
+ <rect x="460" y="143.4" class="st6" width="2" height="12"/>
443
+ <g id="XMLID_16_">
444
+ <g>
445
+ <rect x="490.3" y="107.4" class="st6" width="2" height="12"/>
446
+ </g>
447
+ </g>
448
+ <rect x="460" y="107.4" class="st6" width="2" height="12"/>
449
+ <g id="XMLID_14_">
450
+ <g>
451
+ <rect x="490.3" y="71.4" class="st6" width="2" height="12"/>
452
+ </g>
453
+ </g>
454
+ <rect x="460" y="71.4" class="st6" width="2" height="12"/>
455
+ <g id="XMLID_13_">
456
+ <g>
457
+ <rect x="490.3" y="35.4" class="st6" width="2" height="12"/>
458
+ </g>
459
+ </g>
460
+ <rect x="460" y="35.4" class="st6" width="2" height="12"/>
461
+ <g id="XMLID_12_">
462
+ <g>
463
+ <rect x="490.3" class="st6" width="2" height="11.4"/>
464
+ </g>
465
+ </g>
466
+ <rect x="460" class="st6" width="2" height="11.4"/>
467
+ </g>
468
+ <g>
469
+ <g>
470
+ <rect x="430.4" class="st5" width="2" height="190.4"/>
471
+ </g>
472
+ <rect x="402" class="st6" width="2" height="190"/>
473
+ <rect x="373.6" class="st6" width="2" height="190"/>
474
+ <rect x="345.2" class="st6" width="2" height="190.8"/>
475
+ <polygon class="st6" points="357.9,189.4 360.3,189.4 393.9,189.4 396.4,189.4 432.4,189.4 432.4,191.4 327.6,191.4 327.6,189.4
476
+ "/>
477
+ </g>
478
+ </g>
479
+ <g>
480
+ <rect x="347.1" y="458.6" class="st6" width="2" height="191.4"/>
481
+ <g>
482
+ <g id="XMLID_20_">
483
+ <g>
484
+ <rect x="377.3" y="458.6" class="st6" width="2" height="12"/>
485
+ </g>
486
+ </g>
487
+ <rect x="407.5" y="458.6" class="st6" width="2" height="12"/>
488
+ <g id="XMLID_19_">
489
+ <g>
490
+ <rect x="377.3" y="494.6" class="st6" width="2" height="12"/>
491
+ </g>
492
+ </g>
493
+ <rect x="407.5" y="494.6" class="st6" width="2" height="12"/>
494
+ <g id="XMLID_11_">
495
+ <g>
496
+ <rect x="377.3" y="530.6" class="st6" width="2" height="12"/>
497
+ </g>
498
+ </g>
499
+ <rect x="407.5" y="530.6" class="st6" width="2" height="12"/>
500
+ <g id="XMLID_6_">
501
+ <g>
502
+ <rect x="377.3" y="566.6" class="st6" width="2" height="12"/>
503
+ </g>
504
+ </g>
505
+ <rect x="407.5" y="566.6" class="st6" width="2" height="12"/>
506
+ <g id="XMLID_5_">
507
+ <g>
508
+ <rect x="377.3" y="602.6" class="st6" width="2" height="12"/>
509
+ </g>
510
+ </g>
511
+ <rect x="407.5" y="602.6" class="st6" width="2" height="12"/>
512
+ <g id="XMLID_2_">
513
+ <g>
514
+ <rect x="377.3" y="638.6" class="st6" width="2" height="11.4"/>
515
+ </g>
516
+ </g>
517
+ <rect x="407.5" y="638.6" class="st6" width="2" height="11.4"/>
518
+ </g>
519
+ <g>
520
+ <g>
521
+ <rect x="437.2" y="459.6" class="st5" width="2" height="190.4"/>
522
+ </g>
523
+ <rect x="465.6" y="460" class="st6" width="2" height="190"/>
524
+ <rect x="494" y="460" class="st6" width="2" height="190"/>
525
+ <rect x="522.4" y="459.2" class="st6" width="2" height="190.8"/>
526
+ <polygon class="st6" points="511.7,460.6 509.3,460.6 475.7,460.6 473.2,460.6 437.2,460.6 437.2,458.6 542,458.6 542,460.6 "/>
527
+ </g>
528
+ </g>
529
+ </svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openatc-components",
3
- "version": "0.4.57",
3
+ "version": "0.4.59",
4
4
  "description": "A Vue.js project",
5
5
  "author": "openatc developer",
6
6
  "private": false,
package/src/api/cross.js CHANGED
@@ -40,10 +40,17 @@ export function getTscPhase (agentid) {
40
40
  return api.Send({}, data)
41
41
  }
42
42
 
43
+ export const getValidDirections = (agentid) => {
44
+ let api = new Authapi('getValidDirections')
45
+ let paramList = [agentid]
46
+ return api.Send({}, {}, [paramList])
47
+ }
48
+
43
49
  export default {
44
50
  saveChannelizatonChart,
45
51
  getChannelizatonChart,
46
52
  getDetectorStatus,
47
53
  getDuration,
48
- getTscPhase
54
+ getTscPhase,
55
+ getValidDirections
49
56
  }
@@ -15,7 +15,6 @@
15
15
  :isMove="isMove"
16
16
  :localPatternList="localPatternList"
17
17
  :showCondition="showCondition"
18
- :patternType="patternType"
19
18
  :contrloType="contrloType"
20
19
  :allPatternList="allPatternList"
21
20
  :stagesChange="stagesChange"
@@ -104,9 +103,6 @@ export default {
104
103
  patternId: {
105
104
  type: Number
106
105
  },
107
- patternType: {
108
- type: String
109
- },
110
106
  agentId: {
111
107
  type: String
112
108
  },
@@ -141,6 +141,10 @@ export default {
141
141
  initSelection () {
142
142
  this.getIntersectionInfo()
143
143
  this.getPlatform()
144
+ },
145
+ refresh () {
146
+ // 刷新底图
147
+ this.$refs.intersectionMap2.resetCrossDiagram()
144
148
  }
145
149
  },
146
150
  mounted () {
@@ -94,6 +94,10 @@
94
94
  <BusMapSvg v-for="(item, index) in comdireBusPhaseData" :key="'Busmap-' + item.key + '-' + index" :Data="item" />
95
95
  <PhaseIconSvg v-for="(item, index) in comdireBusPhaseData" :key="item.key + '-' + index" :Data="item"/>
96
96
  </div>
97
+ <!-- 有效方向 -->
98
+ <div v-if="isVipRoute" class="effectDir">
99
+ <PhaseIconSvg v-for="(item, index) in effectDirData" :key="item.key + '-' + index" :Data="item" />
100
+ </div>
97
101
  </div>
98
102
  <!-- 匝道状态 -->
99
103
  <!-- 车道相位 -->
@@ -200,6 +204,7 @@ import { getMessageByCode } from '../../../../utils/responseMessage.js'
200
204
 
201
205
  import CrossDirectionConflictList from '../../../../utils/conflictList.js'
202
206
  import RingDataModel from '../../../../utils/RingDataModel.js'
207
+ import { getValidDirections } from '../../../../api/cross.js'
203
208
 
204
209
  export default {
205
210
  name: 'crossDiagram',
@@ -395,7 +400,8 @@ export default {
395
400
  isHasStageCountdown: false,
396
401
  contrloType: 'ring',
397
402
  isMphaseStatusDataReturnMap: new Map(), // 每个跟随相位的母相位是否返回了相位状态数据
398
- overlapStatusCompareSum: 0 // 首次加载跳过比较母相位状态数据是否返回
403
+ overlapStatusCompareSum: 0, // 首次加载跳过比较母相位状态数据是否返回
404
+ effectDirData: [] // 路口有效方向
399
405
  }
400
406
  },
401
407
  methods: {
@@ -859,6 +865,9 @@ export default {
859
865
  // 获取车道相位、行人相位信息(坐标、名称)
860
866
  this.mainType = this.tempType.split('-')[0]
861
867
  this.mainDirection = this.tempType.split('-')[1]
868
+ if (this.isVipRoute) {
869
+ this.getValidDirections()
870
+ }
862
871
  if (this.isVipRoute && !this.isThirdSignal) {
863
872
  // 特勤、分组管控下,非第三方设备,按通道显示相位方向;第三方设备还是按路口相位配置显示相位方向
864
873
  this.getChannelInfo()
@@ -1066,6 +1075,20 @@ export default {
1066
1075
  this.overlapsidewalkPhaseData = Array.from(new Set(this.overlapsidewalkPhaseData.map(item => item.id)))
1067
1076
  .map(id => this.overlapsidewalkPhaseData.find(item => item.id === id))
1068
1077
  },
1078
+ getEffectDirectionPos () {
1079
+ this.effectDirData = []
1080
+ // this.effectiveDirection = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]
1081
+ this.effectiveDirection.forEach((dir, i) => {
1082
+ this.effectDirData.push({
1083
+ key: this.CrossDiagramMgr.getUniqueKey('effectiveDir'),
1084
+ id: dir,
1085
+ name: this.PhaseDataModel.getEffectPos(dir).name,
1086
+ left: this.PhaseDataModel.getEffectPos(dir).x,
1087
+ top: this.PhaseDataModel.getEffectPos(dir).y,
1088
+ color: '#6e737c'
1089
+ })
1090
+ })
1091
+ },
1069
1092
  getCrossType () {
1070
1093
  // 路口类型对应底图决策
1071
1094
  if (this.mainType === '101') {
@@ -1459,6 +1482,16 @@ export default {
1459
1482
  }
1460
1483
  }
1461
1484
  this.compSidewalkPhaseData = JSON.parse(JSON.stringify(curPedStatus))
1485
+ },
1486
+ getValidDirections () {
1487
+ getValidDirections(this.agentId).then((data) => {
1488
+ if (!data.data.success) {
1489
+ this.$message.error(getMessageByCode(data.data.code, this.$i18n.locale))
1490
+ return
1491
+ }
1492
+ this.effectiveDirection = data.data.data.validDirections || []
1493
+ this.getEffectDirectionPos()
1494
+ })
1462
1495
  }
1463
1496
  },
1464
1497
  mounted () {