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/kisscomps/components/DrawChannelization/drawsvg/laneEditPanel.vue +4 -0
- package/package/kisscomps/components/PatternStatus/PatternStatus.vue +15 -1
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/i18n/language/en.js +4 -0
- package/src/i18n/language/zh.js +4 -0
- package/src/kisscomps/components/DrawChannelization/drawsvg/laneEditPanel.vue +4 -0
- package/src/kisscomps/components/PatternStatus/PatternStatus.vue +15 -1
- package/static/styles/channelizatioon.scss +14 -0
- package/src/node_modules/.package_versions.json +0 -1
|
@@ -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, // 相位
|
|
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 () { // 屏障高度
|