openatc-components 0.5.48 → 0.5.50

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.5.48",
3
+ "version": "0.5.50",
4
4
  "description": "A Vue.js project",
5
5
  "author": "openatc developer",
6
6
  "private": false,
@@ -67,6 +67,7 @@
67
67
  class="ring-nums"
68
68
  :ref="'inputNumbers' + item.id"
69
69
  size="small"
70
+ controls-position="right"
70
71
  :controls="false"
71
72
  :min="0"
72
73
  :step="1"
@@ -88,8 +89,10 @@
88
89
  size="small"
89
90
  :min="0"
90
91
  :step="1"
92
+ controls-position="right"
91
93
  v-model.number="item.split"
92
94
  @change="handleEdit(item)"
95
+ style="width: 80px"
93
96
  ></el-input-number>
94
97
  </div>
95
98
  <div style="width:50px;" v-for="(bus,index3) in busPhaseData" :key="index3">
@@ -1656,6 +1659,9 @@ export default {
1656
1659
  if (this.patternList) {
1657
1660
  this.setBarrier(ringTeams, val)
1658
1661
  }
1662
+ if (newRings.length > 1) {
1663
+ this.fillGap(ringTeams, val)
1664
+ }
1659
1665
  if (this.cycleChange) {
1660
1666
  const globalParamModel = this.$store.getters.globalParamModel
1661
1667
  let pattern = globalParamModel.getParamsByType('patternList')
@@ -1665,9 +1671,6 @@ export default {
1665
1671
  } else {
1666
1672
  this.max = ''
1667
1673
  }
1668
- if (newRings.length > 1) {
1669
- this.fillGap(ringTeams, val)
1670
- }
1671
1674
  let barrier = this.step2(ringTeams, newPattern)
1672
1675
  let barrierLeft = barrier.map(item => item)// 屏障左移显示出人行横道
1673
1676
  this.barrierList = barrierLeft.map(j => {