openatc-components 0.1.106 → 0.1.107

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.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openatc-components",
3
- "version": "0.1.106",
3
+ "version": "0.1.107",
4
4
  "description": "A Vue.js project",
5
5
  "author": "openatc developer",
6
6
  "private": false,
@@ -306,8 +306,7 @@ const en = {
306
306
  'confirmed': 'confirmed',
307
307
  'ignored': 'ignored',
308
308
  'untreated': 'untreated',
309
- 'item': 'item',
310
- 'noselectcontroltip': 'Please select a control method first!'
309
+ 'item': 'item'
311
310
  },
312
311
  'phase': {
313
312
  'desc': 'LaneDirection',
@@ -322,8 +322,7 @@ const zh = {
322
322
  'confirmed': '已确认',
323
323
  'ignored': '已忽略',
324
324
  'untreated': '未处理',
325
- 'item': '条',
326
- 'noselectcontroltip': '请先选择一种控制方式!'
325
+ 'item': '条'
327
326
  },
328
327
  'phase': {
329
328
  'desc': '车道方向',
@@ -1,28 +1,33 @@
1
- <svg id="临时方案" xmlns="http://www.w3.org/2000/svg" width="54" height="9" viewBox="0 0 54 9">
2
- <defs>
3
- <style>
4
- .cls-1 {
5
- fill: #7ccc66;
6
- }
7
-
8
- .cls-2 {
9
- fill: #f9dc6a;
10
- }
11
-
12
- .cls-3 {
13
- fill: #fff;
14
- }
15
-
16
- .cls-4 {
17
- fill: #f27979;
18
- }
19
- </style>
20
- </defs>
21
- <rect id="矩形_683_拷贝_3" data-name="矩形 683 拷贝 3" class="cls-1" width="39" height="9"/>
22
- <rect id="矩形_683_拷贝_3-2" data-name="矩形 683 拷贝 3" class="cls-2" x="39" width="8" height="9"/>
23
- <rect id="矩形_686_拷贝_4" data-name="矩形 686 拷贝 4" class="cls-3" x="37" width="1" height="9"/>
24
- <rect id="矩形_686_拷贝_4-2" data-name="矩形 686 拷贝 4" class="cls-3" x="35" width="1" height="9"/>
25
- <rect id="矩形_686_拷贝_4-3" data-name="矩形 686 拷贝 4" class="cls-3" x="33" width="1" height="9"/>
26
- <rect id="矩形_686_拷贝_4-4" data-name="矩形 686 拷贝 4" class="cls-3" x="31" width="1" height="9"/>
27
- <rect id="矩形_683_拷贝_3-3" data-name="矩形 683 拷贝 3" class="cls-4" x="46" width="8" height="9"/>
28
- </svg>
1
+ <svg
2
+ xmlns="http://www.w3.org/2000/svg"
3
+ xmlns:xlink="http://www.w3.org/1999/xlink"
4
+ width="54px" height="17px">
5
+ <path fill-rule="evenodd" fill="rgb(124, 204, 102)"
6
+ d="M-0.000,-0.000 L39.000,-0.000 L39.000,8.000 L-0.000,8.000 L-0.000,-0.000 Z"/>
7
+ <path fill-rule="evenodd" fill="rgb(249, 220, 106)"
8
+ d="M39.000,-0.000 L47.000,-0.000 L47.000,8.000 L39.000,8.000 L39.000,-0.000 Z"/>
9
+ <path fill-rule="evenodd" fill="rgb(255, 255, 255)"
10
+ d="M37.000,-0.000 L38.000,-0.000 L38.000,8.000 L37.000,8.000 L37.000,-0.000 Z"/>
11
+ <path fill-rule="evenodd" fill="rgb(255, 255, 255)"
12
+ d="M35.000,-0.000 L36.000,-0.000 L36.000,8.000 L35.000,8.000 L35.000,-0.000 Z"/>
13
+ <path fill-rule="evenodd" fill="rgb(255, 255, 255)"
14
+ d="M33.000,-0.000 L34.000,-0.000 L34.000,8.000 L33.000,8.000 L33.000,-0.000 Z"/>
15
+ <path fill-rule="evenodd" fill="rgb(255, 255, 255)"
16
+ d="M31.000,-0.000 L32.000,-0.000 L32.000,8.000 L31.000,8.000 L31.000,-0.000 Z"/>
17
+ <path fill-rule="evenodd" fill="rgb(242, 121, 121)"
18
+ d="M46.000,-0.000 L54.000,-0.000 L54.000,8.000 L46.000,8.000 L46.000,-0.000 Z"/>
19
+ <path fill-rule="evenodd" fill="rgb(124, 204, 102)"
20
+ d="M-0.000,9.000 L39.000,9.000 L39.000,17.000 L-0.000,17.000 L-0.000,9.000 Z"/>
21
+ <path fill-rule="evenodd" fill="rgb(249, 220, 106)"
22
+ d="M39.000,9.000 L47.000,9.000 L47.000,17.000 L39.000,17.000 L39.000,9.000 Z"/>
23
+ <path fill-rule="evenodd" fill="rgb(255, 255, 255)"
24
+ d="M37.000,9.000 L38.000,9.000 L38.000,17.000 L37.000,17.000 L37.000,9.000 Z"/>
25
+ <path fill-rule="evenodd" fill="rgb(255, 255, 255)"
26
+ d="M35.000,9.000 L36.000,9.000 L36.000,17.000 L35.000,17.000 L35.000,9.000 Z"/>
27
+ <path fill-rule="evenodd" fill="rgb(255, 255, 255)"
28
+ d="M33.000,9.000 L34.000,9.000 L34.000,17.000 L33.000,17.000 L33.000,9.000 Z"/>
29
+ <path fill-rule="evenodd" fill="rgb(255, 255, 255)"
30
+ d="M31.000,9.000 L32.000,9.000 L32.000,17.000 L31.000,17.000 L31.000,9.000 Z"/>
31
+ <path fill-rule="evenodd" fill="rgb(242, 121, 121)"
32
+ d="M46.000,9.000 L54.000,9.000 L54.000,17.000 L46.000,17.000 L46.000,9.000 Z"/>
33
+ </svg>
@@ -537,19 +537,19 @@ export default {
537
537
  }
538
538
  .transMiddleCrossImg2 {
539
539
  -webkit-transform-origin-y: 0;
540
- transform: scale(0.38);
540
+ transform: scale(0.27);
541
541
  margin-top: -1.5%;
542
542
  padding: 0PX;
543
543
  }
544
544
  .transMiddleCrossImg3 {
545
545
  -webkit-transform-origin-y: 0;
546
- transform: scale(0.32);
546
+ transform: scale(0.22);
547
547
  margin-top: -1%;
548
548
  padding: 0PX;
549
549
  }
550
550
  .transMiniCrossImg {
551
551
  -webkit-transform-origin-y: 0;
552
- transform: scale(0.28);
552
+ transform: scale(0.18);
553
553
  margin-top: -1.6%;
554
554
  padding: 0PX;
555
555
  }
@@ -342,19 +342,19 @@ export default {
342
342
  }
343
343
  .transMiddleCrossImg2 {
344
344
  -webkit-transform-origin-y: 0;
345
- transform: scale(0.38);
345
+ transform: scale(0.27);
346
346
  margin-top: -1.5%;
347
347
  padding: 0PX;
348
348
  }
349
349
  .transMiddleCrossImg3 {
350
350
  -webkit-transform-origin-y: 0;
351
- transform: scale(0.32);
351
+ transform: scale(0.22);
352
352
  margin-top: -1%;
353
353
  padding: 0PX;
354
354
  }
355
355
  .transMiniCrossImg {
356
356
  -webkit-transform-origin-y: 0;
357
- transform: scale(0.28);
357
+ transform: scale(0.18);
358
358
  margin-top: -1.6%;
359
359
  padding: 0PX;
360
360
  }
@@ -327,7 +327,7 @@ export default {
327
327
  }, {
328
328
  id: 24,
329
329
  permission: 'configer:manual:preempt',
330
- iconClass: 'prioritycontrol'
330
+ iconClass: 'tentativeplan'
331
331
  }, {
332
332
  id: 25,
333
333
  permission: 'configer:manual:optimize',
@@ -540,16 +540,12 @@ export default {
540
540
  patternCommit (manualInfo) {
541
541
  let that = this
542
542
  let control = {}
543
- if (that.preselectModel === -1) {
544
- this.$message.error(this.$t('openatccomponents.overview.noselectcontroltip'))
545
- return
546
- }
547
543
  that.ParamsMode.forEach(function (value, key, map) {
548
544
  if (that.controlData.mode === value) {
549
545
  control.mode = key
550
546
  }
551
547
  })
552
- control.control = that.preselectModel
548
+ control.control = that.preselectModel === -1 ? that.currModel : that.preselectModel
553
549
  // control.terminal = isNaN(parseInt(manualInfo.tempPatternid)) ? Number(manualInfo.tempPatternid.replace(/[^0-9]/ig, '')) : manualInfo.tempPatternid
554
550
  control.terminal = Number(manualInfo.tempPatternid)
555
551
  control.delay = Number(manualInfo.tempDelay)
@@ -135,21 +135,21 @@
135
135
  }
136
136
  .transMiddleCrossImg2 {
137
137
  -webkit-transform-origin-y: 0;
138
- transform: scale(0.38);
138
+ transform: scale(0.27);
139
139
  margin-top: -1.5%;
140
140
  padding: 0PX;
141
141
  // zoom: 0.25;
142
142
  }
143
143
  .transMiddleCrossImg3 {
144
144
  -webkit-transform-origin-y: 0;
145
- transform: scale(0.32);
145
+ transform: scale(0.22);
146
146
  margin-top: -1%;
147
147
  padding: 0PX;
148
148
  // zoom: 0.25;
149
149
  }
150
150
  .transMiniCrossImg {
151
151
  -webkit-transform-origin-y: 0;
152
- transform: scale(0.28);
152
+ transform: scale(0.18);
153
153
  margin-top: -1.6%;
154
154
  padding: 0PX;
155
155
  // zoom: 0.25;
@@ -161,7 +161,7 @@
161
161
  width:25%;
162
162
  height:50px;
163
163
  color: $--color-text-primary;
164
- font-size:30px;
164
+ font-size:30PX;
165
165
  }
166
166
  .modeText {
167
167
  position:absolute;
@@ -170,7 +170,7 @@
170
170
  width:25%;
171
171
  height:50px;
172
172
  color: $--color-text-primary;
173
- font-size:30px;
173
+ font-size:30PX;
174
174
  }
175
175
  .stateText {
176
176
  position:absolute;
@@ -179,6 +179,6 @@
179
179
  width:25%;
180
180
  height:50px;
181
181
  color: $--color-text-primary;
182
- font-size:30px;
182
+ font-size:30PX;
183
183
  }
184
184
  }
@@ -1,21 +0,0 @@
1
- <svg id="优先控制" xmlns="http://www.w3.org/2000/svg" width="54" height="29.12" viewBox="0 0 54 29.12">
2
- <defs>
3
- <style>
4
- .cls-1, .cls-3 {
5
- fill: #7ccc66;
6
- }
7
-
8
- .cls-2 {
9
- fill: #f27979;
10
- }
11
-
12
- .cls-3 {
13
- fill-rule: evenodd;
14
- }
15
- </style>
16
- </defs>
17
- <rect id="矩形_3708_拷贝_8" data-name="矩形 3708 拷贝 8" class="cls-1" x="20.6" y="15.81" width="33.4" height="9"/>
18
- <rect id="矩形_3708_拷贝_8-2" data-name="矩形 3708 拷贝 8" class="cls-2" y="15.81" width="20.78" height="9"/>
19
- <path id="形状_3710_拷贝_4" data-name="形状 3710 拷贝 4" class="cls-3" d="M2441.42,1012.4h1.8v17.71h-1.8V1012.4Z" transform="translate(-2421.31 -1001)"/>
20
- <path id="形状_2767_拷贝_5" data-name="形状 2767 拷贝 5" class="cls-3" d="M2434,1007.87a1.582,1.582,0,1,0,1.39,1.57A1.491,1.491,0,0,0,2434,1007.87Zm0,2.67a1.109,1.109,0,1,1,.97-1.1A1.037,1.037,0,0,1,2434,1010.54Zm13.69-2.67a1.58,1.58,0,1,0,1.4,1.57A1.491,1.491,0,0,0,2447.69,1007.87Zm0,2.67a1.107,1.107,0,1,1,.98-1.1A1.043,1.043,0,0,1,2447.69,1010.54Zm4.59-9.55h-22.21a1.517,1.517,0,0,0-1.42,1.6v2.77l-0.65.33v3.14a0.494,0.494,0,0,0,.46.52h3.67a1.876,1.876,0,1,1,3.74,0h9.95a1.88,1.88,0,1,1,3.75,0h1.24c1.19-.32,3.23-0.87,4.19-1.11v-4.2A2.9,2.9,0,0,0,2452.28,1000.99Zm-20.84,6.96a0.571,0.571,0,0,1-.53.6h-0.82a0.572,0.572,0,0,1-.54-0.6v-5.09a0.575,0.575,0,0,1,.54-0.61h0.82a0.574,0.574,0,0,1,.53.61v5.09Zm5.69-3.41a0.381,0.381,0,0,1-.36.4h-3.96a0.38,0.38,0,0,1-.35-0.4v-1.91a0.38,0.38,0,0,1,.35-0.4h3.96a0.381,0.381,0,0,1,.36.4v1.91Zm5.38,0a0.381,0.381,0,0,1-.36.4h-3.96a0.38,0.38,0,0,1-.35-0.4v-1.91a0.38,0.38,0,0,1,.35-0.4h3.96a0.381,0.381,0,0,1,.36.4v1.91Zm5.38,0a0.38,0.38,0,0,1-.35.4h-3.96a0.381,0.381,0,0,1-.36-0.4v-1.91a0.381,0.381,0,0,1,.36-0.4h3.96a0.38,0.38,0,0,1,.35.4v1.91Zm5.38,0a0.38,0.38,0,0,1-.35.4h-3.96a0.381,0.381,0,0,1-.36-0.4v-1.91a0.381,0.381,0,0,1,.36-0.4h3.96a0.38,0.38,0,0,1,.35.4v1.91Z" transform="translate(-2421.31 -1001)"/>
21
- </svg>