openatc-components 0.2.38 → 0.2.39

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 (25) hide show
  1. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/PatternWalkSvg.vue +429 -0
  2. package/package/kisscomps/components/SchemeConfig/SchemeConfig.vue +3 -3
  3. package/package/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +3 -3
  4. package/package/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +1 -1
  5. package/package/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +25 -12
  6. package/package/kisscomps/components/SchemeConfig/manualControlModalNew/index.vue +3 -3
  7. package/package/kisscomps/components/SchemeConfig/priorityControl/index.vue +4 -3
  8. package/package/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +2 -2
  9. package/package/kisscomps/components/StageBord/StageBord.vue +1 -0
  10. package/package/kissui.min.js +1 -1
  11. package/package.json +1 -1
  12. package/src/kisscomps/components/SchemeConfig/SchemeConfig.vue +3 -3
  13. package/src/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +3 -3
  14. package/src/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +1 -1
  15. package/src/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +25 -12
  16. package/src/kisscomps/components/SchemeConfig/manualControlModalNew/index.vue +3 -3
  17. package/src/kisscomps/components/SchemeConfig/priorityControl/index.vue +4 -3
  18. package/src/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +2 -2
  19. package/src/kisscomps/components/StageBord/StageBord.vue +1 -0
  20. package/src/views/intersection.vue +1 -1
  21. package/src/views/overView.vue +1 -1
  22. package/static/styles/commonkanban.scss +1 -0
  23. package/static/styles/light/theme/element-light.scss +4 -4
  24. package/static/styles/schemeconfig.scss +25 -5
  25. package/src/node_modules/.package_versions.json +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openatc-components",
3
- "version": "0.2.38",
3
+ "version": "0.2.39",
4
4
  "description": "A Vue.js project",
5
5
  "author": "openatc developer",
6
6
  "private": false,
@@ -550,12 +550,12 @@ export default {
550
550
  this.setHost(this.reqUrl)
551
551
  this.PhaseDataModel = new PhaseDataModel(this.roadDirection)
552
552
  this.CrossDiagramMgr = new CrossDiagramMgr()
553
- if (this.realtimeStatusModalvisible === false) {
554
- this.changeStatus()
555
- }
556
553
  this.getIntersectionInfo(this.agentId)
557
554
  },
558
555
  async mounted () {
556
+ if (this.realtimeStatusModalvisible === false) {
557
+ this.changeStatus()
558
+ }
559
559
  this.setPropsToken(this.Token)
560
560
  // await this.getPhase()
561
561
  this.getFault()
@@ -7,7 +7,7 @@
7
7
  ref="manual"
8
8
  label-position="left"
9
9
  :model="manualInfo"
10
- label-width="100px">
10
+ label-width="74px">
11
11
  <el-form-item
12
12
  :label="$t('openatccomponents.overview.duration') + ':'"
13
13
  prop="count">
@@ -30,7 +30,7 @@
30
30
  ref="manual"
31
31
  label-position="left"
32
32
  :model="manualInfo"
33
- label-width="100px">
33
+ label-width="74px">
34
34
  <el-form-item
35
35
  :label="$t('openatccomponents.overview.greenclear') + ':'"
36
36
  prop="count">
@@ -44,7 +44,7 @@
44
44
  </el-form>
45
45
  </el-col>
46
46
  </el-row>
47
- <el-row>
47
+ <el-row style="margin-top: 6px;">
48
48
  <el-col :span="5">
49
49
  <span class="model-label-title">{{$t('openatccomponents.overview.indirection')}}:</span>
50
50
  </el-col>
@@ -18,7 +18,7 @@
18
18
  ref="manual"
19
19
  label-position="left"
20
20
  :model="manualInfo"
21
- label-width="100px">
21
+ label-width="74px">
22
22
  <el-form-item
23
23
  :label="$t('openatccomponents.overview.delay') + ':'"
24
24
  prop="intersection">
@@ -13,33 +13,25 @@
13
13
  <div class="lockingphase-control manual-control-modal">
14
14
  <!-- <div class="title" style="margin-bottom: 18px;">{{$t('openatccomponents.overview.phaselocking')}}</div> -->
15
15
  <el-row>
16
- <el-col :span="24">
16
+ <el-col :span="12">
17
17
  <el-form
18
18
  :inline="true"
19
19
  ref="manual"
20
20
  label-position="left"
21
21
  :model="manualInfo"
22
- label-width="100px">
22
+ label-width="74px">
23
23
  <el-form-item
24
24
  :label="$t('openatccomponents.phase.greenclear') + ':'"
25
25
  prop="intersection">
26
26
  <el-input-number :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempGreenflash" size="small"></el-input-number>
27
27
  </el-form-item>
28
- <el-form-item
29
- :label="$t('openatccomponents.overview.duration') + ':'"
30
- prop="count">
31
- <el-input-number :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempDuration" size="small"></el-input-number>
32
- </el-form-item>
28
+
33
29
  <el-form-item
34
30
  :label="$t('openatccomponents.overview.yellowflash') + ':'"
35
31
  prop="intersection">
36
32
  <el-input-number :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempYellow" size="small"></el-input-number>
37
33
  </el-form-item>
38
- <el-form-item
39
- :label="$t('openatccomponents.overview.allred') + ':'"
40
- prop="intersection">
41
- <el-input-number :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempRedclear" size="small"></el-input-number>
42
- </el-form-item>
34
+
43
35
  <el-form-item
44
36
  :label="$t('openatccomponents.phase.mingreen') + ':'"
45
37
  prop="count">
@@ -47,6 +39,27 @@
47
39
  </el-form-item>
48
40
  </el-form>
49
41
  </el-col>
42
+ <el-col :span="12">
43
+ <el-form
44
+ :inline="true"
45
+ ref="manual"
46
+ label-position="left"
47
+ :model="manualInfo"
48
+ label-width="74px">
49
+
50
+ <el-form-item
51
+ :label="$t('openatccomponents.overview.duration') + ':'"
52
+ prop="count">
53
+ <el-input-number :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempDuration" size="small"></el-input-number>
54
+ </el-form-item>
55
+
56
+ <el-form-item
57
+ :label="$t('openatccomponents.overview.allred') + ':'"
58
+ prop="intersection">
59
+ <el-input-number :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempRedclear" size="small"></el-input-number>
60
+ </el-form-item>
61
+ </el-form>
62
+ </el-col>
50
63
  </el-row>
51
64
  <el-row>
52
65
  <div class="model-label">{{$t('openatccomponents.overview.mode')}}:</div>
@@ -27,7 +27,7 @@
27
27
  ref="manual"
28
28
  label-position="left"
29
29
  :model="manualInfo"
30
- label-width="100px">
30
+ label-width="74px">
31
31
  <el-form-item
32
32
  :label="$t('openatccomponents.overview.duration') + ':'"
33
33
  prop="count">
@@ -82,7 +82,7 @@
82
82
  ref="manual"
83
83
  label-position="left"
84
84
  :model="manualInfo"
85
- label-width="100px">
85
+ label-width="74px">
86
86
  <el-form-item
87
87
  :label="$t('openatccomponents.overview.duration') + ':'"
88
88
  prop="count">
@@ -106,7 +106,7 @@
106
106
  ref="manual"
107
107
  label-position="left"
108
108
  :model="manualInfo"
109
- label-width="100px">
109
+ label-width="74px">
110
110
  <el-form-item
111
111
  :label="$t('openatccomponents.overview.duration') + ':'"
112
112
  prop="count">
@@ -7,7 +7,7 @@
7
7
  ref="manual"
8
8
  label-position="left"
9
9
  :model="manualInfo"
10
- label-width="100px">
10
+ label-width="74px">
11
11
  <el-form-item
12
12
  :label="$t('openatccomponents.overview.delay') + ':'"
13
13
  prop="intersection">
@@ -34,7 +34,7 @@
34
34
  ref="manual"
35
35
  label-position="left"
36
36
  :model="manualInfo"
37
- label-width="100px">
37
+ label-width="74px">
38
38
  <el-form-item
39
39
  :label="$t('openatccomponents.overview.duration') + ':'"
40
40
  prop="intersection">
@@ -67,8 +67,9 @@
67
67
  ref="manual"
68
68
  label-position="left"
69
69
  :model="manualInfo"
70
- label-width="100px">
70
+ label-width="74px">
71
71
  <el-form-item
72
+ style="margin-bottom: 0;"
72
73
  :label="$t('openatccomponents.overview.level') + ':'"
73
74
  prop="count">
74
75
  <el-select v-model="manualInfo.level" class="col-inner" size="small" clearable :placeholder="$t('openatccomponents.common.select')">
@@ -9,7 +9,7 @@
9
9
  ref="manual"
10
10
  label-position="left"
11
11
  :model="manualInfo"
12
- label-width="100px"
12
+ label-width="74px"
13
13
  >
14
14
  <el-form-item
15
15
  :label="$t('openatccomponents.overview.patternid') + ':'"
@@ -55,7 +55,7 @@
55
55
  ref="manual"
56
56
  label-position="left"
57
57
  :model="manualInfo"
58
- label-width="100px"
58
+ label-width="74px"
59
59
  >
60
60
  <el-form-item
61
61
  :label="$t('openatccomponents.overview.patternoffset') + ':'"
@@ -269,6 +269,7 @@ export default {
269
269
  line-height: 40px;
270
270
  padding: 1px 1px;
271
271
  box-sizing: border-box;
272
+ font-size: 14PX;
272
273
  }
273
274
  .el-button--primary:hover, .el-button--primary:focus{
274
275
  background: #299BCC;
@@ -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: 'eyJraWQiOiIxNzE0MDk1MjUwNTU5IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTcxNDEzODQ1MCwiaWF0IjoxNzE0MDk1MjUwfQ.17SP6vzbImSV2jy_LC10xQaH7z4aXWvg3yc2bUFLYvE',
147
+ Token: 'eyJraWQiOiIxNzE1NzM1NTU3NjcxIiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTcxNTc3ODc1NywiaWF0IjoxNzE1NzM1NTU3fQ.7ED5tQWYBpdv7HcBjZ_KSZprkcstns9ybCCwcrj5qZQ',
148
148
  // agentId: '30003-352',
149
149
  // reqUrl: 'https://kints-dev.devdolphin.com/openatc',
150
150
  // Token: 'eyJraWQiOiIxNjUwNTA5MDI2ODk2IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJ4aWFvbWluZyIsImV4cCI6MTczNjkwOTAyNiwiaWF0IjoxNjUwNTA5MDI2fQ.-s4T-uMRmB2zf9yer87USKQXLY1a12Zq5lCOnqjNmfA',
@@ -20,7 +20,7 @@ export default {
20
20
  modeName: '交警遥控',
21
21
  controlName: '步进',
22
22
  agentId: 'jmlxhl',
23
- Token: 'eyJraWQiOiIxNzA4OTA5NDk2ODcxIiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTcwODk1MjY5NiwiaWF0IjoxNzA4OTA5NDk2fQ.FI0gzBQFLyQsj95LG56lVZxb6WYlr2-datNsyv6fF-I',
23
+ Token: 'eyJraWQiOiIxNzE1NzM1NTU3NjcxIiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTcxNTc3ODc1NywiaWF0IjoxNzE1NzM1NTU3fQ.7ED5tQWYBpdv7HcBjZ_KSZprkcstns9ybCCwcrj5qZQ',
24
24
  reqUrl: 'http://192.168.13.103:10003/openatc'
25
25
  }
26
26
  },
@@ -88,6 +88,7 @@
88
88
  box-sizing: border-box;
89
89
  .index{
90
90
  color: $--color-text-primary;
91
+ font-size: 14PX;
91
92
  }
92
93
  .el-input {
93
94
  width: 100%;
@@ -13,17 +13,17 @@
13
13
  $--color-black: #f7f8fa;
14
14
  $--color-primary: #299BCC;
15
15
  // $--color-white: #202940;
16
- // $--color-black: #30384D;
16
+ // $--color-black: #f7f8fa;
17
17
  // $--background-color-base: #191F34;
18
18
  // $--color-text-primary: #FFFFFF;
19
19
  // $--color-text-regular: #FFFFFF;
20
20
  // $--color-text-secondary: #B9BABF;
21
21
  // $--color-text-placeholder: #8D9498;
22
22
  // $--color-info: #8D9498;
23
- // $--border-color-base: #30384D;
23
+ // $--border-color-base: #DCDFE6;
24
24
  // $--border-color-light: #30384D;
25
- // $--border-color-lighter: #30384D;
26
- // $--border-color-extra-light:#30384D;
25
+ // $--border-color-lighter: #EBEEF5;
26
+ // $--border-color-extra-light:#F2F6FC;
27
27
  // $--box-shadow-base: 0 2px 4px 0 rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);
28
28
  // $--button-primary-font-color: #FFFFFF;
29
29
  // $--button-info-font-color: #FFFFFF;
@@ -119,7 +119,7 @@
119
119
  }
120
120
  .single-model-name-theme {
121
121
  margin-top: 13PX;
122
- font-size: 12PX;
122
+ font-size: 13PX;
123
123
  font-weight: normal;
124
124
  font-stretch: normal;
125
125
  // line-height: 22PX;
@@ -241,7 +241,7 @@
241
241
  // width: 100% !important;
242
242
  }
243
243
  .model-label {
244
- margin-top: 14PX;
244
+ margin-top: 6PX;
245
245
  }
246
246
  .stage-label {
247
247
  margin-top: 30PX;
@@ -283,21 +283,27 @@
283
283
  }
284
284
  }
285
285
  .manual-control-modal-new {
286
- padding: 20PX;
286
+ padding: 20PX 20PX 0 20PX;
287
287
  .el-tabs__nav.is-top {
288
288
  width: 100%;
289
289
  }
290
+ .el-tabs--card>.el-tabs__header .el-tabs__nav {
291
+ border-color: $--border-color-lighter;
292
+ }
290
293
  .el-tabs--card>.el-tabs__header .el-tabs__item {
291
- background-color: $--background-color-base;
294
+ background-color: $--color-black;
292
295
  width: 25%;
293
296
  text-align: center;
294
297
  border-left: none;
295
- border-bottom-color: $--border-color-light;
298
+ border-bottom-color: $--border-color-lighter;
296
299
  }
297
300
  .el-tabs--card>.el-tabs__header .el-tabs__item.is-active {
298
301
  background-color: $--color-white;
299
302
  border-bottom: none;
300
303
  }
304
+ .el-tabs__content {
305
+ overflow-x: auto;
306
+ }
301
307
  .group-control {
302
308
  margin-bottom: 20PX;
303
309
  overflow: hidden;
@@ -321,6 +327,16 @@
321
327
  float: right;
322
328
  margin: 28PX 0PX 40PX 0;
323
329
  }
330
+
331
+ .main-patternstatus {
332
+ margin-bottom: 0;
333
+ }
334
+ .closephasekanban:last-child {
335
+ margin-bottom: 0;
336
+ }
337
+ .stage-part {
338
+ margin-top: 6PX;
339
+ }
324
340
  }
325
341
  .priority-control{
326
342
  height: 100%;
@@ -390,6 +406,7 @@
390
406
  color: $--color-text-primary;
391
407
  padding: 1px 1px;
392
408
  box-sizing: border-box;
409
+ font-size: 14PX;
393
410
  }
394
411
  .title {
395
412
  margin-bottom: 24PX;
@@ -406,6 +423,9 @@
406
423
  .col-inner{
407
424
  // width: 100% !important;
408
425
  }
426
+ .model-label, .stage-label {
427
+ color: $--color-text-secondary;
428
+ }
409
429
  .model-label {
410
430
  margin-top: 14PX;
411
431
  }
@@ -1 +0,0 @@
1
- {}