|
@@ -50,7 +50,7 @@
|
|
<p>当前策略</p>
|
|
<p>当前策略</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <bom-box v-if='Object.keys(chillerCommandQ).length>0' :class='["draw", {"open": showDraw}]' :data='chillerCommandQ' @close='showDraw = false'></bom-box>
|
|
|
|
|
|
+ <bom-box :class='["draw", {"open": showDraw}]' :data='chillerCommandQ' @close='showDraw = false'></bom-box>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -62,7 +62,7 @@ import strategyLine from '@/components/strategyLine'
|
|
export default {
|
|
export default {
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
- showDraw: false,
|
|
|
|
|
|
+ showDraw: true,
|
|
dataX: [],
|
|
dataX: [],
|
|
dataY1: [],
|
|
dataY1: [],
|
|
dataY2: [],
|
|
dataY2: [],
|
|
@@ -76,12 +76,16 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
components: { bomBox, strategyLine },
|
|
components: { bomBox, strategyLine },
|
|
|
|
+ computed:{
|
|
|
|
+
|
|
|
|
+ },
|
|
methods:{
|
|
methods:{
|
|
isShowDraw(){
|
|
isShowDraw(){
|
|
|
|
+
|
|
if((Object.keys(this.chillerCommandQ).length>0 && this.chillerCommandQ.isNew) || (Object.keys(this.chillerCommandQ).length>0 && !this.chillerCommandQ.isExecuted)){
|
|
if((Object.keys(this.chillerCommandQ).length>0 && this.chillerCommandQ.isNew) || (Object.keys(this.chillerCommandQ).length>0 && !this.chillerCommandQ.isExecuted)){
|
|
this.showDraw = true
|
|
this.showDraw = true
|
|
}else{
|
|
}else{
|
|
- this.showDraw = false
|
|
|
|
|
|
+ this.showDraw = false
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|