openatc-components 0.1.15 → 0.1.17

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.
@@ -386,14 +386,14 @@ export default {
386
386
  }],
387
387
  pedSectionCrossingPosList: [{
388
388
  id: 15,
389
- key: 'ewped',
390
- iconclass: 'custom-ewped',
391
- name: this.$t('openatccomponents.channelizationmap.ewped')
392
- }, {
393
- id: 16,
394
389
  key: 'snped',
395
390
  iconclass: 'custom-snped',
396
391
  name: this.$t('openatccomponents.channelizationmap.snped')
392
+ }, {
393
+ id: 16,
394
+ key: 'ewped',
395
+ iconclass: 'custom-ewped',
396
+ name: this.$t('openatccomponents.channelizationmap.ewped')
397
397
  }],
398
398
  detectortypeList: [{
399
399
  id: 1,
@@ -377,7 +377,7 @@ export default {
377
377
  this.patternSelect = res.data.data.param.patternList.map(item => {
378
378
  return {
379
379
  value: item.id,
380
- desc: item.desc ? item.desc : '' + item.id ? item.id : ''
380
+ label: item.desc ? item.desc : '' + item.id ? item.id : ''
381
381
  }
382
382
  })
383
383
  })
@@ -518,7 +518,8 @@ export default {
518
518
  }
519
519
  })
520
520
  control.control = that.preselectModel === -1 ? that.currModel : that.preselectModel
521
- control.terminal = isNaN(parseInt(manualInfo.tempPatternid)) ? Number(manualInfo.tempPatternid.replace(/[^0-9]/ig, '')) : manualInfo.tempPatternid
521
+ // control.terminal = isNaN(parseInt(manualInfo.tempPatternid)) ? Number(manualInfo.tempPatternid.replace(/[^0-9]/ig, '')) : manualInfo.tempPatternid
522
+ control.terminal = Number(manualInfo.tempPatternid)
522
523
  control.delay = Number(manualInfo.tempDelay)
523
524
  control.duration = Number(manualInfo.tempDuration)
524
525
  control.value = that.preselectStages === -1 ? 0 : that.preselectStages
@@ -27,7 +27,8 @@
27
27
  <el-option
28
28
  v-for="item in patternSelect"
29
29
  :key="item.value"
30
- :value="item.desc">
30
+ :label="item.label"
31
+ :value="item.value">
31
32
  </el-option>
32
33
  </el-select>
33
34
  </el-form-item>