openatc-components 0.1.9 → 0.1.10

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.
@@ -61,6 +61,7 @@
61
61
  @closePhaseControl="closePhaseControl" />
62
62
  <TentativePlanControlModal
63
63
  v-if="specialPage === 'tentativeplan'"
64
+ :realtimeStatusModalvisible="realtimeStatusModalvisible"
64
65
  :controlData="controlData"
65
66
  :phaseList="phaseList"
66
67
  :overlap="overlap"
@@ -71,6 +72,7 @@
71
72
  />
72
73
  <priorityControl
73
74
  v-if="specialPage === 'prioritycontrol'"
75
+ :realtimeStatusModalvisible="realtimeStatusModalvisible"
74
76
  :phaseList="phaseList"
75
77
  @closePhaseBack="closePhaseBack"
76
78
  @closePhaseControl="closePhaseControl"
@@ -152,6 +152,7 @@ export default {
152
152
  watch: {
153
153
  crossStatusData: {
154
154
  handler: function (val) {
155
+ this.manualInfo.tempPatternid = this.manualInfo.tempPatternid ? this.manualInfo.tempPatternid : val.patternid
155
156
  this.realtimeStage = JSON.parse(JSON.stringify(this.crossStatusData))
156
157
  },
157
158
  // 深度观察监听
@@ -84,10 +84,14 @@
84
84
  </el-form>
85
85
  </el-col>
86
86
  </el-row>
87
- <div class="footer">
87
+ <div class="footer" v-if="realtimeStatusModalvisible">
88
88
  <el-button @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
89
89
  <el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.implement')}}</el-button>
90
90
  </div>
91
+ <div class="footer" v-if="!realtimeStatusModalvisible">
92
+ <el-button @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
93
+ <el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.comfirm')}}</el-button>
94
+ </div>
91
95
  </div>
92
96
  </template>
93
97
 
@@ -101,6 +105,10 @@ export default {
101
105
  xdrdirselector
102
106
  },
103
107
  props: {
108
+ realtimeStatusModalvisible: {
109
+ type: Boolean,
110
+ default: true
111
+ },
104
112
  phaseList: {
105
113
  type: Array
106
114
  }
@@ -151,10 +151,14 @@
151
151
  </el-tab-pane>
152
152
  </el-tabs>
153
153
  </el-row>
154
- <div class="footer">
154
+ <div class="footer" v-if="realtimeStatusModalvisible">
155
155
  <el-button @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
156
156
  <el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.implement')}}</el-button>
157
157
  </div>
158
+ <div class="footer" v-if="!realtimeStatusModalvisible">
159
+ <el-button @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
160
+ <el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.comfirm')}}</el-button>
161
+ </div>
158
162
  </div>
159
163
  </template>
160
164
 
@@ -162,6 +166,10 @@
162
166
  export default {
163
167
  name: 'tentativeplancontrol',
164
168
  props: {
169
+ realtimeStatusModalvisible: {
170
+ type: Boolean,
171
+ default: true
172
+ },
165
173
  controlData: {
166
174
  type: Object
167
175
  },