openatc-components 0.1.105 → 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.105",
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': '车道方向',
@@ -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
  }
@@ -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
  }