openatc-components 0.2.2 → 0.2.4

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.
@@ -23,7 +23,7 @@
23
23
  <!-- <patternwalksvg :showWalk="item.peddirection" :Width="'32'" :Height="'34'"></patternwalksvg> -->
24
24
  <xdrdirselector Width="60px" Height="60px" Widths="50px" Heights="50px" :showlist="item.direction"></xdrdirselector>
25
25
  </div>
26
- <div class="box" style="position: absolute; left:40px;top: -1px;">
26
+ <div class="box" style="position: absolute; left:40px; width:20px; top: -1px;">
27
27
  <div class="ring-nums">P{{item.id}}</div>
28
28
  <div class="ring-nums">{{item.split}}</div>
29
29
  </div>
@@ -68,7 +68,7 @@
68
68
  <!-- <patternwalksvg :showWalk="list.peddirection" :Width="'32'" :Height="'34'"></patternwalksvg> -->
69
69
  <xdrdirselector v-if="list.direction&&list.direction.length>0" Width="60px" Height="60px" Widths="50px" Heights="50px" :showlist="list.direction"></xdrdirselector>
70
70
  </div>
71
- <div class="box" style="position: absolute; left:41px; top:-1px;">
71
+ <div class="box" style="position: absolute; left:41px; width:20px; top:-1px;">
72
72
  <div class="ring-nums">S{{list.key+1}}</div>
73
73
  <div class="ring-nums">{{list.stageSplit}}</div>
74
74
  </div>
@@ -154,6 +154,13 @@ export default {
154
154
  }
155
155
  },
156
156
  watch: {
157
+ patternSelect: {
158
+ handler: function (val) {
159
+ this.manualInfo.tempPatternid = this.crossStatusData.patternid
160
+ },
161
+ // 深度观察监听
162
+ deep: true
163
+ },
157
164
  crossStatusData: {
158
165
  handler: function (val) {
159
166
  this.manualInfo.tempPatternid = this.manualInfo.tempPatternid ? this.manualInfo.tempPatternid : val.patternid