openatc-components 0.1.47 → 0.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openatc-components",
3
- "version": "0.1.47",
3
+ "version": "0.1.49",
4
4
  "description": "A Vue.js project",
5
5
  "author": "openatc developer",
6
6
  "private": false,
@@ -1184,6 +1184,10 @@ const en = {
1184
1184
  'westward': 'Westward',
1185
1185
  'southward': 'Southward',
1186
1186
  'northward': 'Northward',
1187
+ 'NE': 'NE',
1188
+ 'SE': 'SE',
1189
+ 'SW': 'SW',
1190
+ 'NW': 'NW',
1187
1191
  'etped': 'East-Top',
1188
1192
  'ebped': 'East-Bottom',
1189
1193
  'wtped': 'West-Top',
@@ -1183,6 +1183,10 @@ const zh = {
1183
1183
  'westward': '西向',
1184
1184
  'southward': '南向',
1185
1185
  'northward': '北向',
1186
+ 'NE': '东北',
1187
+ 'SE': '东南',
1188
+ 'SW': '西南',
1189
+ 'NW': '西北',
1186
1190
  'etped': '东向-上',
1187
1191
  'ebped': '东向-下',
1188
1192
  'wtped': '西向-上',
@@ -39,6 +39,10 @@
39
39
  <el-radio :label="2">{{$t('openatccomponents.channelizationmap.westward')}}</el-radio>
40
40
  <el-radio :label="3">{{$t('openatccomponents.channelizationmap.southward')}}</el-radio>
41
41
  <el-radio :label="4">{{$t('openatccomponents.channelizationmap.northward')}}</el-radio>
42
+ <el-radio :label="5">{{$t('openatccomponents.channelizationmap.NE')}}</el-radio>
43
+ <el-radio :label="6">{{$t('openatccomponents.channelizationmap.SE')}}</el-radio>
44
+ <el-radio :label="7">{{$t('openatccomponents.channelizationmap.SW')}}</el-radio>
45
+ <el-radio :label="8">{{$t('openatccomponents.channelizationmap.NW')}}</el-radio>
42
46
  </el-radio-group>
43
47
  </div>
44
48
  </div>
@@ -390,7 +390,7 @@ export default {
390
390
  // ele.direction.forEach((dir, index) => {
391
391
  // 车道相位
392
392
  this.busPhaseData.push({
393
- phaseid: ele.id, // 相位id,用于对应相位状态
393
+ phaseid: ele.id, // 相位did,用于对应相位状态
394
394
  // id: dir, // 接口返回的dir字段,对应前端定义的相位方向id,唯一标识
395
395
  // name: this.PhaseDataModel.getBusPhasePos(dir).name,
396
396
  controltype: ele.controltype
@@ -574,6 +574,20 @@ export default {
574
574
  let nowPattern = this.localPatternList.filter(item => {
575
575
  return item.id === this.controlData.patternid
576
576
  })[0].rings
577
+ for (let rings of this.controlData.rings) {
578
+ for (let sequ of rings.sequence) {
579
+ let split = this.controlData.phase.filter((item) => {
580
+ return item.id === sequ
581
+ })[0].split
582
+ nowPattern.map(d => {
583
+ d.map(r => {
584
+ if (r.id === sequ) {
585
+ r.value = split
586
+ }
587
+ })
588
+ })
589
+ }
590
+ }
577
591
  this.handleOverViewChange(nowPattern)
578
592
  },
579
593
  handleBarrierHeight () { // 屏障高度
@@ -259,6 +259,20 @@
259
259
  .overlap-associated {
260
260
  margin-bottom: 30px;
261
261
  }
262
+ .position {
263
+ .position-options {
264
+ .el-radio-group {
265
+ width: 90%;
266
+ .el-radio {
267
+ margin-bottom: 10PX;
268
+ }
269
+ }
270
+ .el-radio__label {
271
+ display: inline-block;
272
+ width: 80PX;
273
+ }
274
+ }
275
+ }
262
276
  }
263
277
  .phase-associated-component {
264
278
  width: 100%;
@@ -1 +0,0 @@
1
- {}