openatc-components 0.3.48 → 0.3.49

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 (39) hide show
  1. package/.eslintrc.js +3 -1
  2. package/config/index.js +1 -1
  3. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +145 -46
  4. package/package/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +4 -4
  5. package/package/kisscomps/components/SchemeConfig/SchemeConfig.vue +9 -8
  6. package/package/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +7 -7
  7. package/package/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +8 -8
  8. package/package/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +18 -17
  9. package/package/kisscomps/components/SchemeConfig/manualControlModalNew/index.vue +30 -33
  10. package/package/kisscomps/components/SchemeConfig/priorityControl/index.vue +10 -10
  11. package/package/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +9 -17
  12. package/package/kisscomps/components/XiaoKanban/index.vue +34 -14
  13. package/package/kisscomps/components/patternConfig/index.vue +61 -12
  14. package/package/kisscomps/components/patternConfig/pattern/patternTable.vue +196 -29
  15. package/package/kisscomps/components/patternConfig/planContent.vue +2 -4
  16. package/package/kissui.min.js +1 -1
  17. package/package.json +9 -10
  18. package/src/i18n/language/en.js +8 -0
  19. package/src/i18n/language/zh.js +9 -0
  20. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +145 -46
  21. package/src/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +4 -4
  22. package/src/kisscomps/components/SchemeConfig/SchemeConfig.vue +9 -8
  23. package/src/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +7 -7
  24. package/src/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +8 -8
  25. package/src/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +18 -17
  26. package/src/kisscomps/components/SchemeConfig/manualControlModalNew/index.vue +30 -33
  27. package/src/kisscomps/components/SchemeConfig/priorityControl/index.vue +10 -10
  28. package/src/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +9 -17
  29. package/src/kisscomps/components/XiaoKanban/index.vue +34 -14
  30. package/src/kisscomps/components/patternConfig/index.vue +61 -12
  31. package/src/kisscomps/components/patternConfig/pattern/patternTable.vue +196 -29
  32. package/src/kisscomps/components/patternConfig/planContent.vue +2 -4
  33. package/src/views/patternConfig.vue +108 -309
  34. package/static/styles/common.scss +3 -3
  35. package/static/styles/dark/theme/element-dark.scss +1 -1
  36. package/static/styles/intersection.scss +15 -5
  37. package/static/styles/light/theme/element-light.scss +1 -1
  38. package/static/styles/schemeconfig.scss +3 -6
  39. package/static/styles/xiaokanban.scss +11 -0
@@ -3,8 +3,11 @@
3
3
  <button @click="getSaveParam" >获取相位参数信息</button><br/>
4
4
  <div class="layout-container2">
5
5
  <PatternConfig
6
- :agentids="agentids6"
7
- :opt="opt5"
6
+ :agentids="agentids"
7
+ :opt="opt"
8
+ :isShowTableHeader="isShowTableHeader"
9
+ :tableColums="tableColums"
10
+ :isSingleCrossMode="isSingleCrossMode"
8
11
  :isAllowedExpand="isAllowedExpand"
9
12
  :isOnlyOneTab="isOnlyOneTab"
10
13
  :isShowSingle="isShowSingle"
@@ -18,12 +21,21 @@
18
21
  import {
19
22
  setToken
20
23
  } from '../utils/auth'
24
+ // import PatternConfig from '../kisscomps/components/PatternConfig'
21
25
  export default {
22
26
  name: 'PatternConfigTest',
27
+ // components: {
28
+ // PatternConfig
29
+ // },
23
30
  data () {
24
31
  return {
25
- isShowSingle: false,
32
+ tableColums: ['agentid', 'period', 'offset', 'cycle', 'pattern'], // greenWave, period
33
+ // tableColums: ['no', 'id', 'period', 'name', 'isUsed', 'patternId', 'offset', 'cycle', 'pattern'], // greenWave, period
34
+ isShowSingle: true,
26
35
  isOnlyOneTab: false,
36
+ isSingleCrossMode: true,
37
+ isShowTableHeader: true,
38
+ // isAllowedExpand: false,
27
39
  isAllowedExpand: false,
28
40
  // agentids: ['gjnlgjxl'],
29
41
  agentids4: [
@@ -103,7 +115,7 @@ export default {
103
115
  }
104
116
  ]
105
117
  },
106
- agentids3: ['gjnlahql', 'xylsnl', 'cslyll'],
118
+ agentids3: ['13003', '13006', '13007', '13013'],
107
119
  // agentids2: ['15001', '15001', '15003', '15004', '15005'],
108
120
  roadDirection: 'right',
109
121
  // reqUrl: 'http://192.168.13.103:10003/openatc',
@@ -155,6 +167,7 @@ export default {
155
167
  {
156
168
  'agentid': 'gjnlgjxl',
157
169
  'patternid': 1,
170
+ 'period': ['09:30', '11:30'],
158
171
  'isused': true,
159
172
  'desc': '方案1',
160
173
  'id': 1,
@@ -165,361 +178,149 @@ export default {
165
178
  'feature': {
166
179
  'patternList': [
167
180
  {
168
- 'patternid': 1,
169
- 'patterndes': '方案1',
170
- 'patterndesc': '方案1',
171
181
  'id': 1,
172
182
  'desc': '方案1',
173
183
  'offset': 0,
174
- 'cycle': 132,
184
+ 'cycle': 90,
185
+ 'contrloType': 'ring',
175
186
  'rings': [
176
187
  [
177
188
  {
189
+ 'name': '相位1',
178
190
  'id': 1,
179
- 'value': 45,
191
+ 'value': 40,
180
192
  'mode': 2,
193
+ 'delaystart': 0,
194
+ 'advanceend': 0,
195
+ 'flowperhour': 0,
196
+ 'saturation': 1700,
181
197
  'desc': [
182
198
  {
183
199
  'id': 1
184
- }
185
- ]
186
- },
187
- {
188
- 'id': 3,
189
- 'value': 25,
190
- 'mode': 2,
191
- 'desc': [
192
- {
193
- 'id': 2
194
200
  },
195
201
  {
196
- 'id': 4
202
+ 'id': 5
197
203
  }
198
204
  ]
199
205
  },
200
206
  {
201
- 'id': 5,
202
- 'value': 26,
203
- 'mode': 2,
204
- 'desc': [
205
-
206
- ]
207
- },
208
- {
209
- 'id': 6,
210
- 'value': 36,
211
- 'mode': 2,
212
- 'desc': [
213
- {
214
- 'id': 10
215
- }
216
- ]
217
- }
218
- ],
219
- [
220
- {
207
+ 'name': '相位2',
221
208
  'id': 2,
222
- 'value': 45,
209
+ 'value': 30,
223
210
  'mode': 2,
211
+ 'delaystart': 0,
212
+ 'advanceend': 0,
213
+ 'flowperhour': 0,
214
+ 'saturation': 1700,
224
215
  'desc': [
225
216
  {
226
- 'id': 5
227
- }
228
- ]
229
- },
230
- {
231
- 'id': 4,
232
- 'value': 51,
233
- 'mode': 2,
234
- 'desc': [
217
+ 'id': 2
218
+ },
235
219
  {
236
220
  'id': 6
237
221
  }
238
222
  ]
239
223
  },
240
224
  {
241
- 'id': 7,
242
- 'value': 36,
225
+ 'name': '相位3',
226
+ 'id': 3,
227
+ 'value': 20,
243
228
  'mode': 2,
229
+ 'delaystart': 0,
230
+ 'advanceend': 0,
231
+ 'flowperhour': 0,
232
+ 'saturation': 1700,
244
233
  'desc': [
245
-
234
+ {
235
+ 'id': 14
236
+ }
246
237
  ]
247
238
  }
248
239
  ],
249
- [
250
-
251
- ],
252
- [
253
-
254
- ]
255
- ],
256
- 'stagesList': [
257
- {
258
- 'split': 45,
259
- 'stages': [
260
- 1,
261
- 2
262
- ]
263
- },
264
- {
265
- 'split': 25,
266
- 'stages': [
267
- 3,
268
- 4
269
- ]
270
- },
271
- {
272
- 'split': 26,
273
- 'stages': [
274
- 5,
275
- 4
276
- ]
277
- },
278
- {
279
- 'split': 36,
280
- 'stages': [
281
- 6,
282
- 7
283
- ]
284
- }
240
+ [],
241
+ [],
242
+ []
285
243
  ],
286
244
  'stages': [
287
245
  [
288
- 1,
289
- 2
290
- ],
291
- [
292
- 3,
293
- 4
246
+ 1
294
247
  ],
295
248
  [
296
- 5,
297
- 4
298
- ],
299
- [
300
- 6,
301
- 7
302
- ]
303
- ],
304
- 'barriers': [
305
- {
306
- 'barrier': 1,
307
- 'length': 45,
308
- 'items': [
309
- {
310
- 'ring': 1,
311
- 'data': [
312
- 2
313
- ]
314
- },
315
- {
316
- 'ring': 2,
317
- 'data': [
318
- 1
319
- ]
320
- }
321
- ]
322
- },
323
- {
324
- 'barrier': 2,
325
- 'length': 51,
326
- 'items': [
327
- {
328
- 'ring': 1,
329
- 'data': [
330
- 4
331
- ]
332
- },
333
- {
334
- 'ring': 2,
335
- 'data': [
336
- 3,
337
- 5
338
- ]
339
- }
340
- ]
341
- },
342
- {
343
- 'barrier': 3,
344
- 'length': 36,
345
- 'items': [
346
- {
347
- 'ring': 1,
348
- 'data': [
349
- 7
350
- ]
351
- },
352
- {
353
- 'ring': 2,
354
- 'data': [
355
- 6
356
- ]
357
- }
358
- ]
359
- }
360
- ]
361
- },
362
- {
363
- 'patternid': 2,
364
- 'patterndes': '方案2',
365
- 'patterndesc': '方案2',
366
- 'id': 2,
367
- 'desc': '方案2',
368
- 'offset': 0,
369
- 'cycle': 176,
370
- 'rings': [
371
- [
372
- {
373
- 'id': 1,
374
- 'value': 70,
375
- 'mode': 2
376
- },
377
- {
378
- 'id': 3,
379
- 'value': 25,
380
- 'mode': 2
381
- },
382
- {
383
- 'id': 5,
384
- 'value': 35,
385
- 'mode': 2
386
- },
387
- {
388
- 'id': 6,
389
- 'value': 46,
390
- 'mode': 2
391
- }
392
- ],
393
- [
394
- {
395
- 'id': 2,
396
- 'value': 70,
397
- 'mode': 2
398
- },
399
- {
400
- 'id': 4,
401
- 'value': 60,
402
- 'mode': 2
403
- },
404
- {
405
- 'id': 7,
406
- 'value': 46,
407
- 'mode': 2
408
- }
409
- ],
410
- [
411
-
249
+ 2
412
250
  ],
413
251
  [
414
-
252
+ 3
415
253
  ]
416
254
  ],
417
255
  'stagesList': [
418
256
  {
419
- 'split': 70,
420
- 'stages': [
421
- 1,
422
- 2
423
- ]
424
- },
425
- {
426
- 'split': 25,
427
- 'stages': [
428
- 3,
429
- 4
257
+ 'key': 0,
258
+ 'green': 0,
259
+ 'yellow': 0,
260
+ 'red': 0,
261
+ 'split': 30,
262
+ 'stageSplit': 0,
263
+ 'phases': [
264
+ 1
430
265
  ]
431
266
  },
432
267
  {
433
- 'split': 35,
434
- 'stages': [
435
- 5,
436
- 4
268
+ 'key': 1,
269
+ 'green': 0,
270
+ 'yellow': 0,
271
+ 'red': 0,
272
+ 'split': 30,
273
+ 'stageSplit': 0,
274
+ 'phases': [
275
+ 2
437
276
  ]
438
277
  },
439
278
  {
440
- 'split': 46,
441
- 'stages': [
442
- 6,
443
- 7
279
+ 'key': 2,
280
+ 'green': 0,
281
+ 'yellow': 0,
282
+ 'red': 0,
283
+ 'split': 20,
284
+ 'stageSplit': 0,
285
+ 'phases': [
286
+ 3
444
287
  ]
445
288
  }
446
289
  ],
447
- 'stages': [
448
- [
449
- 1,
450
- 2
451
- ],
452
- [
453
- 3,
454
- 4
455
- ],
456
- [
457
- 5,
458
- 4
459
- ],
460
- [
461
- 6,
462
- 7
463
- ]
464
- ],
465
- 'barriers': [
466
- {
467
- 'barrier': 1,
468
- 'length': 70,
469
- 'items': [
470
- {
471
- 'ring': 1,
472
- 'data': [
473
- 2
474
- ]
475
- },
476
- {
477
- 'ring': 2,
478
- 'data': [
479
- 1
480
- ]
481
- }
482
- ]
483
- },
484
- {
485
- 'barrier': 2,
486
- 'length': 60,
487
- 'items': [
488
- {
489
- 'ring': 1,
490
- 'data': [
491
- 4
492
- ]
493
- },
494
- {
495
- 'ring': 2,
496
- 'data': [
497
- 3,
498
- 5
499
- ]
500
- }
501
- ]
502
- },
503
- {
504
- 'barrier': 3,
505
- 'length': 46,
506
- 'items': [
507
- {
508
- 'ring': 1,
509
- 'data': [
510
- 7
511
- ]
512
- },
513
- {
514
- 'ring': 2,
515
- 'data': [
516
- 6
517
- ]
518
- }
519
- ]
520
- }
521
- ]
290
+ 'barriers': []
522
291
  }
292
+ ],
293
+ 'phases': [
294
+ {
295
+ 'id': 1,
296
+ 'flowperhour': 200,
297
+ 'saturation': 1701
298
+ },
299
+ {
300
+ 'id': 3,
301
+ 'flowperhour': 100,
302
+ 'saturation': 1703
303
+ },
304
+ {
305
+ 'id': 6,
306
+ 'flowperhour': 100,
307
+ 'saturation': 1700
308
+ },
309
+ {
310
+ 'id': 2,
311
+ 'flowperhour': 100,
312
+ 'saturation': 1702
313
+ },
314
+ {
315
+ 'id': 4,
316
+ 'flowperhour': 100,
317
+ 'saturation': 1700
318
+ },
319
+ {
320
+ 'id': 5,
321
+ 'flowperhour': 100,
322
+ 'saturation': 1700
323
+ }
523
324
  ]
524
325
  }
525
326
  }
@@ -529,8 +330,6 @@ export default {
529
330
  }
530
331
  }
531
332
  },
532
- components: {
533
- },
534
333
  methods: {
535
334
  getSaveParam () {
536
335
  console.log('getPatternConfig')
@@ -580,7 +379,7 @@ export default {
580
379
  /* height: 600px; */
581
380
  width: 1020px;
582
381
  // height: 620px;
583
- height: 270px;
382
+ height: 170px;
584
383
  border: 1PX solid yellow;
585
384
  position: relative;
586
385
  }
@@ -11,12 +11,12 @@
11
11
 
12
12
  // 全局滚动条样式
13
13
  ::-webkit-scrollbar {
14
- width: 6PX;
15
- height: 6PX;
14
+ width: 12PX;
15
+ height: 12PX;
16
16
  }
17
17
  ::-webkit-scrollbar-thumb {
18
18
  // 滚动条的滑块
19
- border-radius: 3PX;
19
+ border-radius: 4px;
20
20
  background: rgba(144, 147, 153, 0.3);
21
21
  }
22
22
  ::-webkit-scrollbar-corner{
@@ -34,7 +34,7 @@ $--button-danger-font-color: #FFFFFF;
34
34
  $--button-success-font-color: #FFFFFF;
35
35
  $--radio-button-checked-font-color: #FFFFFF;
36
36
  $--radio-font-color: $--color-text-secondary;
37
- $--tag-info-color: #FFFFFF;
37
+ $--tag-info-color: $--color-text-placeholder;
38
38
  $--tooltip-color: $--color-white;
39
39
  $--checkbox-font-color: $--color-text-secondary;
40
40
 
@@ -38,6 +38,9 @@
38
38
  zoom: 0.9;
39
39
 
40
40
  }
41
+ .centerText .text {
42
+ font-size: 14px;
43
+ }
41
44
  }
42
45
  /*当屏幕小于等于1440px的屏幕样式*/
43
46
  @media only screen and (max-width: 1440px){
@@ -46,6 +49,9 @@
46
49
  zoom: 0.8;
47
50
 
48
51
  }
52
+ .centerText .text {
53
+ font-size: 18px;
54
+ }
49
55
  }
50
56
  /*当屏幕小于等于1280px的屏幕样式*/
51
57
  @media only screen and (max-width: 1280px){
@@ -53,6 +59,9 @@
53
59
  // transform: scale(0.65);
54
60
  zoom: 0.65;
55
61
  }
62
+ .centerText .text {
63
+ font-size: 20px;
64
+ }
56
65
  }
57
66
  /*当屏幕小于等于960px的屏幕样式*/
58
67
  @media only screen and (max-width: 960px){
@@ -60,6 +69,9 @@
60
69
  // transform: scale(0.5);
61
70
  zoom: 0.5;
62
71
  }
72
+ .centerText .text {
73
+ font-size: 14px;
74
+ }
63
75
  }
64
76
  /*当屏幕小于等于720px的屏幕样式*/
65
77
  @media only screen and (max-width: 720px){
@@ -67,6 +79,9 @@
67
79
  // transform: scale(0.45);
68
80
  zoom: 0.45;
69
81
  }
82
+ .centerText .text {
83
+ font-size: 14px;
84
+ }
70
85
  }
71
86
  // 小屏幕打开首页适配样式
72
87
  .minifont {
@@ -173,9 +188,4 @@
173
188
  color: $--color-text-primary;
174
189
  font-size:30PX;
175
190
  }
176
- .centerText {
177
- .text {
178
- font-size: 18PX;
179
- }
180
- }
181
191
  }
@@ -34,7 +34,7 @@ $--card-background-selected: #c1e0ff;
34
34
  // $--button-success-font-color: #FFFFFF;
35
35
  // $--radio-button-checked-font-color: #FFFFFF;
36
36
  // $--radio-font-color: $--color-text-secondary;
37
- $--tag-info-color: #303133;
37
+ // $--tag-info-color: $--color-text-placeholder;
38
38
  // $--tooltip-color: $--color-white;
39
39
  // $--checkbox-font-color: $--color-text-secondary;
40
40
 
@@ -226,7 +226,7 @@
226
226
  overflow-y: auto;
227
227
  }
228
228
  .manual-common-content::-webkit-scrollbar {
229
- width: 6PX;
229
+ width: 8PX;
230
230
  }
231
231
  }
232
232
  // 手动控制弹框
@@ -498,12 +498,12 @@
498
498
  width: 85% !important;
499
499
  }
500
500
  .el-input.is-disabled .el-input__inner {
501
- text-align: left;
501
+ text-align: center;
502
502
  }
503
503
  .el-input-number {
504
504
  width: 100%;
505
505
  .el-input__inner {
506
- text-align: left;
506
+ text-align: center;
507
507
  }
508
508
  }
509
509
  .el-select {
@@ -540,9 +540,6 @@
540
540
  }
541
541
  .el-input-number {
542
542
  width: 100%;
543
- .el-input__inner {
544
- text-align: left;
545
- }
546
543
  }
547
544
  .el-input-number--mini{
548
545
  width: 100%;
@@ -10,6 +10,17 @@
10
10
  color: $--color-text-primary;
11
11
  border-radius: 3PX 3PX 0 0;
12
12
  }
13
+ .board-table-header {
14
+ height: 30PX;
15
+ line-height: 32PX;
16
+ overflow: hidden;
17
+ text-align: center;
18
+ padding: 0 6PX;
19
+ margin-bottom: -10PX;
20
+ font-size: 12PX;
21
+ color: $--color-info;
22
+ background-color: $--color-black;
23
+ }
13
24
  .board-column-content {
14
25
  height: auto;
15
26
  overflow: hidden;