openatc-components 0.4.52 → 0.4.53

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.
@@ -16,7 +16,7 @@
16
16
  <div class="control-model" v-for="(item, index) in PhaseList" :key="index">
17
17
  <div style="position:relative;" :style="{...singleStyle, 'backgroundColor': item[0].bgcolor}" class="single-model" @click="selectLegend(index + 1)" :class="currentStage == index + 1 ? 'single-model-select' : ''">
18
18
  <xdr-dir-selector :Width="dirWidth" :Height="dirHeight" :Widths="dirWidths" :Heights="dirHeights" :Data="showStyle" :Datas="showStyles" :showlist="dirListSetTheme(item)"></xdr-dir-selector>
19
- <div style="display:flex;flex-direction:row;justify-content:center;align-items:end;" :style="{height: StageHeight}">
19
+ <div style="display:flex;flex-direction:row;justify-content:center;align-items:end;">
20
20
  <div class="current-stage-num" style="width:25%;" :style="{color: themeColor, fontSize: numSize}">{{item[0].phaseid}}</div>
21
21
  <div style="width:70%;">
22
22
  <i class="iconfont icon-feijidongche" :style="{color: themeColor, fontSize: iconSize}" style="font-size:11PX;color:#606266;margin-left:10PX" v-if="item[item.length-1].controltype === 6"></i>
@@ -485,6 +485,15 @@ export default {
485
485
  }
486
486
  },
487
487
  watch: {
488
+ platform: {
489
+ handler: function (val1, val2) {
490
+ if (val1 !== val2 && val2 !== undefined) {
491
+ this.changeStatus()
492
+ }
493
+ },
494
+ // 深度观察监听
495
+ deep: true
496
+ },
488
497
  agentId: {
489
498
  handler: function (val1, val2) {
490
499
  if (val1 !== val2) {
@@ -631,6 +640,10 @@ export default {
631
640
  this.isOperation = true
632
641
  if (this.platform !== undefined && this.platform !== 'OpenATC') {
633
642
  this.queryThirdParty()
643
+ } else {
644
+ this.funcSort = 'allFunc'
645
+ this.thirdPartyControlMenu = []
646
+ this.thirdPartyControl = []
634
647
  }
635
648
  this.$refs.ManualControlModalNew.init()
636
649
  },
@@ -10,7 +10,7 @@
10
10
  * See the Mulan PSL v2 for more details.
11
11
  **/
12
12
  <template>
13
- <div style="overflow: hidden;">
13
+ <div class="realtime-panel">
14
14
  <div class="cross-mess">{{$t('openatccomponents.overview.crossinfo')}}</div>
15
15
  <div class="cross-module">
16
16
  <div class="cross-content">